bdhowald / hows_my_driving

Python script to respond to tweets about traffic violations using data about parking and camera violations from https://opendata.cityofnewyork.us/
https://twitter.com/HowsMyDrivingNY
GNU General Public License v3.0
57 stars 5 forks source link

Last scrape / latest data? #7

Open novalis opened 4 months ago

novalis commented 4 months ago

It would be great to show when the most recent data is. So, if someone's last reported ticket was 1/4, and it's now 2/7, I would like to see that the last ticket for anyone in the data set was 1/17, so that I could tell that there were no tickets for this particular plate between 1/4 and 1/17.

Love the site!

jehiah commented 1 week ago

@novalis while some of the data is updated periodically and fairly consistently, this varies depends on who writes the ticket.

Tickets from NYPD Traffic are entered electronically and show up quickly, but some tickets issued by NYPD Precincts take months to show up in the dataset and they show up inconsistently and intermittently depending on when the summonses are scanned and entered in.

Unfortunately we can't really know what still hasn't been entered even knowing the periodic update cycles for the two open data datasets that are used. My best guidance is to wait 90 days to ensure all tickets from a given date have been entered in.