Skip to content

R package for loading and working with the US Census CTPP survey data.

Notifications You must be signed in to change notification settings

marcelo-g-simas/CTPPr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This R package provides direct access to the latest Census Transportation Planning Products (CTPP) datasets. The estimates provided in CTPP tables are some of the only sources available from large-sample survey data that are related to transportation behavior. Learn more about the CTPP and the types of tables available by browsing here and here.

Data

The download function works with two datasets, and our ability to fetch their tables from R depends on the following pages:

2006-2010 5-Year CTPP

2012-2016 5-Year CTPP

Install

Reference the install readme for specific instructions. Most use RStudio Desktop to develop analyses with R.

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

Example 1

# A110101 - HOUSING UNITS SAMPLED [TOTAL] (1) (ALL HOUSING UNITS)
A110101 <- download_ctpp(A110101)

Example 2

# A102106 -	MEANS OF TRANSPORTATION (18) (WORKERS 16 YEARS AND OVER)
A102106 <- download_ctpp(
  id = "A102106",
  dataset = "2016",
  geography = "County",
  state = "Maryland, Virginia",
  output = "FIPS Code"
)

Table Reference

ctpp_tables()

View this list on Github now. Click on a table row to copy an example download request to your clipboard.

Workshop Materials

Looking for a place to start? Go check out our workshop style presentation and the instructions for reproducing it.

About

R package for loading and working with the US Census CTPP survey data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages