import_templates: Import core metadata templates

Description Usage Arguments Details Value

View source: R/import_templates.R

Description

Import template files for storage of core metadata. Some templates are populated with content detected by automated metadata extraction methods. The remainder will have to be manually entered by a human. Instructions for filling out the templates are at https://clnsmth.github.io/EMLassemblyline/articles/instructions.html.

Usage

1
2
3
4
5
6
7
8
import_templates(
      path,
      data.path = path,
      license,
      data.table = NULL,
      x = NULL,
      write.file = TRUE
    )

Arguments

path

(character) Path to where the templates will be imported.

data.path

(character) Path to where the data files are stored.

license

(character) License under which the data will be released. Use "CC0" (https://creativecommons.org/publicdomain/zero/1.0/), or "CCBY" (https://creativecommons.org/licenses/by/4.0/).

data.table

(character) Names of tabular data. Names of non-tabular data are entered as arguments to 'make_eml'.

x

(named list) Alternative input/output to 'EMLassemblyline' functions. Use template_arguments to create 'x'.

write.file

(logical) Write template files to 'path'.

Details

Existing templates will not be overwritten by 'import_templates'.

Value


EDIorg/EMLtools documentation built on May 6, 2019, 3 p.m.