A lot of data has some time element to it, and when we are explicitly trying to understand how time is related to our dependent variable, we’re talking about time series analyses. For this simple illustrative case of modeling alcohol related crimes, I’m interested in how many crimes happen per day. The city of Seattle does a great job of making its data available for public use through a Socrata Open Data API, so we’re going to experiment with some data from there. For simplicity’s sake, I’m going to look at only DUIs and ‘liquor law violations’ as my count of alcohol related crimes, but in reality there are probably other crimes you would want to include. This process and all of the exploratory analyses are documented in a Jupyter Notebook in my GitHub repository.