write_data: Output our final synthetic populations as csv's

Description Usage Arguments Value

View source: R/spew.R

Description

Output our final synthetic populations as csv's

Usage

1
write_data(df, place_id, puma_id, type, output_dir, append = FALSE)

Arguments

df

dataframe with the final synthetic population

place_id

numeric indicating the name of the particular region samples

puma_id

numeric indicating the puma this synthetic population belongs to

type

character vector with the type, either "household" or "people"

output_dir

character containing the directory in which we want to write the final csv's

append

logical determining if we want to append to the current file

Value

data indicating the indices of people to sample


spew documentation built on Nov. 17, 2017, 7:36 a.m.