add_doi_reference: Add DOI-based references to a bib file

View source: R/add_doi_reference.R

add_doi_referenceR Documentation

Add DOI-based references to a bib file

Description

Check if DOIs are present in a bib file passed as an argument, if one or more DOI are missing the associated references are imported and added to the bib file.

Usage

add_doi_reference(doi, bib = "./inSilecoRef.bib")

Arguments

doi

character vector of DOI to import.

bib

character path to master .bib file, default is inSilecoRef.bib, if the file does not exist it will be created.

Examples

# Example 1:
## Not run: 
add_doi_reference(doi = c(
  "10.1016/j.tree.2016.10.011", "10.1890/130230",
  "10.1515/9781400881376"
))

## End(Not run)

inSileco/inSilecoRef documentation built on July 28, 2023, 1:47 a.m.