Description Usage Arguments See Also Examples
This is to be run for an existing state-time_period dashboard project. It creates a new folder with template code. Defaults to placing a "5-data-dive" folder in the working directory (i.e., when state and time_period are NULL).
1 2 3 4 5 6 | setup_data_dive(
state,
period,
analysis_path = file.path("E:/OneDrive - Southwick Associates, Inc/Documents/SA/Projects/Data-Dashboards", state, period),
dive_path = file.path(analysis_path, "code", "5-data-dive")
)
|
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 |
dive_path |
folder for data dive code |
Other functions to update projects:
update_project()
1 | # setup_data_dive("YY", "2019-q4")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.