bcdc_get_citation {bcdata} | R Documentation |
Generate a bibentry from a Data Catalogue Record
Description
Generate a "TechReport" bibentry object directly from a catalogue record.
The primary use of this function is as a helper to create a .bib
file for use
in reference management software to cite data from the B.C. Data Catalogue.
This function is likely to be starting place for this process and manual
adjustment will often be needed. The bibentries are not designed to be
authoritative and may not reflect all fields required for individual
citation requirements.
Usage
bcdc_get_citation(record)
Arguments
record |
either a It is advised to use the permanent ID for a record rather than the
human-readable name to guard against future name changes of the record.
If you use the human-readable name a warning will be issued once per
session. You can silence these warnings altogether by setting an option:
|
See Also
Examples
try(
bcdc_get_citation("76b1b7a3-2112-4444-857a-afccf7b20da8")
)
## Or directly on a record object
try(
bcdc_get_citation(bcdc_get_record("76b1b7a3-2112-4444-857a-afccf7b20da8"))
)