init_data | R Documentation |
Initialize dataset documentation with a datapackage.json
template, based on a
Data Package standard.
init_data(name, title = name, dir = ".", ..., write = TRUE,
overwrite = FALSE, quiet = !interactive())
name |
A unique name for the dataset; allowed characters are |
title |
A display name for the dataset; if not specified, will be a formatted version of |
dir |
Directory in which to save the |
... |
passes arguments to |
write |
Logical; if |
overwrite |
Logical; if |
quiet |
Logical; if |
An invisible list with the content written to the datapackage.json
file.
Add basic information about a dataset with data_add
.
## Not run:
# make a template datapackage.json file in the current working directory
init_data("mtcars", "Motor Trend Car Road Tests")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.