read.bib: Read Metadata Entries

View source: R/read.bib.R

read.bibR Documentation

Read Metadata Entries

Description

Read metadata entries written in BibTeX format.

Usage

read.bib(file)

Arguments

file

*.bib’ file to parse.

Value

List of metadata entries.

Note

This function was created when the bibtex package was temporarily removed from CRAN. The current implementation reduces the TAF package dependencies to base R and nothing else.

This parser is similar to the read.bib function in the bibtex package, except:

  • It returns a plain list instead of class bibentry.

  • The fields bibtype and key are stored as list elements instead of attributes.

See the TAF Wiki page on bib entries.

See Also

taf.boot reads and processes metadata entries.

taf.sources reads metadata entries and adds a type field.

TAF-package gives an overview of the package.

Examples

## Not run: 
bib <- read.bib("DATA.bib")
str(bib)

## End(Not run)


TAF documentation built on March 31, 2023, 6:51 p.m.