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.
The download function works with two datasets, and our ability to fetch their tables from R depends on the following pages:
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')
# A110101 - HOUSING UNITS SAMPLED [TOTAL] (1) (ALL HOUSING UNITS)
A110101 <- download_ctpp(A110101)
# 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"
)
ctpp_tables()
View this list on Github now. Click on a table row to copy an example download request to your clipboard.
Looking for a place to start? Go check out our workshop style presentation and the instructions for reproducing it.