View source: R/template_directories.R
template_directories | R Documentation |
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)
path |
(character) Path to where the data package directory will be created. |
dir.name |
(character) Name of the directory. |
Existing directories named with dir.name
at path
will not
be overwritten.
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.
## Not run:
# Set working directory
setwd("/Users/me/Documents/data_packages")
# For data package 260
template_directories(
path = ".",
dir.name = "pkg_260")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.