Skip to contents

get reference type

Usage

get_reference_type(bib_reference)

Arguments

bib_reference

first line containing the cite reference

Value

reference type (str)

Examples

ref_first_line <- "@book{ihaka:1996,"
ref_type <- rebib::get_reference_type(ref_first_line)
ref_type
#> [1] "book"