View source: R/write_template.R
write_template | R Documentation |
Write a workflow template Rmd file for the capeml workflow
write_template(
scope,
identifier,
path,
overwrite
)
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. |
overwrite |
(logical) indicates to overwrite an existing file if one exists (default = FALSE). |
Existing files with the package name and .Rmd extension at
path
will not be overwritten unless overwrite is made explicit.
A Rmarkdown (Rmd) file named with the project scope and identifier (number).
## Not run:
# Template data package directory "edi.521"
write_template(
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.