Skip to content
Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
PUMS1_dplyr_files/figure-markdown_github Newer examples Jul 18, 2018
PUMS1_files/figure-markdown_github Newer examples Jul 18, 2018
PUMS1_rquery_files/figure-markdown_github Newer examples Jul 18, 2018
download Newer examples Jul 18, 2018
ACS2016_PUMS_README.pdf Newer examples Jul 18, 2018
PUMS1.Rmd Newer examples Jul 18, 2018
PUMS1.md Newer examples Jul 18, 2018
PUMS1_dplyr.Rmd
PUMS1_dplyr.md Newer examples Jul 18, 2018
PUMS1_rquery.Rmd Newer examples Jul 18, 2018
PUMS1_rquery.md Newer examples Jul 18, 2018
PUMSDataDict16.txt Newer examples Jul 18, 2018
PUMSsample.RDS more sure support files are in place Oct 20, 2018
PUMSscatter1.pdf Newer examples Jul 18, 2018
README.md Newer examples Jul 18, 2018
data_dict.csv Newer examples Jul 18, 2018
dpus_std_employee.RDS Newer examples Jul 18, 2018
incomedata.rds smaller income data rds for blog article Jul 7, 2019
makeSubSample.Rmd Added PUMS subsample for chapter 7 Jan 14, 2019
psub.RDS Added PUMS subsample for chapter 7 Jan 14, 2019
ss16hus.RDS Newer examples Jul 18, 2018
ss16hus_h.RDS Newer examples Jul 18, 2018
ss16pus.RDS
ss16pus_h.RDS Newer examples Jul 18, 2018

README.md

Example code and data for "Practical Data Science with R, 2nd Edition" by Nina Zumel and John Mount, Manning 2019.

The code and data in this directory supports examples from:

  • Chapter 2: Loading data into R
  • Chapter 7: Using Linear and Logistic Regression
  • Chapter 9: Exploring Advanced Methods
  • Appendix A: Working with R And Other Tools

This data is derived from the 2016 US Census American Community Survay (ACS) Public Use Microdata Sample (PUMS)

File in this directory

  • README.md : this document
  • ACS2016_PUMS_README.pdf : documentation from the census.
  • PUMSDataDict16.txt : text data dictionary from the census.
  • data_dict.csv : data dictionary converted to a tall table for use.
  • download : directory with scripts for downloading, sampling, and re-coding the census data.
  • PUMSsample.RDS : example sample of households (by census weight) and matching people records.
  • PUMS1.Rmd : R-markdown example slice of census sample.
  • PUMS1.md : markdown output of PUMS1.Rmd.
  • psub.RDS : data result of PUMS1.Rmd.

License for additional documentation, notes, code, and example data:

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

No guarantee, indemnification or claim of fitness is made regarding any of these items.

No claim of license on works of others or derived data.

You can’t perform that action at this time.