Description Usage Arguments Value Examples
Elements of the metadata returned from other functions - such as
license_list
or license_by_keyword
- can be
extracted from the overarching metadata using this collection of functions,
which (respectively) pull out the license ID, license name,
what superseded the license, and what keywords the license has.
1 2 3 4 5 6 7 | extract_id(metadata)
extract_name(metadata)
extract_superseded(metadata)
extract_keywords(metadata)
|
metadata |
a metadata object returned from |
a vector of the appropriate metadata element for each entry
(or a list of vectors in the case of extract_keywords
, since
there can be multiple keywords per license).
1 2 3 | #Get the names of all licenses
all_license_metadata <- license_list()
license_names <- extract_name(all_license_metadata)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.