read_data: Read SPEW input data from files

Description Usage Arguments Value

View source: R/read.R

Description

Based on directory structure for input data on the Olympus computing cluster

Usage

1
2
3
4
read_data(input_dir, folders = list(pop_table = NULL, pums = NULL, shapefiles
  = NULL, roads = NULL, schools = NULL, lookup = NULL, workplaces = NULL),
  data_group = "US", vars = list(household = NA, person = NA),
  verbose = FALSE)

Arguments

input_dir

character vector specifying the ecosystem directory

folders

list containing the subdirectory file-path containing where each type of data is located

data_group

character either "US", "ipums" or "none": Gives the format that read_data expects.

vars

list with household and person variables specifying which PUMS variables to use

verbose

logical determining whether to write output to console

Value

list: Each elements contains a standardized data-source


leerichardson/spew documentation built on May 21, 2019, 1:39 a.m.