Description Usage Arguments See Also Examples
This is intended to be run before data processing for a new state begins.
1 2 3 4 5 6 7 8 9 10 | new_project(
state,
period,
analysis_path = file.path("E:/OneDrive - Southwick Associates, Inc/Documents/SA/Projects/Data-Dashboards", state, period),
sensitive_path = file.path("E:/OneDrive - Southwick Associates, Inc/Documents/SA/Data-Sensitive/Data-Dashboards", state,
paste0("raw-", period)),
production_path = file.path("E:/OneDrive - Southwick Associates, Inc/Documents/SA/Data-Production/Data-Dashboards", state),
template_path = "template",
print_message = "A new license data project has been initialized"
)
|
state |
character: Two letter state designation |
period |
character: Time period for the first project (e.g., "2019-q4", "2020-q4", etc.) |
analysis_path |
character: File path for the analysis |
sensitive_path |
character: File path for the sensitive data. If NULL, no folders will be created. |
production_path |
character: File path for the production data. If NULL, no folders will be created. |
template_path |
character: Name of inst subpath in the package that points to the template files |
print_message |
character: Message to print on success |
Other functions for new projects based on templates:
new_project_individual()
,
new_project_summary()
1 | # new_project("XX", "2019-q4")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.