Functions for parsing .bib files
fread_bib(file.bib)bib2DT(file.bib, to_sort = FALSE)
reorder_bib(file.bib, outfile.bib = file.bib)
.bib
file.
Include only author, title, year, and date.
File to write the reordered bib to. Defaults to file.bib
.
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.