Description Usage Arguments Examples
View source: R/dpr_create_package.R
This function automates the process of building a Github R package with the desired data stored in the 'raw-data' folder.
1 2 3 4 5 6 | dpr_create_package(
package_name,
export_folder = getwd(),
git_remote,
list_data = NULL
)
|
package_name |
is the name of the created data R package. |
export_folder |
is the base folder where the package folder will be created. |
git_remote |
is the 'HTTPS' url of the GitHub remote. |
list_data |
is a list object of named ojbects that can be written to a csv. If NULL then no data writing actions happen. |
1 2 | dd <- read_csv(system.file("extdata", "Draft_vietnam.csv", package = "DataPushR"))
dpr_create_package(list_data = list(dat_draft = dd), package_name = "Test3", export_folder = getwd())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.