get_periods: Helper function to identify files with equal to or lower...

Description Usage Arguments See Also Examples

View source: R/helpers.R

Description

To be called from data_archive

Usage

1
get_periods(files, period)

Arguments

files

vector of files/folders

period

character: Time period for the first project (e.g., "2019-q4", "2020-q4", etc.)

See Also

Other helper functions: replace_params(), setup_project()

Examples

1
2
3
files <- c("raw-2016-q2", "raw-2016-q4", "raw-2016-q4.sqlite3",
           "raw-2017-q2", "raw-2017-q4")
get_periods(files, "2016-q4")

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