Analyzing towed vehicles in Hartford
This repository contains source data and analysis code for the Trend CT story:
The data comes from the Hartford Police Department’s 9–1–1 database and includes details such as:
- Tow firm responsible for towing
- Phone number of tow firm
- Details on vehicle towed such as state, year, make, model, color, and plate
- Address and date of tow
The reasons for being towed and tracked in the database include (but is not indicated as such in the dataset):
- A parking scofflaw (Excessive parking tickets)
- Stolen vehicle or vehicle involved in a crime
- An emergency situation like a water main break or a snow ban
- A tow from a private parking lot
The data is exported into a text file every hour — and from there the data is exported into the portal every hour, which Matt Zagaja scrapes and turned into an app.
What's in this repo
datafolder with raw data and modified data.
tow_analysis.Ris an R script analyzing the datasets and exploratory visualizations.
histograms.Ris an R script that will generates about 500 pngs of histograms illustrating the number of tows per hour per tow location.
slippy_heatmap_json_generator.Ris a script that outputs a json array that was used in a leaflet heatmap but was ultimately not published.
.pngfiles of various chart outputs
We believe in open data. Our scripts may be too technical for the average reader, but we make it accessible because we believe it is important to be as transparent as possible about our methodology so our work can be checked or expanded upon.
Check out the reproducible scripts and data behind many of our other stories in our central repo