cs_load_year is used to load a set of .csv files contained in the given directory. This should be used to load a full year worth of data or a partial year. There should be no more than 12 files in a given path, and all should correspond to the same year. All columns will be read in as character data in order to address inconsistencies in how the data are created. When cs_collapse is executed, variables will be converted numeric when doing so is applicable.

cs_load_year(path)

Arguments

path

A file path

Value

A year-list object containing 12 tibbles - one per month - worth of crime data stored within a list.

Examples

# NOT RUN {
yearList08 <- cs_load_year(path = "data/raw/2008")
# }