RSGInc / travelSurveyTools

An R package to make working with and summarizing household travel survey data easier.
https://rsginc.github.io/travelSurveyTools/
GNU General Public License v3.0
5 stars 1 forks source link

fix argument names and import required packages #42

Closed james-clark-rsg closed 10 months ago

james-clark-rsg commented 10 months ago

closes #26

james-clark-rsg commented 10 months ago

This is the code I used to test if helpful: library(travelSurveyTools)

data("test_data") data("variable_list") data("value_labels")

force(test_data) force(value_labels) force(variable_list)

hts_summary(hts_data = test_data, variables_dt = variable_list, values_dt = value_labels, summarize_var = 'employment', summarize_by = 'race')

hts_filter_data(hts_data = test_data, ids = hh[num_people > 5, hh_id], id_type = 'hh')

hts_find_var('income_detailed')