add_title: Add Title

View source: R/title-element.R

add_titleR Documentation

Add Title

Description

Adds the title elements to a dataset list according to EML standards.

Usage

add_title(parent_element, title_metadata)

Arguments

parent_element

A list representing the EML project or dataset.

title_metadata

A list or dataframe containing a title and shortname: see create_title

Examples

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

CVPIA-OSC/EMLaide documentation built on Aug. 25, 2023, 8:53 a.m.