add_pub_date: Add Publication Date

View source: R/publication-date-element.R

add_pub_dateR Documentation

Add Publication Date

Description

Adds the publication date element to a dataset list according to EML standards.

Usage

add_pub_date(parent_element, date = NULL)

Arguments

parent_element

A list representing the EML project or dataset.

date

The publication date. If left null, it will be assigned the current date. This can be overridden by putting in a specific date: see create_pub_date

Value

The dataset list or project with publication date information appended.

Examples

 
dataset <- list() %>%
    add_pub_date()
dataset

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