create_dataset: create a EML entity of type dataset

View source: R/create_dataset.R

create_datasetR Documentation

create a EML entity of type dataset

Description

create_dataset generates a EML entity of type dataset.

Usage

create_dataset(publication_date = NULL)

Arguments

publication_date

(character) Quoted ISO date - defaults to Sys.Date()

Details

A dataset entity, the central component of a data package, is created from objects in the user's R environment and supporting yaml files. A project (default is LTER) indicates contact and project details specific to the research. The abstract and methods must be in markdown format - package will look for these files (abstract.md, methods.md) in the project directory. Similarly for keywords, the package will look for a keywords.csv file in the project directory.

Value

EML entity of type dataset entity is returned.

Note

create_dataset will look for most inputs used to construct a dataset, such as a package number, in the working environment or from the project config.yaml; these parameters are not passed directly to the function and must exist in the working environment or configuration file(s).


CAPLTER/capeml documentation built on April 3, 2024, 11:17 p.m.