fetch_record_metadata | R Documentation |
Internal handlers to i) ensure there are local copies of record metadata, fetching it from the SAFE project website if needed and ii) load that data from file.
fetch_record_metadata(record_set)
load_record_metadata(record_set)
record_set |
An object of class |
This is the same metadata used to populate the Zenodo description but is downloaded as JSON format and stored within the record directory in the SAFE data directory for reuse.
The fetch_record_metadata
function invisibly returns a
logical value indicating if all records were fetched successfully and
load_record_metadata
returns a list object containing record
metadata
fetch_record_metadata()
: Download and store JSON metadata for
a record
load_record_metadata()
: Load JSON metadata for a record
rec <- validate_record_ids(1400562)
safedata:::fetch_record_metadata(rec)
metadata <- safedata:::load_record_metadata(rec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.