Public Policy Analytics

Code & Context for Data Science in Government

Public Policy Analytics is a new book by Ken Steif, Ph.D that teaches at the intersection of data science and public policy. The book is available online and eventually, in print. Designed for students studying City Planning and related disciplines, the book teaches both code and context toward improved public-sector decision making. Readers can expect an introduction to R, geospatial data science, and machine learning, conveyed through real world use cases of data science in government.

All of the book’s data is free and open source, compiled from across the web. Each chapter includes API calls that read data directly into R. However, for posterity, the DATA folder on this repo has all the data, organized by chapter. The sections below provide a description of each dataset and the original source, when applicable.