make_ref_list: Produce a filtered, cleaned .bib file for an Rmd document

Description Usage Arguments Details Value

View source: R/misc.R

Description

Takes a raw .bib file (e.g., one exported from Mendeley with thousands of entries), filters it to only the citations in the Rmd file, and cleans the references so pandoc won't crash.

Usage

1
make_ref_list(rmd_file, raw_bib, final_bib, exclude = NULL, ...)

Arguments

rmd_file

Path to Rmd file

raw_bib

Path to raw bib file

final_bib

Path to write cleaned, filtered bib file

exclude

Optional character vector of reference IDs to exclude from the final bibliography.

...

Additional named arguments passed to clean_bib that will be used when cleaning the raw bib file.

Details

Note that individual entries in the cleaned bib file may still need additional editing.

Value

Nothing


joelnitta/jntools documentation built on Jan. 17, 2022, 3:05 p.m.