View source: R/source_metadata.R
| source_metadata | R Documentation |
Unknown fields stay NA; nothing is guessed. retrieved_at is
never taken from file modification dates. File hashes are SHA-256 and need
R >= 4.5.0 (tools::sha256sum()); on older R they are NA.
source_metadata(
source,
source_name = source,
files = character(),
release = NA,
release_date = NA,
retrieved_at = NA,
source_url = NA,
licence = NA,
licence_url = NA,
attribution = NA
)
source |
short source id, e.g. "hgnc" |
source_name |
full source name |
files |
paths of the input files that were parsed |
release |
source release label as published, e.g. "5.1" |
release_date |
source release date (Date or "YYYY-MM-DD") |
retrieved_at |
date the files were downloaded (Date or "YYYY-MM-DD") |
source_url |
source download or home page |
licence |
SPDX licence id, e.g. "CC0-1.0" |
licence_url |
licence or terms page |
attribution |
credit or citation sentence the source asks for |
list, the metadata block
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.