bibtex reader

bibtex_reader(x)

Arguments

x

(character) a file path or a bibtex string

Value

an object of class handl; see handl for more

Note

requires package bibtex, an optional package for handlr

See also

Other readers: cff_reader(), citeproc_reader(), codemeta_reader(), ris_reader()

Other bibtex: bibtex_writer()

Examples

if (requireNamespace("bibtex", quietly=TRUE)) { (z <- system.file('extdata/crossref.bib', package = "handlr")) bibtex_reader(x = z) (z <- system.file('extdata/bibtex.bib', package = "handlr")) bibtex_reader(x = z) # many at once (z <- system.file('extdata/bib-many.bib', package = "handlr")) bibtex_reader(x = z) }
#> <handl> #> from: bibtex #> many: TRUE #> count: 2 #> first 10 #> id/doi: