get_license {RNeXML} | R Documentation |
Get license from metadata
Description
Extracts the license annotation from the metadata annotation of thenexml
object, and returns its value.
Usage
get_license(nexml)
Arguments
nexml |
a nexml object |
Details
Currently the implementation looks for cc:license
and dc:rights
annotations. (Note that these may be given with any prefix in the metadata
so long as they expand to the same full property URIs.)
Value
the license if the metadata asserts one that is non-empty, and NA otherwise.If multiple non-empty annotations are found, only the first one is returned.
See Also
[Package RNeXML version 2.4.11 Index]