BetaNYCNYPD Weekly Archive

NYPD's weekly precinct numbers, saved before they are replaced

Every week, NYPD posts traffic and crime statistics for each of the city's 78 precincts on nyc.gov, as Excel and PDF files. The next week's files go up at the same addresses and the old ones are gone. NYPD does not archive these weekly figures as datasets on NYC Open Data, so once a file is replaced, these files are no longer available from the City.

We save a copy of every file each week, turn the spreadsheets into tidy CSV files, and publish both here for anyone to use.

Data from the New York City Police Department. Last file saved .

What we save #

Seven NYPD reports have their own pages below, each replaced every week. We read the list of files from NYPD's own pages on every run, so a new precinct or a renamed file is picked up without anyone editing a list.

SeriesFilesWhat is in it
TrafficStatCitywide, 8 patrol boroughs, 78 precinctsCrashes, injuries and deaths by mode; DWI arrests; parking summonses for double parking, bus stops, bus lanes, crosswalks and bike lanes; moving summonses by vehicle type, including e-bikes, scooters and mopeds. Week to date, 28 days and year to date, each beside the same period a year earlier. NYPD's page.
CompStat78 precincts, 8 patrol boroughsCrime complaints, shootings and hate crimes, with NYPD's two-year and long-range changes. NYPD's page.
Traffic fatalitiesOne per patrol borough, plus Port Authority PoliceTraffic deaths by precinct for 7 days, 28 days and the year to date, against the year before. NYPD's page.
Quality of lifeCitywide and 78 precincts911 and 311 calls about noise, vehicles, such as blocked driveways and double parking, and disorderly behavior. NYPD's page.
Citywide CompStatOne for the whole cityThe CompStat crime report for the whole city: crime complaints, shootings and hate crimes, with NYPD's two-year and long-range changes. NYPD's page.
Department of Correction CompStatOne for the Department of CorrectionThe same weekly crime report, for the Department of Correction. NYPD's page.
NYCHA Housing Bureau reportOne for all public-housing developmentsThe seven major crimes for each public-housing development, by Police Service Area and precinct. We save the files every week and read the spreadsheets into CSV; weeks held only as a PDF are not read yet. NYPD's page.

We also save the crash points behind NYPD's TrafficStat dashboard map, one row per crash with its location, which the dashboard shows only for the current week. The data is here.

What we saved, week by week #

Each report has its own page, with a chart of the weeks we hold, for every precinct or for the one citywide file, and the same facts as a table.

How it works #

A scheduled job runs every Thursday and Saturday. NYPD replaces its files on Mondays and Tuesdays, so both runs land after a week's files are posted and before they are replaced. The job asks nyc.gov only for files that changed, one request at a time.

Each original file is kept exactly as NYPD published it, with its checksum, in the repository's GitHub Releases. The spreadsheets are then reshaped into CSV files with one number per row. If NYPD changes a file's layout, the job stops and says so rather than guess.

For the weeks before the archive started, we download the TrafficStat, CompStat, citywide and Department of Correction CompStat, and NYCHA Housing Bureau files that the Wayback Machine holds and check each against the Wayback Machine's own checksum. For CompStat we also brought in the PDFs Aaron Schumacher saved and the numbers Tim McDermott and Josh Greenman pulled from NYPD's reports; the CompStat page says which came from where.

Use the data #

Not an official record. NYPD calls these figures preliminary and subject to change. BetaNYC reshaped the spreadsheets into one number per row and left out NYPD's "change" columns, which can be worked out from the two years beside them. The original files in the releases are NYPD's, unchanged. For official figures, go to NYPD's statistics pages.