Code for Lecture 1: Python Data Analysis
Thanks to Jeremy Cohen '16 for scraping scripts and data.
A CSV file containing Princeton Public Safety reports from 2006-2009.
The iPython Notebook demonstrated in class that generates plots for various words in narratives.
Contains various scripts used to scrape the Public Safety web site and process data into plain text.
download_logs.py: downloads logs as PDF convert_logs.py: converts logs to plain text files CSV Generation.ipynb: converts plain text files to CSV for data between 2006-2009.