add_method: Add Methods

View source: R/methods-element.R

add_methodR Documentation

Add Methods

Description

Adds the methods metadata elements according to EML standards.

Usage

add_method(parent_element, methods_file)

Arguments

parent_element

A list representing the EML project or dataset.

methods_file

A file containing methods information (word or markdown): see create_method

Value

The dataset list or project with methods information appended.

Examples

methods_file = word_example("methods-template.docx")

dataset <- list() %>%
    add_method(methods_file)
dataset

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