Functions for parsing .bib files
fread_bib(file.bib, check.dup.keys = TRUE, strip.braces = TRUE)bib2DT(file.bib, to_sort = FALSE)
reorder_bib(file.bib, outfile.bib = file.bib)
.bib file.
If TRUE, the default, return error if any bib keys are duplicates.
If TRUE, the default, braces in fields are removed.
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.