View source: R/init_repository.R
init_repository | R Documentation |
Create a repository for a dataset, which may include data documentation and/or a data site.
init_repository(dir, datasets = NULL, init_data = TRUE, init_site = TRUE,
init_git = TRUE, template = "sdad_dashboard", overwrite = FALSE,
quiet = !interactive())
dir |
Directory in which to create the repository's structure. Will be created if it does not exist. |
datasets |
A character vector of dataset names; for each of these, a subdirectory will be made
containing |
init_data |
Logical; if |
init_site |
Logical; if |
init_git |
Logical; if |
template |
A character indicating which site and build template to use, between
|
overwrite |
Logical; if |
quiet |
Logical; if |
Path to the created repository directory.
## Not run:
# initialize repository in the current working directory
init_repository(".")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.