Learn R Programming

TeXCheckR (version 0.2.0)

bib_parser: Functions for parsing .bib files

Description

Functions for parsing .bib files

Usage

fread_bib(file.bib)

bib2DT(file.bib, to_sort = FALSE)

reorder_bib(file.bib, outfile.bib = file.bib)

Arguments

file.bib

.bib file.

to_sort

Include only author, title, year, and date.

outfile.bib

File to write the reordered bib to. Defaults to file.bib.

Details

bib2DT returns a data.table of the entries in file.bib. The function reorder_bib rewrites file.bib, to put it in surname, year, title, line number order.