process_raw_data: Process the Raw Data

Description Usage Arguments Value Examples

View source: R/quantile_estimation_functions_master.R

Description

This function processes the raw model output data

Usage

1
2
3
4
5
6
7
process_raw_data(
  config,
  fnames,
  parallelize = T,
  write_geoid = F,
  geoid_save_location = NULL
)

Arguments

config

aggregation configuration list

fnames

vector of filenames (absolute paths, required)

parallelize

defaults to TRUE, indicates whether or not processing should be done in parallel

write_geoid

defaults to FALSE, indicates whether county level should also be processed

geoid_save_location

this must be provided if write_geoid=TRUE; is path to location for temporary geoid csv

Value

Returns a list of data tables, one at the us/national level (summed over all geoids), and one at the state level (summed over all geoids within each state)

Examples

1
2
process_raw_data(fnames, parallelize=T, write_geoid=F)
process_raw_data(fnames, parallelize=T, write_geoid=T, geoid_save_location="tempfolder/")

lmullany/iddquantiles documentation built on June 21, 2020, 7:28 p.m.