R/template_directories.R
template_directories.Rd
Create a directory structure for data package contents and
EMLassemblyline
files. Any organization scheme is supported. This
is one recommendation.
template_directories(path, dir.name)
(character) Path to where the data package directory will be created.
(character) Name of the directory.
A directory with the following structure and contents:
name Name supplied via dir.name
data_objects Directory for data and other objects to be packaged.
metadata_templates Directory for
EMLassemblyline
template files.
eml Directory for EML files created by
EMLassemblyline
.
run_EMLassemblyline.R An empty R file for
scripting an EMLassemblyline
workflow.
Existing directories named with dir.name
at path
will not
be overwritten.
if (FALSE) {
# Set working directory
setwd("/Users/me/Documents/data_packages")
# For data package 260
template_directories(
path = ".",
dir.name = "pkg_260")
}