use_processing_script | R Documentation |
The Rmd or R file or directory specified by file
will be moved into
the data-raw directory. It will also be added to the yml configuration file.
Any existing file by that name will be overwritten when overwrite is set to TRUE
use_processing_script(
file = NULL,
title = NULL,
author = NULL,
overwrite = FALSE
)
file |
|
title |
|
author |
|
overwrite |
|
invisibly returns TRUE for success. Stops on failure.
if(rmarkdown::pandoc_available()){
myfile <- tempfile()
file <- system.file("extdata", "tests", "extra.Rmd",
package = "DataPackageR")
datapackage_skeleton(
name = "datatest",
path = tempdir(),
code_files = file,
force = TRUE,
r_object_names = "data")
use_processing_script(file = "newScript.Rmd",
title = "Processing a new dataset",
author = "Y.N. Here.")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.