This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#################################################################### | |
## lehdr_explore_2.r | |
## | |
## Stage 2: Explore the Residence Area Characteristics (RAC) and | |
## Work Area Characteristics (WAC) files | |
## | |
## Explore the New (2/4/22) lehdr package. | |
## This package grabs and aggregates LEHD/LODES datasets | |
## | |
## Use purrr package to iterate on multiple years! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######################################################################## | |
# ACS_AllYears_Journey2Work_purrr_revd.r | |
# Use the purrr function map_dfr to iterate tidycensus call for 1-year, 5-year ACS data. | |
# Data on Means of Transportation to Work Variables, All ACS years | |
# Nation and US States and counties and places (added 1/28/22) | |
# | |
# American Community Survey, 1-year, 2005-2019 data | |
# ACS 5-year data: 2005-2009, 2010-2014, 2015-2019 | |
# ACS 5-year data: 2006-2010, 2010-2014, 2015-2019 (this works for B08006....) | |
## ACS 5-year data: 2006-2010, 2011-2015, 2016-2020 @@ should work after 3/17/22. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################### | |
# PL94171_Pennsyl_MCD_20002020.r | |
# Use the R-package TIDYCENSUS to extract PL 94-171 | |
# data from the Year 2000-2020 Decennial Censuses | |
# ALL Pennsylvania MCDs, 2000-2020 | |
# -- March 15, 2022 -- | |
################################################################### | |
# install the current working version of tidycensus | |
# remotes::install_github("walkerke/tidycensus") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################## | |
# CTPPr_1216_Vermont_county2county.r | |
# Use the package CTPPr to get table A302100 from the | |
# 2012-2016 CTPP. | |
# Vermont | |
# County-to-County, and tract-to-tract summarized at County level | |
# -- March 15, 2022 -- | |
################################################################## | |
# Install CTPPr onto local computer.. Just need to do once! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################## | |
# CTPPr_1216_Delaware_county2county.r | |
# Use the package CTPPr to get table A302100 from the | |
# 2012-2016 CTPP. | |
# Delaware | |
# County-to-County, and tract-to-tract summarized at County level | |
# -- February 21, 2022 -- | |
################################################################## | |
# Install CTPPr onto local computer.. Just need to do once! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################## | |
# CTPPr_1216_Alaska_county2county.r | |
# Use Beyond2020 on the web to get table A302100 from the | |
# 2012-2016 CTPP. | |
# Alaska -- For whatever reason, CTPPr doesn't work for Alaska..... | |
# County-to-County, and tract-to-tract summarized at County level | |
# -- March 14, 2022 -- | |
################################################################## | |
# Install CTPPr onto local computer.. Just need to do once! | |
# I'm just not sure about etiquette for updating packages! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################## | |
# CTPPr_1216_Idaho_county2county.r | |
# Use the package CTPPr to get table A302100 from the | |
# 2012-2016 CTPP. | |
# Idaho | |
# County-to-County, and tract-to-tract summarized at County level | |
# -- March 14, 2022 -- | |
################################################################## | |
# Install CTPPr onto local computer.. Just need to do once! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#################################################################### | |
## lehdr_explore_1.r | |
## Explore the New (2/4/22) lehdr package. | |
## This package grabs and aggregates LEHD/LODES datasets | |
## | |
## Use purrr package to iterate on multiple years! | |
## Use dplyr package to sort dataframe and re-order columns | |
## | |
## Now I know my ABCs.... | |
## LED = Local Employment Dynamics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######################################################### | |
# CTPPr_1216_Calif_Place_VHH_HHSize_Tenure.r | |
# Use the package CTPPr to get table A112309 from the | |
# 2012-2016 CTPP. This is used instead of going to | |
# Beyond 2020 to download a CSV file..... | |
# | |
# "Three-Way CTPP Table" | |
# | |
# A112309 = Households by Household Size (5) by | |
# Vehicles Available (5) by |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######################################################################## | |
# ACS_AllYears_Journey2Work_purrr.r | |
# Use the purrr function map_dfr to iterate tidycensus call for 1-year, 5-year ACS data. | |
# Data on Means of Transportation to Work Variables, All ACS years | |
# Nation and US States and counties and places (added 1/28/22) | |
# | |
# American Community Survey, 1-year, 2005-2019 data | |
# ACS 5-year data: 2005-2009, 2010-2014, 2015-2019 | |
# ACS 5-year data: 2006-2010, 2010-2014, 2015-2019 (this works for B08006....) | |
## ACS 5-year data: 2006-2010, 2011-2015, 2016-2020 @@ should work after 3/17/22. |