Adds citation details to a metadata file for given study

metadata_add_source_bibtex(
  dataset_id,
  file,
  type = "primary",
  drop = c("dateobj", "month")
)

Arguments

dataset_id

Identifier for a particular study in the database

file

Name of file where reference is saved

type

Type of reference: primary, secondary or original (or original_01, original_02, etc., for multiple sources)

drop

Variables in bibtex to ignore

Value

metadata.yml file with citation details added