View source: R/add.data.script.R
add.data.script | R Documentation |
Download an ‘R’ file from the ICES datasets repo to fetch data including adding metadata via roxygen2 fields to the top of the file.
add.data.script(name, install.deps = TRUE, commit = FALSE)
name |
the name of the dataset. |
install.deps |
install packages used in the script if not already installed. |
commit |
should the boot script be added and committed to the analysis. |
## Not run:
# Create boot folder
mkdir(taf.boot.path())
# Create boot script, boot/mydata.R
add.data.script(name = "vms")
# Create metadata, boot/DATA.bib
taf.roxygenise(files = "vms.R")
# Run boot script, creating boot/data/vms/...
taf.boot()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.