add_title.Rd
Adds the title elements to a dataset list according to EML standards.
add_title(parent_element, title_metadata)
A list representing the EML project or dataset.
A list or dataframe containing a title and shortname: see create_title
title_metadata <- list(title = "Eight Mile Lake Research Watershed, Carbon in Permafrost Experimental Heating Research.",
short_name = "knb-lter-bnz.501.17")
dataset <-list() %>%
add_title(title_metadata)
dataset
#> $title
#> [1] "Eight Mile Lake Research Watershed, Carbon in Permafrost Experimental Heating Research."
#>
#> $shortName
#> [1] "knb-lter-bnz.501.17"
#>