Needed files:
main code.R
library.R (to install packages)
psam_h06.csv (Census data, NOT IN REPOSITORY due to size, download at https://www2.census.gov/programs-surveys/acs/data/pums/2019/5-Year/csv_hca.zip)
Make sure to modify 'main code.R' to set working directory to where you downloaded repository (fill in blank in 'setwd(_____)')
Helpful file for understanding Census data: PUMS_Data_Dictionary_2015-2019.pdf (also available at https://www2.census.gov/programs-surveys/acs/tech_docs/pums/data_dict/PUMS_Data_Dictionary_2015-2019.pdf)
To modify to use with other geographic areas in California than shown here, consult list of 2010 Public Use Microdata Areas (PUMAs) at https://www.census.gov/geographies/reference-maps/2010/geo/2010-pumas/california.html