Skip to content

marcelo-g-simas/summarizeNHTS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"An open-source, survey-specific toolkit capable of processing weighted data, computing common statistics and errors, and producing interactive web visualizations will increase transparency in analyses, eliminate common technical stumbling blocks, and ultimately attract more interest to these powerful datasets." - summarizeNHTS Team

To read more about the National Household Travel Survey, visit this documentation page.

Data

This package handles the downloading, organizing, and loading of NHTS datasets for you. It reads directly from the Oak Ridge National Laboratory NHTS data page, and currently supports the 2001, 2009, and 2017 surveys.

Install

Reference the install readme for specific instructions. We recommend using RStudio Desktop to develop analyses with this package. Your computer should have at least 8GB of memory and a recent 64 bit version of R.

install.packages('devtools')
devtools::install_github('Westat-Transportation/summarizeNHTS')

Demo

library(summarizeNHTS)
download_nhts_data("2017", exdir="C:/NHTS")
dataset <- read_data("2017", csv_path="C:/NHTS")
statistic <- summarize_data(
    data = dataset,
    agg = "household_count",
    by = c("HHSIZE","HHVEHCNT")
)
make_chart(statistic)

Extended Demo

Review our tutorial workshop, Exploring the NHTS in R, for more guidance on using this package.

Trend Analysis

Analyze trends from year-to-year with statistical confidence using a multi-year report generator that utilizes summarizeNHTS. Review the demo report and generate your own using the program available here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published