View source: R/datacommons_refresh.R
datacommons_refresh | R Documentation |
Clone and/or pull repositories that are part of a data commons project.
datacommons_refresh(dir, clone_method = "http",
include_distributions = FALSE, refresh_distributions = FALSE,
only_new = FALSE, reset_repos = FALSE, reset_on_fail = FALSE,
rescan_only = FALSE, run_checks = TRUE, dataset_map = "region_type",
force_value_check = FALSE, verbose = TRUE)
dir |
Directory of the data commons projects, as created by |
clone_method |
Means of cloning new repositories; either |
include_distributions |
Logical; if |
refresh_distributions |
Logical; if |
only_new |
Logical; if |
reset_repos |
Logical; if |
reset_on_fail |
Logical; if |
rescan_only |
Logical; if |
run_checks |
Logical; if |
dataset_map |
A named vector of ID to dataset mappings to pass to |
force_value_check |
Logical; if |
verbose |
Logical; if |
An invisible character vector of updated repositories.
## Not run:
# refresh from a data commons working directory
datacommons_refresh(".")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.