View source: R/write_directory.R
write_directory | R Documentation |
Create a directory structure for data package contents and
capeml
files.
write_directory(
scope,
identifier,
path
)
scope |
(character) Quoted name of the package scope (e.g., "edi"). The default is "knb-lter-cap". |
identifier |
(integer) Data package identifier (number). |
path |
(character) Path to where the config file will be written. Defaults to the current directory. |
Existing directories named with data package name
at
path
will not be overwritten.
A directory with the following structure and contents:
name Name supplied via scope
and identifier
config.yaml configuration file
data package name
.Rmd workflow template
## Not run:
# Template data package directory "edi.521"
capeml::write_directory(
scope = "edi",
identifier = 521,
path = '~/Desktop'
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.