Skip to contents

Adds or updates bibliography information in a boilerplate database.

Usage

boilerplate_add_bibliography(db, url, local_path = NULL, validate = TRUE)

Arguments

db

Database object

url

URL to the bibliography file

local_path

Local filename to use when copying (default: basename of URL)

validate

Whether to validate citations on updates

Value

Updated database object

Examples

if (FALSE) { # \dontrun{
db <- boilerplate_import()
db <- boilerplate_add_bibliography(
  db,
  url = "https://raw.githubusercontent.com/go-bayes/templates/main/bib/references.bib",
  local_path = "references.bib"
)
boilerplate_save(db)
} # }