setup_data_dive: Setup data dive template

Description Usage Arguments See Also Examples

View source: R/update.R

Description

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).

Usage

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")
)

Arguments

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

See Also

Other functions to update projects: update_project()

Examples

1
# setup_data_dive("YY", "2019-q4")

southwick-associates/lictemplate documentation built on Jan. 10, 2022, 6:44 p.m.