add_license: Add License

View source: R/intellectual-rights-element.R

add_licenseR Documentation

Add License

Description

Adds the license element to a dataset list according to EML standards.

Usage

add_license(parent_element, license_metadata)

Arguments

parent_element

A list representing the EML project or dataset.

license_metadata

A table or list containing license metadata: see create_license

Value

The dataset list or project with intellectual rights information appended.

Examples

license_metadata = list(default_license = "CCBY")
dataset <- list() %>%
    add_license(license_metadata)
dataset

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