Skip to contents

Reading BibTeX databases and importing into R as a data frame. All the fields will be inserted as character values.

Usage

read_bib(x, ...)

Arguments

x

Path to BibTeX file.

...

Further arguments passed to readLines().

Value

An object of class lib_df.

Examples

Refs <- read_bib(x = file.path(
  path.package("biblio"),
  "LuebertPliscoff.bib"
))
Refs
#> Object of class 'lib_df'
#> 
#> Number of references: 1701
#> Number of variables: 23
#> Duplicated entries: 0