Add a Living Norway metadata tag corresponding to the purpose EML element
Source:R/LNTagFunctions.R
LNpurpose.Rd
Add a Living Norway metadata tag corresponding to the purpose EML element
Arguments
- tagText
A
character
scalar containing the text to encolse in the tag- tagID
A
character
scalar containing a unique identifier for the tag element. If the parameter isNA
then a UUID will be generated- parentID
A
character
scalar containing the ID for the parent tag (if there is one).NA
denotes that there is no parent for the tag- isHidden
A
logical
scalar that, ifTRUE
, denotes that the text should be hidden when rendered- lang
A
character
scalar defining the language attribute to set for the tag. See https://www.w3.org/International/articles/language-tags/the W3C guide to language tags for the best format to use for this attribute. A valueNA
indicates that no langauge attribute will be set.
Value
A character
scalar containing the rendered output including any HTML tags if a
HTML document is being knitted
Author
Joseph D. Chipperfield, joechip90@googlemail.com; Matthew Grainger, matthew.grainger@nina.no