setup_project: Helper function for setting up project code

Description Usage Arguments See Also

View source: R/helpers.R

Description

Only intended to be run from other functions: (new_project), etc. It does some error checking and sets up analysis/data folders.

Usage

1
setup_project(state, period, analysis_path, sensitive_path, production_path)

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

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.

See Also

Other helper functions: get_periods(), replace_params()


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