NYC Subway Crime Rates and Ridership, 1998–2026
NYPD subway complaints by month, day, hour and station since 2014, with the rides to divide them by; transit-system felonies since fiscal 1998
No synthetic records. Complaints and arrests come from NYPD records; fare-evasion shares are MTA estimates. Monthly paid rides before March 2020 are modelled from official yearly totals, and total entries are estimated throughout. Check paid_rides_method and data_dictionary.csv before using a rate.
- Records
- Administrative records
- Covers
- Subway complaints by month, day, hour and station, January 2014 to June 2026 (June still in its reporting window); paid rides by month July 1997 to September 2026 and by day from March 2020; station entries by month, day and hour from February 2017 (by station complex to February 2026); Transit arrests January 2014 to June 2026; transit-system major felonies by fiscal year 1998 to 2026.
- Place
- New York City subway (NYPD premises 'TRANSIT - NYC SUBWAY'), by station complex; the fiscal series counts the whole transit system, and the context file the whole city and its buses
- Version
- 2.2,
- Licence
- Mixed: CC BY 4.0 for what we added; the government's records under their publishers' terms; code MIT (LICENSE.md)
- Built for
- Per subway ride, major felonies fell for thirty years. Felony assault broke from the fall. (version 1.0)
NYPD complaints recorded in the New York City subway, January 2014 to June 2026, paired with MTA ridership so that counts can be read as rates on three denominators: paid rides, the MTA's station entries, and estimated entries, paid or not. Complaints come by month, day, hour, station and victim group, and one row per complaint for learning; a separate series covers major felonies across the whole transit system back to fiscal 1998. Start with subway_crime_monthly.csv, which already holds counts, rides and rates.
Start here
Open subway_crime_monthly.csv first. Each row is a month, by the month the crime began, with counts, rides and rates already in it, so no join is needed to start. Compare *_per_m_paid (per million paid rides) with *_per_m_entries (per million estimated entries, paid or not). For a recent comparison use January to May, not June 2026, which is still in its reporting window. The example works out the January-to-May felony-assault rate for 2019, 2025 and 2026 both ways; notebook_a_beginner.ipynb takes it further, with station entries as a third denominator, and GUIDE.md says how every file joins.
import pandas as pd
m = pd.read_csv("subway_crime_monthly.csv", dtype={"month": "string", "reporting_window_mature": "boolean",
"paid_rides": "Int64", "entries_est": "Int64",
"late_reports_all": "Int64", "late_reports_six_major": "Int64"})
# January-May rate for each year: total complaints divided by total rides or entries,
# not the mean of monthly rates; a window with any missing entries stays missing
w = m[m["month"].str[5:].isin(["01", "02", "03", "04", "05"])]
g = w.groupby("year").agg(felony_assault=("felony_assault", "sum"), paid=("paid_rides", "sum"),
entries=("entries_est", lambda x: x.sum() if x.notna().all() else pd.NA))
g["per_m_paid"] = 1e6 * g["felony_assault"] / g["paid"]
g["per_m_entries"] = 1e6 * g["felony_assault"] / g["entries"].astype("Float64")
print(g.loc[[2019, 2025, 2026]].round(2))
It prints:
felony_assault paid entries per_m_paid per_m_entries
year
2019 157 702461957 730969778 0.22 0.21
2025 267 523745387 580922734 0.51 0.46
2026 272 537074361 599623313 0.51 0.45
How the files join, in short:
- Join
subway_ridership_monthly.csvandcity_context_monthly.csvtosubway_crime_monthly.csvonmonth: one row each per month, January 2014 to June 2026. - For
subway_crime_daily.csvandsubway_crime_by_hour.csv, first add up the complaint counts bymonth; fortransit_arrests_monthly.csv, add uparrestsbymonth. Then join onmonth. Add up counts, never rates or flags. subway_complaints_by_offence_monthly.csvandsubway_complaints_by_code_monthly.csvjoin the monthly table onmonth, many rows to one.GUIDE.mdhas every join, the terms and the reading notes.
What it shows
Every few months a headline asks whether the subway is safe, and most answers count crimes. A count alone cannot say whether a ride became riskier: the subway carried 1.7 billion paid rides in 2019 and 640 million in 2020, so the same number of crimes meant very different things in the two years. These files put what happened beside how many people entered the system in the same period, with the context a careful reader asks for next: recorded crime across the whole city and on its buses, Transit arrests, the shelter census, the weather, and a dated list of the laws, policing announcements and service changes that bear on the series.
Three things make them more than a table of rates. The denominator: the MTA counts paid rides, and the unpaid share more than doubled after 2019, so that choice alone moves a comparison. Recording: a complaint records police work as well as crime, and theft of services, the offence that covers fare evasion, shows how far the two can part. Modelling: some numbers are counted and some are estimated, and the files say which, row by row.
transit_major_felonies_fiscal.csv).Questions to start with
- Compared with 2019, how have recorded felony rates changed per paid ride, per station entry and per estimated entry? Describes
- Which offences fell with ridership in 2020, and which did not? Describes
- Which station complexes have unusually high recorded complaint rates per entry, and how sure can we be? Describes
- When are recorded complaint rates per entry highest, across the week's 168 hours? Describes
- Fare evasion: what do complaints, arrests, summonses and the MTA's survey each measure? Describes
QUESTIONS.md sets out these five and
21 more, each with why it is worth asking and the files that answer it.
subway_crime_annual.csv).For learning and teaching
subway_complaint_records.csv has one row per complaint, 187,739 of them, with the fields the NYPD publishes and its blanks kept as empty cells, so the missing values are real: a set for classification, encoding and clustering. subway_complaints_classroom.csv is the same complaints made simpler for a first class (the month, borough and district instead of the day, station and coordinates). Three notebooks, run and checked with every release, go from counts against rates (notebook_a_beginner.ipynb) to weekends, hours and rate ratios with their uncertainty (notebook_b_intermediate.ipynb) to ranking stations with intervals and shrinkage (notebook_c_advanced.ipynb). subway_network_edges.csv and subway_stations_reference.csv add the subway itself as a network, with minutes and trains an hour between complexes. The complaint number and the race of victims and suspects are left out on purpose: the files are for learning, not for identifying anyone or modelling race.
Files
Each file's columns are under Columns below and in data_dictionary.csv.
| File | Rows | Size | What it holds |
|---|---|---|---|
| The core: crime and rides by month | |||
subway_crime_monthly.csv |
150 | 36 KB | Subway crime and rides by month, 2014–2026 |
subway_crime_annual.csv |
12 | 3 KB | Subway crime and rides by calendar year, 2014–2025 |
subway_ridership_monthly.csv |
351 | 29 KB | Subway rides by month, 1997–2026 |
fare_evasion_quarterly.csv |
34 | 911 B | Subway fare evasion by quarter, 2018–2026 |
transit_major_felonies_fiscal.csv |
29 | 5 KB | Transit-system major felonies by fiscal year, 1998–2026 |
denominator_comparison.csv |
156 | 16 KB | The headline comparison on three denominators |
| By day, hour and station | |||
subway_crime_daily.csv |
4,564 | 416 KB | Subway crime, rides and weather by day, 2014–2026 |
subway_crime_by_hour.csv |
25,200 | 1.7 MB | Subway crime by hour of the day, 2014–2026 |
subway_stations_annual.csv |
5,551 | 670 KB | Subway crime and entries by station complex and year, 2014–2026 |
subway_station_crosswalk.csv |
2,849 | 247 KB | Station matching: the NYPD's station names to the MTA's station complexes |
subway_stations_2023_2025.csv |
417 | 57 KB | Station complexes over 2023-2025: rates with ranges and shrunk rates for ranking |
subway_network_edges.csv |
1,120 | 75 KB | The subway as a network: every nonstop run between two station complexes |
subway_stations_reference.csv |
496 | 39 KB | The MTA's station list: every station, its complex, place, structure and accessibility |
| What kind of crime, and to whom | |||
subway_complaints_by_offence_monthly.csv |
4,823 | 343 KB | Every subway complaint offence by month, 2014–2026 |
subway_complaints_by_code_monthly.csv |
12,037 | 1.1 MB | Every subway complaint by internal offence code, 2014–2026 |
subway_victims_annual.csv |
3,668 | 174 KB | Subway complaints by victim age group and sex, 2014–2026 |
subway_report_delay_annual.csv |
728 | 34 KB | How long subway crimes took to be reported, 2014–2026 |
| Enforcement and the city around it | |||
transit_arrests_monthly.csv |
9,204 | 646 KB | Arrests in the Transit jurisdiction by month and charge, 2014–2026 |
city_context_monthly.csv |
150 | 14 KB | The city around the subway by month, 2014–2026 |
fare_evasion_measures_quarterly.csv |
50 | 4 KB | Four records of fare evasion by quarter, 2014-2026 |
events.csv |
23 | 6 KB | Law changes, policing announcements and service changes, 1995–2026 |
| Complaint by complaint, for learning and teaching | |||
subway_complaint_records.csv.gz |
187,739 | 6.3 MB | Every subway complaint, one row each, 2014–2026 (gzip; pandas.read_csv reads it as it is) |
subway_complaints_classroom.csv |
187,630 | 25.2 MB | The complaint records for a first class |
notebook_a_beginner.ipynb |
71 KB | Track A, beginner (about an hour): did subway crime become more common after the pandemic? | |
notebook_b_intermediate.ipynb |
26 KB | Track B, intermediate (a few hours): is subway crime more common at weekends and at night? | |
notebook_c_advanced.ipynb |
48 KB | Track C, advanced (a project): which stations have unusually high complaint rates, and how sure are we? | |
| Reference | |||
missing_values.csv |
75 | 10 KB | Every empty cell, counted and explained |
validation_report.md |
4 KB | What the build checked | |
QUESTIONS.md |
16 KB | Twenty-six questions these files can explore | |
data_dictionary.csv |
385 | 59 KB | Data dictionary |
sources.csv |
131 | 78 KB | Sources and provenance |
LICENSE.md |
4 KB | Licence | |
build_dataset.py |
82 KB | The code that builds these files | |
analysis.py |
61 KB | The article's analysis script | |
GUIDE.md |
18 KB | Reading guide | |
README.md |
21 KB | The card | |
Before you use these numbers
These are recorded crimes, not crime. A complaint is a report the police recorded, so counts move with policing as well as with crime. Theft of services, the offence that covers fare evasion, shows how far: 54 subway complaints in 2019 and 13,009 in 2025, while Transit arrests for it went from 2,712 to 12,475. Read it as a record of enforcement. The six major felonies are mostly reported by victims, but not immune.
Monthly rides before March 2020 are modelled. Through December 2019 each year's official total is spread over its months by one inferred pattern; January and February 2020 are 2020's total less the daily figures from March (paid_rides_method). The MTA's station counts give an observed check from February 2017: within 6% of the modelled months, and within 0.4% over January to May 2019.
Seasonal patterns and breaks are partly built in. Before March 2020 every year follows the same monthly pattern, so seasonal variation in rates then partly reflects the denominator, and the change to counted rides coincides with the pandemic. Quarterly fare-evasion estimates are reused for each month of their quarter. Allow for uncertainty in the rides, overdispersion and links between months.
Entries are an estimate on an estimate. entries_est divides paid rides by one minus the MTA's quarterly unpaid share, which has published margins only from 2020 (0.8 to 1.6 points, confidence level not stated) and no estimate for April to June 2020. The one-point scenarios in subway_ridership_monthly.csv are scenarios, not confidence bounds.
Definitions changed. Each year is counted under that year's law: felony assault was widened to more transit workers from 25 September 2022 and 19 July 2024 and to retail workers from 17 October 2024 (felony_assault_widenings_in_force), and rape was redefined by a law signed on 30 January 2024 whose effective date the saved text does not settle. A complaint carries an offence code, not the section charged.
Two places, two sources. The complaint counts are for the subway premises; the fiscal series (major_felonies_transit_system) is the Mayor's Management Report's count for the whole transit system divided by subway rides, a descriptive ratio and not the same count (2,093 against 2,176 for the year to June 2026). Compare within a file, not across them.
The newest months are still in their reporting window. June 2026 has reports only to 30 June 2026, and recent months keep gaining late reports (about 5% of December 2025's felonies were filed in the new year): reporting_window_mature, days_since_period_end and months_window_open say how settled each month or year is. The 109 late reports about earlier years are shown apart (late_reports_all), not added back.
Times and places are approximate. Many start times are rounded to the hour, and 00:01 is more than fifteen times as common as 00:02, the mark of a default (all_complaints_on_the_hour). An hour's entries count arrivals, not people still riding. About 7% of complaints are matched to a station less surely (match in the station-matching table), and a zero in the station table means no complaint was matched there, not that nothing happened.
Station rates are not a rider's risk. A station's rate divides the complaints placed there by the people who entered there, a rate per arrival, since riders change trains and leave elsewhere. Small stations swing by chance: rank on the pooled three-year table with its 90% ranges and shrunk rates, leave out the complexes flagged too small, and do not call a station dangerous from its place in a list.
No murders in the subway premises records. The complaint files hold no murder with the subway as its place, so their "six major felonies" are in practice five; the transit system's few murders are in the fiscal series.
Not a measure of risk to one rider. A rate per ride is an average over very different trips, stations and hours, and nothing here says why a rate moved: the files show what changed alongside it, not what caused it. Policing announcements in events.csv are announcements, not measured effects.
Reading the files
- Empty cells mean unavailable or not applicable, never zero: load counts and rides as nullable integers (pandas
Int64).missing_values.csvexplains every empty cell. - A month, day or hour is when the offence began, not when it was reported;
reporting_window_matureanddays_since_period_endsay how settled each month is. - Every finer table adds up to the monthly table exactly (the record file once its late reports are left out); the build refuses to write any file unless
validation_report.md's checks pass. - The rest, with the terms and every join:
GUIDE.md.
Observed or estimated
Every column of every file is classed in data_dictionary.csv by where its values come from
(observed, published estimate, modelled, derived, or mixed by row)
and by whose they are (government, under the publisher's terms; derived, ours under CC BY 4.0; or mixed).
A row's method column says which applies to it.
How the numbers were made
The complaints are the NYPD's records whose premises is the subway, counted by when the offence began; every finer table adds up to the monthly one, and the record file is the NYPD's extract record for record. Paid rides before March 2020 are modelled from official yearly totals and a 2019 monthly pattern; from March 2020 they are the MTA's daily counts; estimated entries divide them by one minus the MTA's quarterly unpaid share; and the MTA's station counts give a second, observed denominator from February 2017. Stations are matched by place and name, 93% of complaints by name within 300 metres. GUIDE.md has the full method, validation_report.md the checks and build_dataset.py the code.
The full method
The complaint counts are the NYPD's records whose premises is the subway, counted by the month, day and hour the offence began. The monthly counts by offence were retrieved on 26 September 2026, those by offence code on 11 October, and the finer extracts (day, time, report date, codes, station, victim group, and every complaint's descriptive fields) on 19 October. The build checks that each extract, added up by month, equals the earlier files in every cell, so every table counts the same complaints, and that the record file is the NYPD's extract record for record. The 2026 year-to-date file ends with reports to 30 June 2026; its complaints about earlier years (late reports) are kept out of the earlier years' counts and shown in their own columns.
Monthly paid rides before March 2020 are estimates. Through December 2019, each calendar year's official total is spread over its months by an inferred 2019 monthly pattern, rebuilt from the MTA's comparisons of each 2024 day with its 2019 equivalent, with 29 February 2024 left out. January and February 2020 together are 2020's official total less the daily counts for March to December, split between the two months by the same pattern, February's weight multiplied by 29/28 for its leap day. From March 2020 a month's rides are the sum of the MTA's daily figures, which come within 0.2% of the official yearly totals for 2021 to 2024. Entries are each month's paid rides divided by one minus the MTA's unpaid share for its quarter, taken to hold evenly through the quarter. The MTA's station counts are a second, observed series from February 2017: its hourly ridership tables, summed by month, day and hour of the day (station_entries in the monthly, daily and hourly files). Its station-monthly table holds the same counts by station complex and agrees with them within 0.1% to February 2026; from March 2026 it lacks some complexes and has others near zero, so the station files and station_sum_rides stop at February 2026. These counts measure entries a little differently from the daily totals (about 1% above them since 2024) and are kept beside the paid rides, not mixed into them; denominator_comparison.csv shows the headline comparison on each.
Stations are matched by place. The NYPD records a station name and coordinates for every subway complaint, but its names are older or shared ("125 STREET" is four stations). Each recorded place is matched to the nearest MTA station within 300 metres whose name shares an identifying word; failing that, to the station sharing most words within 800 metres (1,500 for two or more words). Some coordinates sit kilometres from the station named (ROOSEVELT ISLAND placed beside Astoria Blvd, BOWLING GREEN by Franklin St), so a name that belongs to one complex alone is matched to it wherever the coordinates are; failing all of these, a place goes to the nearest station. The station-matching table keeps the distance and the kind of match for every place: 93% of complaints are matched by name within 300 metres, under 1% by the name alone and under 1% are left uncertain. A station complex is the MTA's grouping of stations joined by passageways; its name, borough, coordinates, structure, routes and accessibility are the MTA's current ones, not those of earlier years. Station rates carry a 90% range for a Poisson count; the range covers chance only, not errors in matching, entries or reporting. The pooled 2023-2025 table also gives a rate shrunk toward the pooled rate of its 417 complexes (an empirical-Bayes, gamma-Poisson estimate, sparkylib.stats.shrunk_rates, whose prior is fitted from the spread of the complexes' rates) for ranking, and flags whether a complex's expected count at the pooled rate is at least 10, enough exposure to rank its raw rate on its own.
The fare-evasion comparison adds the NYPD's quarterly subway fare-evasion reports (required by the City's Administrative Code, section 14-172), from the fourth quarter of 2017: arrests under the fare-evasion subsection of the theft-of-services law, and the civil summonses returnable to the Transit Adjudication Bureau. The build checks that each report's transit districts add up to its citywide total.
Every row of the article's own data file is reproduced from these files before they are published, every figure this card quotes is checked against them, and the build is checked to rebuild byte for byte.
Columns
subway_crime_monthly.csv: Subway crime and rides by month, 2014–2026
Start here. One row per month, January 2014 to June 2026, with subway complaint counts, paid rides, estimated entries and rates per million of each. Includes flags for the ridership method and the reporting window.
| Column | Type | Class | What it is |
|---|---|---|---|
month | string | observed | Month in which the recorded offence began (CMPLNT_FR_DT), as YYYY-MM; not the month it was reported. |
year | integer | observed | Calendar year. |
fiscal_year | integer | derived | New York City fiscal year (July to June), named for the year it ends in. |
six_major | integer | observed | Complaints of the six major felonies (murder, rape, robbery, felony assault, burglary, grand larceny; not grand larceny of a motor vehicle) whose premises is the subway. |
murder | integer | observed | Murder and non-negligent manslaughter. Zero in every month: the files hold no murder with the subway as its place, which is not evidence that none happened (the fiscal series counts the transit system's). |
rape | integer | observed | Rape complaints under the definitions the NYPD recorded. A law signed on 30 January 2024 broadened the definition; its effective date is not settled in the saved sources, so do not split the series at the signing (see events.csv). |
robbery | integer | observed | Robbery complaints: theft by force or threat. |
felony_assault | integer | observed | Felony assault complaints (NYPD key code KY_CD 106), the serious grade of assault, widened in 2022 and 2024 (see felony_assault_widenings_in_force). |
burglary | integer | observed | Burglary complaints. |
grand_larceny | integer | observed | Grand larceny complaints, the felony grade of theft (not of a motor vehicle). |
felony_assault_ordinary | integer | observed | Felony assaults with internal offence code PD_CD 109 (ASSAULT 2,1,UNCLASSIFIED). Not a constant-definition or worker-free category: newly covered workers can sit here. |
felony_assault_strangulation | integer | observed | Felony assaults with PD_CD 105 (strangulation). |
felony_assault_police_or_peace_officer | integer | observed | Felony assaults with PD_CD 106 (on a police or peace officer). |
felony_assault_other_public_service_employee | integer | observed | Felony assaults with PD_CD 108 (on another public service employee; from 2017). Newly covered transit workers may sit here or in PD_CD 109. |
theft_of_services | integer | observed | Theft of services complaints, PD_CD 478 under key code 343 (fare evasion falls under it): a record of enforcement, not a crime trend. Counted by code because its offence label changed over the years. |
all_felonies | integer | observed | Every felony complaint whose premises is the subway, including offences the police mostly find themselves (weapons, drugs). |
all_misdemeanors | integer | observed | Every misdemeanour complaint (dominated by enforcement in recent years). |
all_violations | integer | observed | Every violation complaint. |
all_complaints | integer | observed | Felonies, misdemeanours and violations. |
paid_rides | integer | mixed | Paid subway entries (taps and swipes) in the month: the MTA's daily figures added up from March 2020; modelled before (paid_rides_method says how). |
paid_rides_method | string | derived | How paid_rides was made: annual_total_x_2019_pattern (the year's official total spread by an inferred 2019 month pattern; to December 2019), annual_total_less_daily (2020's official total less its daily figures from March, split by that pattern with February weighted 29/28; January and February 2020), daily_counts (the MTA's daily figures added up; from March 2020). |
unpaid_share | number | published estimate | The MTA's estimate of the share of entries that are unpaid, for the month's quarter (a fraction). Empty: Empty before 2018, when the MTA's estimates begin, and for April to June 2020, when none was published. |
unpaid_share_moe | number | published estimate | The MTA's published margin of error on unpaid_share (a fraction; confidence level not stated). Empty: Empty before 2020, when the MTA begins publishing margins, and for April to June 2020. |
entries_est | integer | modelled | Estimated entries, paid or not: paid_rides / (1 - unpaid_share). Empty: Empty where unpaid_share is, as there is no estimate to divide by. |
six_major_per_m_paid | number | derived | Six major felony complaints per million paid rides. |
felony_assault_per_m_paid | number | derived | Felony assault complaints per million paid rides. |
robbery_per_m_paid | number | derived | Robbery complaints per million paid rides. |
grand_larceny_per_m_paid | number | derived | Grand larceny complaints per million paid rides. |
six_major_per_m_entries | number | derived | Six major felony complaints per million estimated entries, paid or not. Empty: Empty where entries_est is. |
felony_assault_per_m_entries | number | derived | Felony assault complaints per million estimated entries. Empty: Empty where entries_est is. |
robbery_per_m_entries | number | derived | Robbery complaints per million estimated entries. Empty: Empty where entries_est is. |
grand_larceny_per_m_entries | number | derived | Grand larceny complaints per million estimated entries. Empty: Empty where entries_est is. |
station_entries | integer | observed | The MTA's subway entries in the month, added up from its hourly ridership tables (every station complex; its station-monthly table agrees within 0.1% to February 2026): an observed denominator, counted the same way in every month it exists. Taps and swipes, so, like paid_rides, it leaves out people who enter without paying. Not the same measure as paid_rides (about 1% above the daily totals since 2024). Empty: Empty before February 2017, when the MTA's station counts begin. |
six_major_per_m_station_entries | number | derived | Six major felony complaints per million station entries. Empty: Empty where station_entries is. |
felony_assault_per_m_station_entries | number | derived | Felony assault complaints per million station entries. Empty: Empty where station_entries is. |
robbery_per_m_station_entries | number | derived | Robbery complaints per million station entries. Empty: Empty where station_entries is. |
grand_larceny_per_m_station_entries | number | derived | Grand larceny complaints per million station entries. Empty: Empty where station_entries is. |
felony_assault_widenings_in_force | integer | derived | How many of the expansions of felony assault since 2019 were in force for any part of the month: 1 from September 2022, 2 from July 2024, 3 from October 2024 (events.csv). A count of legal changes, not a measure of their size; a transition month holds both regimes. |
complaint_file | string | derived | The NYPD file the month's counts come from: historic (to December 2025) or year_to_date (2026). |
report_cutoff | string | observed | The last report date in that file (YYYY-MM-DD): complaints reported after it are not in the count. |
source_snapshot_date | string | observed | The day (UTC) SparkyData retrieved that file's extract (YYYY-MM-DD). Later extracts can hold more late reports. |
days_since_period_end | integer | derived | Days from the end of the month to the report cutoff: how long late reports have had to arrive. |
late_reports_all | integer | observed | Complaints about this month (before 2026) found in the 2026 year-to-date file and left out of the historic counts (107 from 2014 on; the article's 109 include two about earlier months). Empty: Empty for 2026's months, whose late reports are already in their counts: not applicable, not zero. |
late_reports_six_major | integer | observed | The six major felonies among late_reports_all. Empty: Empty for 2026's months: not applicable, not zero. |
reporting_window_mature | boolean | derived | Whether the month has had at least a full calendar month after it for late reports: true when the file's report cutoff reaches the end of the following month. A reporting-window flag, not a guarantee of final counts. False for December 2025 and June 2026. |
subway_crime_annual.csv: Subway crime and rides by calendar year, 2014–2025
One row per whole calendar year, 2014 to 2025 (2026 is not included): the monthly table added up, with the year's official ride total beside the rides used and the flags a year inherits from its months. Reproduces the article's year-by-year chart.
| Column | Type | Class | What it is |
|---|---|---|---|
year | integer | observed | Calendar year. |
six_major | integer | observed | Complaints of the six major felonies on the subway premises in the year (grand larceny of a motor vehicle excluded). |
murder | integer | observed | Murder complaints on the subway premises in the year: zero, which is not evidence that none happened (the fiscal series counts the transit system's). |
rape | integer | observed | Rape complaints in the year under the definitions the NYPD recorded (a law signed on 30 January 2024 broadened the definition; its effective date is not settled in the saved sources). |
robbery | integer | observed | Robbery complaints in the year. |
felony_assault | integer | observed | Felony assault complaints (KY_CD 106) in the year. |
burglary | integer | observed | Burglary complaints in the year. |
grand_larceny | integer | observed | Grand larceny complaints in the year (not of a motor vehicle). |
felony_assault_ordinary | integer | observed | Felony assaults with PD_CD 109 in the year. Not a constant-definition category: newly covered workers can sit here. |
felony_assault_strangulation | integer | observed | Felony assaults with PD_CD 105 (strangulation) in the year. |
felony_assault_police_or_peace_officer | integer | observed | Felony assaults with PD_CD 106 (on a police or peace officer) in the year. |
felony_assault_other_public_service_employee | integer | observed | Felony assaults with PD_CD 108 (on another public service employee) in the year. |
theft_of_services | integer | observed | Theft of services complaints (PD_CD 478 under key code 343) in the year: a record of enforcement, not a crime trend. |
all_felonies | integer | observed | Felony complaints in the year. |
all_misdemeanors | integer | observed | Misdemeanour complaints in the year. |
all_violations | integer | observed | Violation complaints in the year. |
all_complaints | integer | observed | Every complaint in the year. |
paid_rides | integer | observed | The year's paid rides: the official total to 2020, the MTA's daily figures added up from 2021 (within 0.2% of the official totals in 2021-2024). |
paid_rides_method | string | derived | official_total (to 2020) or daily_counts (from 2021). |
official_annual_total | integer | observed | The MTA's official yearly subway ridership. Empty: Empty for 2025: the MTA's latest yearly page is for 2024. |
unpaid_share | number | modelled | 1 - paid_rides / entries_est for the year: the unpaid share implied by its quarters. Empty: Empty before 2018 (no estimate) and for 2020 (none for April to June). |
entries_est | integer | modelled | The year's estimated entries, added up from unrounded monthly values. Empty: Empty where any month of the year has no estimate (before 2018, and 2020). |
six_major_per_m_paid | number | derived | Six major felony complaints per million paid rides in the year. |
felony_assault_per_m_paid | number | derived | Felony assault complaints per million paid rides in the year. |
robbery_per_m_paid | number | derived | Robbery complaints per million paid rides in the year. |
grand_larceny_per_m_paid | number | derived | Grand larceny complaints per million paid rides in the year. |
six_major_per_m_entries | number | derived | Six major felony complaints per million estimated entries in the year. Empty: Empty where entries_est is. |
felony_assault_per_m_entries | number | derived | Felony assault complaints per million estimated entries in the year. Empty: Empty where entries_est is. |
robbery_per_m_entries | number | derived | Robbery complaints per million estimated entries in the year. Empty: Empty where entries_est is. |
grand_larceny_per_m_entries | number | derived | Grand larceny complaints per million estimated entries in the year. Empty: Empty where entries_est is. |
felony_assault_widenings_in_force | integer | derived | The most expansions of felony assault in force in any month of the year (0 to 3). A year with a change holds more than one regime. |
months_window_open | integer | derived | How many of the year's months are still in their reporting window (reporting_window_mature false in the monthly table). |
subway_ridership_monthly.csv: Subway rides by month, 1997–2026
Monthly paid subway rides from July 1997 (the start of fiscal 1998) to September 2026, with method flags, official yearly totals and fare-evasion estimates. Includes estimated entries and two scenarios with the unpaid share one percentage point higher or lower. Station entries, added up from February 2017, check the modelled months.
| Column | Type | Class | What it is |
|---|---|---|---|
month | string | observed | Month (YYYY-MM). |
year | integer | observed | Calendar year. |
quarter | integer | observed | Calendar quarter (1-4), the period of the fare-evasion estimate. |
fiscal_year | integer | derived | New York City fiscal year (July to June). |
paid_rides | integer | mixed | Paid subway entries in the month: the MTA's daily figures added up from March 2020, modelled before (paid_rides_method). |
paid_rides_method | string | derived | annual_total_x_2019_pattern (to December 2019), annual_total_less_daily (January and February 2020) or daily_counts (from March 2020). |
official_annual_total | integer | observed | The year's official subway ridership (NYU Rudin's table of New York City Transit's counts to 2013, the MTA's yearly pages from 2014). Repeated on every month of its year: take one value per year, never add it up. Empty: Empty for 2025 and 2026: no official yearly figure has been published yet. |
unpaid_share | number | published estimate | The MTA's unpaid share for the month's quarter (a fraction). Empty: Empty before 2018, when the MTA's estimates begin, for April to June 2020, when none was published, and for July to September 2026, not yet published. |
unpaid_share_moe | number | published estimate | Its published margin of error (a fraction). Empty: Empty before 2020, when the MTA begins publishing margins, and wherever unpaid_share is empty. |
entries_est | integer | modelled | Estimated entries, paid or not: paid_rides / (1 - unpaid_share). Empty: Empty where unpaid_share is. |
entries_est_unpaid_minus_1pt | integer | modelled | Entries with the unpaid share one percentage point (0.01) lower: a scenario, not a confidence bound, and not guaranteed to cover every published margin. Empty: Empty where unpaid_share is. |
entries_est_unpaid_plus_1pt | integer | modelled | Entries with the unpaid share one percentage point (0.01) higher: a scenario, not a confidence bound. Empty: Empty where unpaid_share is. |
station_sum_rides | integer | observed | The MTA's entries at every station complex in the month, added up (MTA Subway Station Monthly Ridership). Counted, not modelled, but not the same measure as paid_rides: about 1% above the daily totals since 2024. Use it to check the modelled months or as another monthly denominator; never mix it into paid_rides. Empty: Empty before February 2017, when the MTA's station file starts, and from March 2026, when the file lacks some complexes and has others near zero (its sums fall up to 2% short of the hourly tables'); the monthly table's station_entries covers those months. |
fare_evasion_quarterly.csv: Subway fare evasion by quarter, 2018–2026
The MTA's quarterly estimate of the share of subway entries that are unpaid, from traffic checkers' counts at a sample of stations, with its published margin of error, as published on Open NY.
| Column | Type | Class | What it is |
|---|---|---|---|
period | string | observed | Quarter (YYYY-Qn). |
year | integer | observed | Calendar year. |
quarter | integer | observed | Calendar quarter (1-4). |
unpaid_share | number | published estimate | Estimated share of entries that are unpaid (a fraction). Empty: Empty for 2020 Q2: no estimate was published. |
margin_of_error | number | published estimate | Published margin of error (a fraction; confidence level not stated). Empty: Empty before 2020 Q1, when the MTA begins publishing margins, and for 2020 Q2. |
transit_major_felonies_fiscal.csv: Transit-system major felonies by fiscal year, 1998–2026
The long view: the Mayor's Management Report's major felonies in the whole transit system for each fiscal year (July to June), 1998 to 2026, beside the subway's paid rides in the same months. A ratio across two scopes, not the subway-premises complaint rate.
| Column | Type | Class | What it is |
|---|---|---|---|
fiscal_year | integer | observed | New York City fiscal year (July to June), named for the year it ends in. |
months | string | derived | The months the fiscal year covers (YYYY-MM to YYYY-MM). |
major_felonies_transit_system | integer | observed | Major felony crime in the transit system as the Mayor's Management Report prints it: murder, rape, robbery, felony assault, burglary and grand larceny, under each year's law. |
crime_scope | string | derived | What major_felonies_transit_system counts: the whole transit system under the NYPD's Transit Bureau, not only the subway premises. |
rides_scope | string | derived | What paid_rides counts: subway paid entries. |
mmr_source_id | string | derived | The source the figure was read from (sources.csv). Where editions overlap they agree to the felony; the latest is kept. |
note | string | observed | A remark the source makes about the year (fiscal 1998: based on preliminary data). Empty: Empty where the source makes no remark about the year. |
paid_rides | integer | mixed | Paid subway rides in the fiscal year's twelve months, added up from the unrounded monthly values: modelled months to February 2020, the MTA's daily figures after (paid_rides_method). |
paid_rides_method | string | derived | How the year's months were built (see subway_ridership_monthly.csv); fiscal 2020 mixes all three. |
major_felonies_transit_system_per_m_paid | number | derived | Transit-system major felonies per million paid subway rides: a ratio across two scopes. |
unpaid_share | number | modelled | The fiscal year's implied unpaid share (1 - paid / entries). Empty: Empty before fiscal 2019 (no estimate for every month) and for fiscal 2020 (none for April to June 2020). |
entries_est | integer | modelled | Estimated subway entries, paid or not, in the fiscal year. Empty: Empty where unpaid_share is. |
major_felonies_transit_system_per_m_entries | number | derived | Transit-system major felonies per million estimated subway entries. Empty: Empty where entries_est is. |
denominator_comparison.csv: The headline comparison on three denominators
The same complaints divided by paid rides, by the MTA's station entries and by estimated entries, for January to May and whole calendar years (2018, 2019 and 2022 on), with each rate set against 2019's on the same denominator: how much the choice of denominator moves a comparison.
| Column | Type | Class | What it is |
|---|---|---|---|
window | string | derived | January-May or calendar year. |
year | integer | observed | Calendar year. |
offence | string | derived | six_major, felony_assault, robbery or grand_larceny, as in the monthly table. |
denominator | string | derived | paid_rides (modelled before March 2020), station_entries (the MTA's station counts) or estimated_entries (paid or not). |
complaints | integer | observed | Complaints of the offence in the window. |
exposure | integer | mixed | The denominator added up over the window from the monthly table's whole numbers: rides or entries. Empty: Empty where the denominator does not cover every month of the window. |
exposure_method | string | derived | How the exposure was made: the paid-ride methods of the window's months (see paid_rides_method in the monthly table), the MTA's hourly station counts, or paid rides divided by one minus the MTA's unpaid share. |
months_window_open | integer | derived | How many of the window's months are still in their reporting window. |
rate_per_m | number | derived | complaints per million of the denominator. Empty: Empty where exposure is. |
ratio_to_2019 | number | derived | The rate divided by 2019's for the same window, offence and denominator, from the unrounded rates. Empty: Empty where this rate or 2019's is. |
subway_crime_daily.csv: Subway crime, rides and weather by day, 2014–2026
One row per day, 1 January 2014 to 30 June 2026: complaints by the day the offence began, the subway's paid rides that day (from 1 March 2020) and Central Park's temperature, rain and snow. For weekday and weekend, weather and before-and-after questions.
| Column | Type | Class | What it is |
|---|---|---|---|
date | string | observed | The day the recorded offence began (CMPLNT_FR_DT), YYYY-MM-DD. |
year | integer | observed | Calendar year. |
month | string | observed | YYYY-MM, the key to the monthly files. |
day_of_week | string | derived | Monday to Sunday. |
weekend | boolean | derived | True on Saturday and Sunday. Public holidays are not flagged. |
six_major | integer | observed | Complaints of the six major felonies that began that day. |
felony_assault | integer | observed | Felony assault complaints that began that day. |
robbery | integer | observed | Robbery complaints that began that day. |
grand_larceny | integer | observed | Grand larceny complaints that began that day. |
all_felonies | integer | observed | Felony complaints that began that day. |
all_misdemeanors | integer | observed | Misdemeanour complaints that began that day. |
all_violations | integer | observed | Violation complaints that began that day. |
all_complaints | integer | observed | Every subway complaint that began that day. |
theft_of_services | integer | observed | Theft of services complaints (PD_CD 478 under key code 343): a record of enforcement. |
paid_rides | integer | observed | The MTA's subway ridership figure for the day, which it labels 'Total Estimated Ridership' and builds from its fare-system counts. Empty: Empty before 1 March 2020, when the MTA's daily figures begin. |
station_entries | integer | observed | The MTA's entries at every station complex that day, from its hourly ridership tables (the same measure as the monthly table's station_entries). Empty: Empty before 1 February 2017, the first whole month of the MTA's hourly table. |
tmax_f | integer | observed | Central Park's maximum temperature, whole degrees Fahrenheit (NOAA's Global Historical Climatology Network - Daily). |
tmin_f | integer | observed | Central Park's minimum temperature, whole degrees Fahrenheit. |
precip_in | number | observed | Central Park's precipitation (rain and melted snow), inches. |
snow_in | number | observed | Central Park's snowfall, inches. |
felony_assault_widenings_in_force | integer | derived | How many expansions of felony assault were in force that day (0 to 3; events.csv). |
reporting_window_mature | boolean | derived | Whether the month has had at least a full calendar month after it for late reports: true when the file's report cutoff reaches the end of the following month. A reporting-window flag, not a guarantee of final counts. |
subway_crime_by_hour.csv: Subway crime by hour of the day, 2014–2026
Complaints and the MTA's entries by month, day of the week and hour (0 to 23), every cell present, so rates can be read for each of the week's 168 hours. For when in the day and week crime is recorded and for the overnight closure of May 2020 to May 2021. Complaint times are as recorded and often rounded. An entry's hour is the hour it began: while the subway closed from 1 to 5 a.m., the hours from 1:00 to 3:59 hold almost no entries in summer and winter time alike, so the hours are not shifted by daylight saving time; the 4 a.m. hour kept entries, which the files do not explain.
| Column | Type | Class | What it is |
|---|---|---|---|
month | string | observed | YYYY-MM of the day the offence began. |
day_of_week | string | derived | Monday to Sunday: the day the offence began, and the day of the entries. |
day_type | string | derived | weekday (Monday to Friday) or weekend (Saturday and Sunday), from day_of_week. |
hour | integer | observed | The hour of the recorded start time (CMPLNT_FR_TM), 0 to 23: 0 is midnight to 00:59. 00:01 is a common default, so hour 0 is inflated. |
six_major | integer | observed | Complaints of the six major felonies that began in the hour. |
felony_assault | integer | observed | Felony assault complaints that began in the hour. |
robbery | integer | observed | Robbery complaints that began in the hour. |
grand_larceny | integer | observed | Grand larceny complaints that began in the hour. |
all_felonies | integer | observed | Felony complaints that began in the hour. |
all_complaints | integer | observed | Every subway complaint that began in the hour. |
all_complaints_on_the_hour | integer | observed | Complaints whose recorded start time is exactly on the hour (HH:00:00): a measure of rounding in the times. |
station_entries | integer | observed | The MTA's entries in that hour of the day, on that day of the week, over the month (its hourly ridership tables). The hour of entry, not of time spent in the system: a rate per entry is a rate per arrival in that hour. Empty: Empty before February 2017, the first whole month of the MTA's hourly table. |
six_major_per_m_station_entries | number | derived | Six major felony complaints that began in the hour per million entries in the hour. Empty: Empty where station_entries is. |
felony_assault_per_m_station_entries | number | derived | Felony assault complaints per million entries in the hour. Empty: Empty where station_entries is. |
all_complaints_per_m_station_entries | number | derived | Every complaint per million entries in the hour. Empty: Empty where station_entries is. |
felony_assault_widenings_in_force | integer | derived | How many of the three widenings of felony assault (25 September 2022, 19 July 2024, 17 October 2024) were in force at the end of the month. |
reporting_window_mature | boolean | derived | Whether the month has had at least a full calendar month after it for late reports: true when the file's report cutoff reaches the end of the following month. A reporting-window flag, not a guarantee of final counts. |
subway_stations_annual.csv: Subway crime and entries by station complex and year, 2014–2026
One row per station complex and year, with the complaints matched to it, its entries and rates per million entries. Entries begin in February 2017, and a rate needs entries for every month of the year's complaints. 2026 covers January to June. Every complex in the MTA's station ridership, and any other complex a complaint is matched to (three Staten Island Railway stations), is listed in every year; the station list and the network hold 445 complexes, this table 427. For a borough's rate, take the complexes with entries in every month (ride_months equal to months) and add up their complaints and entries together.
| Column | Type | Class | What it is |
|---|---|---|---|
complex_id | integer | observed | The MTA's station complex id (Complex ID in its station list, station_complex_id in its ridership). |
station_complex | string | observed | The complex's current name, with the routes that stop there, as the MTA's ridership names it. |
borough | string | observed | The complex's borough, as the MTA gives it. |
latitude | number | observed | The complex's latitude (MTA, current). |
longitude | number | observed | The complex's longitude (MTA, current). |
year | integer | observed | Calendar year of the complaints. |
months | integer | derived | Months of complaints the year covers: 12, or 6 for 2026 (January to June). |
months_window_open | integer | derived | How many of the year's months are still in their reporting window (reporting_window_mature false in the monthly table). |
felony_assault_widenings_in_force | integer | derived | The most widenings of felony assault in force at the end of any month of the year (0 to 3; see the monthly table). |
six_major | integer | observed | Complaints of the six major felonies at places matched to the complex. A zero means no complaint was matched there that year, not that nothing happened. |
felony_assault | integer | observed | Felony assault complaints matched to the complex. |
robbery | integer | observed | Robbery complaints matched to the complex. |
grand_larceny | integer | observed | Grand larceny complaints matched to the complex. |
all_felonies | integer | observed | Felony complaints matched to the complex. |
all_complaints | integer | observed | Every complaint matched to the complex. |
all_complaints_matched_by_name | integer | derived | Of all_complaints, those whose place was matched by name within 300 metres (match 'name' in the station-matching table); the rest were matched by a looser rule. |
six_major_matched_by_name | integer | derived | Of six_major, those whose place was matched by name within 300 metres. |
rides | integer | observed | The MTA's entries at the complex over the same months (MTA Subway Station Monthly Ridership), as far as that table is whole: to February 2026. Empty: Empty before 2017, when the MTA's station file starts, and in years the station file has no month for the complex (three Staten Island Railway stations). |
ride_months | integer | derived | Months of entries in rides: 11 in 2017 (the file starts in February), 2 in 2026 (the file is whole only to February), fewer where a station has months missing, 0 before 2017. |
six_major_per_m_rides | number | derived | Six major felony complaints per million entries at the complex. Empty: Empty where the entries do not cover every month of the year's complaints: every year before 2018, 2026, and years in which the station file lacks some months for the complex. |
felony_assault_per_m_rides | number | derived | Felony assault complaints per million entries at the complex. Empty: Empty where the entries do not cover every month of the year's complaints. |
robbery_per_m_rides | number | derived | Robbery complaints per million entries at the complex. Empty: Empty where the entries do not cover every month of the year's complaints. |
all_complaints_per_m_rides | number | derived | Every complaint per million entries at the complex. Empty: Empty where the entries do not cover every month of the year's complaints. |
six_major_per_m_rides_low | number | derived | Lower end of a 90% range for six_major_per_m_rides, treating the count as Poisson: a count of rare events moves by chance from year to year. Empty: Empty where six_major_per_m_rides is. |
six_major_per_m_rides_high | number | derived | Upper end of the same 90% range. Empty: Empty where six_major_per_m_rides is. |
share_matched_by_name | number | derived | all_complaints_matched_by_name / all_complaints: how much of the complex's count rests on a name match within 300 metres, the strictest of the matching rules (a rule, not a measured accuracy). Empty: Empty where the complex has no complaint that year. |
subway_station_crosswalk.csv: Station matching: the NYPD's station names to the MTA's station complexes
Every place the NYPD records for a subway complaint (a station name, a borough and coordinates), with how many complaints it holds and the MTA station complex it is matched to, the distance and the kind of match. Check or redo the matching here.
| Column | Type | Class | What it is |
|---|---|---|---|
station_name | string | observed | The station name the NYPD records (STATION_NAME), as printed; '(null)' where blank. |
borough | string | observed | The borough the NYPD records (BORO_NM). |
latitude | number | observed | The latitude the NYPD records. |
longitude | number | observed | The longitude the NYPD records. |
complaints | integer | observed | Complaints at this place across the whole record file: the monthly table's complaints plus the 109 late reports (two of them about 2005 and 2006). |
complex_id | integer | derived | The MTA station complex the place is matched to. |
matched_station | string | observed | The MTA station (stop name) the match was made to. |
distance_m | number | derived | Metres from the recorded place to that station. |
match | string | derived | name: a station sharing an identifying word within 300 m; name_far: the station sharing the most words, further away (up to 800 m, or 1,500 m for two or more words); name_only: no station that near shares a word, but the name belongs to one complex alone, citywide (for a one-word name, in the borough the NYPD gives), so the name is trusted over the coordinates; distance: no name in common, the nearest within 300 m (often an older name, such as PACIFIC STREET for Atlantic Av-Barclays Ctr); uncertain: no name in common and further than 300 m. |
subway_stations_2023_2025.csv: Station complexes over 2023-2025: rates with ranges and shrunk rates for ranking
One row per station complex with entries in every month of 2023 to 2025 (417 complexes): complaints and entries pooled over the three years, the rate of major felonies per million entries with a 90% range, a rate shrunk toward the pooled rate of these complexes for ranking, a flag for complexes with too little exposure to rank on their own, the shares matched by name, and the complex's current structure, routes and accessibility. December 2025 is still in its reporting window, and the felony-assault definition widened twice within the three years.
| Column | Type | Class | What it is |
|---|---|---|---|
complex_id | integer | observed | The MTA's station complex id. |
station_complex | string | observed | The complex's current name and routes, as the MTA's ridership names it. |
borough | string | observed | The complex's borough. |
years | string | derived | The years pooled: 2023-2025. |
rides | integer | observed | The MTA's entries at the complex over the three years. |
six_major | integer | observed | Six major felony complaints matched to the complex over the three years. |
felony_assault | integer | observed | Felony assault complaints matched to the complex. |
robbery | integer | observed | Robbery complaints matched to the complex. |
all_complaints | integer | observed | Every complaint matched to the complex. |
six_major_per_m_rides | number | derived | Six major felony complaints per million entries: the raw rate. |
six_major_per_m_rides_low | number | derived | Lower end of a 90% range for the raw rate, treating the count as Poisson. |
six_major_per_m_rides_high | number | derived | Upper end of the same 90% range. The range covers chance in a Poisson count only, not errors in matching, entries or reporting. |
six_major_per_m_rides_shrunk | number | modelled | The rate pulled toward the pooled rate of the 417 complexes, the more the fewer entries a complex has (an empirical-Bayes gamma-Poisson estimate, sparkylib.stats.shrunk_rates): for ranking and mapping, not a measured rate. |
expected_six_major_at_city_rate | number | derived | The complaints the complex would have had at the pooled rate of the 417 complexes (all their six major complaints over all their entries) over its own entries. |
expected_at_least_10 | boolean | derived | True when expected_six_major_at_city_rate, as printed, is at least 10: an exposure screen for ranking a raw rate on its own, not a guarantee of accurate matching, precise estimation or a stable rank. |
share_matched_by_name | number | derived | Share of the complex's complaints matched to it by name within 300 metres, the strictest of the matching rules. Empty: Empty where the complex has no complaint in the three years. |
six_major_share_matched_by_name | number | derived | The same share for the six major felonies, the offences the rates rank. Empty: Empty where the complex has no six major felony complaint in the three years. |
months_window_open | integer | derived | How many of the 36 months are still in their reporting window (1: December 2025). |
felony_assault_widenings_at_start | integer | derived | Widenings of felony assault in force in January 2023 (see the monthly table). |
felony_assault_widenings_at_end | integer | derived | Widenings of felony assault in force in December 2025: the three years span two widenings. |
structure_current | string | observed | The structure of the complex's stations today (Subway, Elevated, At Grade, Open Cut, ...), from the MTA's station list; not necessarily in 2023. |
routes_current | string | observed | The daytime routes that stop at the complex today. |
accessible_current | boolean | derived | True if any station of the complex has the MTA's ADA code 1 (accessible) in its current station list. It does not establish accessible travel on every route or in every direction. |
partly_accessible_current | boolean | derived | True if any station of the complex has ADA code 2 (partly accessible, for example in one direction only). |
subway_network_edges.csv: The subway as a network: every nonstop run between two station complexes
One row for each pair of station complexes that a scheduled weekday train runs between without stopping, in each direction, from the MTA's published timetable (26 May to 31 October 2026): the routes that make the run, the scheduled minutes, the trains a weekday and the trains an hour in the morning peak. An express run is its own row beside the local stops it skips. With the station tables it turns the complaint counts into a map that can be walked: which complexes are best connected, how many stops apart two places are, what the network looks like with a link removed. It describes the scheduled network of 2026, not passengers' journeys or the service of earlier years.
| Column | Type | Class | What it is |
|---|---|---|---|
from_complex_id | integer | observed | The MTA station complex the run leaves (the complex_id of the station tables). |
from_station | string | observed | That complex's name and routes, as the MTA's ridership names it (for the Staten Island Railway, the station list's stop name). |
to_complex_id | integer | observed | The complex the run reaches next. |
to_station | string | observed | That complex's name and routes. |
routes | string | observed | The routes whose scheduled weekday trains make this run, separated by spaces (FX is the F express, SI the Staten Island Railway). A route seen here only a few times a day is usually a train rerouted for work or starting its day. |
minutes | number | derived | The median scheduled time from leaving the first stop to arriving at the second, over the weekday's trains, to the half minute or tenth of a minute the timetable allows. |
weekday_trains | integer | derived | Scheduled weekday trains that make the run. A count of 1 or 2 is a train put in or rerouted, not a service. |
am_peak_trains_per_hour | number | derived | Scheduled weekday trains leaving the first stop for the second between 7 and 10 a.m., divided by three. 0 where the run is made only at other times of day. |
subway_stations_reference.csv: The MTA's station list: every station, its complex, place, structure and accessibility
The MTA's list of subway and Staten Island Railway stations as published, one row per station and line: the timetable's stop id, the complex that ties stations sharing a mezzanine together, the borough, the daytime routes, the original company (IRT, BMT, IND or SIR), the structure, coordinates and accessibility. It is the list as it stands now, not as it stood in earlier years.
| Column | Type | Class | What it is |
|---|---|---|---|
gtfs_stop_id | string | observed | The station's stop id in the MTA's timetable feed (GTFS Stop ID). |
station_id | integer | observed | The MTA's station id. |
complex_id | integer | observed | The station complex: stations joined by passageways share one, and the ridership, station and network tables count by it. |
stop_name | string | observed | The station's name, as the MTA prints it. |
borough | string | observed | Bk, Bx, M, Q or SI, as the MTA abbreviates them. |
daytime_routes | string | observed | The routes that stop here in the daytime, separated by spaces. |
division | string | observed | IRT, BMT or IND, the companies that built the lines, or SIR for the Staten Island Railway. |
line | string | observed | The line the station is on, as the MTA names it (for example 4th Av, Astoria). |
structure | string | observed | Subway, Elevated, Open Cut, Viaduct, At Grade or Embankment. |
latitude | number | observed | The station's latitude in the timetable feed. |
longitude | number | observed | The station's longitude in the timetable feed. |
ada | integer | observed | Accessibility as the MTA codes it: 0 not accessible, 1 accessible, 2 partly accessible (for example in one direction only). |
subway_complaints_by_offence_monthly.csv: Every subway complaint offence by month, 2014–2026
Complaint counts by month, law category and the NYPD's offence label, as the files print it. This table supplies the monthly table's offence and law-category totals. Sparse: within a covered month, an offence with no row had no complaints.
| Column | Type | Class | What it is |
|---|---|---|---|
month | string | observed | Month in which the recorded offence began (CMPLNT_FR_DT), as YYYY-MM. |
law_category | string | observed | FELONY, MISDEMEANOR or VIOLATION (LAW_CAT_CD). |
offence | string | observed | The NYPD's offence description (OFNS_DESC) as the files print it, spelling included; '(null)' is the source's own label for complaints with no description. Labels can change over the years while the offence does not. |
is_major_six | boolean | derived | One of the six major felonies (grand larceny of a motor vehicle excluded). |
complaints | integer | observed | Number of complaints in this month, law category and offence. |
complaint_file | string | derived | historic or year_to_date: the NYPD file the counts come from. |
report_cutoff | string | observed | The last report date in that file (YYYY-MM-DD). |
reporting_window_mature | boolean | derived | Whether the month has had at least a full calendar month after it for late reports: true when the file's report cutoff reaches the end of the following month. A reporting-window flag, not a guarantee of final counts. |
subway_complaints_by_code_monthly.csv: Every subway complaint by internal offence code, 2014–2026
Complaint counts by month, the NYPD's key offence code and its internal offence code, which tell kinds of the same offence apart: assaults on police from other assaults, pickpocketing from bag-snatching, theft of services from other theft. Sparse, like the offence table.
| Column | Type | Class | What it is |
|---|---|---|---|
month | string | observed | Month in which the recorded offence began (CMPLNT_FR_DT), as YYYY-MM. |
key_code | integer | observed | The NYPD's key offence code (KY_CD), e.g. 105 robbery, 106 felony assault, 109 grand larceny, 343 other offences related to theft. |
offence | string | observed | The offence description (OFNS_DESC) as printed; a label can change over the years while the codes do not. |
pd_code | integer | observed | The NYPD's internal offence code (PD_CD), e.g. 109 ordinary felony assault, 478 theft of services, 475 unauthorised sale of transit service. |
pd_description | string | observed | The internal code's description (PD_DESC) as printed. |
complaints | integer | observed | Number of complaints in this month and offence-code group. |
complaint_file | string | derived | historic or year_to_date: the NYPD file the counts come from. |
report_cutoff | string | observed | The last report date in that file (YYYY-MM-DD). |
reporting_window_mature | boolean | derived | Whether the month has had at least a full calendar month after it for late reports: true when the file's report cutoff reaches the end of the following month. A reporting-window flag, not a guarantee of final counts. |
subway_victims_annual.csv: Subway complaints by victim age group and sex, 2014–2026
Complaints by year, law category, offence, and the victim's age group and sex as the NYPD records them. Many complaints have no person as victim: offences against the State, such as fare evasion, and against businesses. 2026 covers January to June.
| Column | Type | Class | What it is |
|---|---|---|---|
year | integer | observed | Calendar year the offence began. |
law_category | string | observed | FELONY, MISDEMEANOR or VIOLATION. |
offence | string | observed | The offence description (OFNS_DESC) as printed. |
victim_age_group | string | observed | VIC_AGE_GROUP as printed: <18, 18-24, 25-44, 45-64, 65+, UNKNOWN, '(null)' (blank in the source), and a few values that are not ages (such as -59 or 951), kept as the source has them. |
victim_sex | string | observed | VIC_SEX as printed: F female, M male, D a business or organisation, E the People of the State of New York (offences against the public), L not defined in the NYPD's notes. |
complaints | integer | observed | Number of complaints in this year, law category, offence and victim group. |
months_window_open | integer | derived | How many of the year's months are still in their reporting window (reporting_window_mature false in the monthly table). |
subway_report_delay_annual.csv: How long subway crimes took to be reported, 2014–2026
Complaints by year, offence group and the delay between the day the offence began and the day it was reported, every band present. It describes delays among the complaints already in the files: the late reports are not included, the newest years have had less time for the slowest reports, and reports still to come cannot be seen.
| Column | Type | Class | What it is |
|---|---|---|---|
year | integer | observed | Calendar year the offence began. |
offence_group | string | derived | rape, robbery, felony_assault, burglary, grand_larceny (the five major felonies the records hold), or other_felonies, misdemeanors, violations. |
lag_band | string | derived | same day, 1 day, 2-7 days, 8-30 days, 31-90 days, 91-365 days, over a year. |
lag_days_min | integer | derived | The band's shortest delay in days. |
lag_days_max | integer | derived | The band's longest delay in days. Empty: Empty for 'over a year', which has no upper limit. |
complaints | integer | observed | Complaints reported with that delay (RPT_DT minus CMPLNT_FR_DT), among those in the monthly table. |
report_cutoff | string | observed | The last report date the year's file holds: a longer delay than this allows cannot appear yet. |
months_window_open | integer | derived | How many of the year's months are still in their reporting window (reporting_window_mature false in the monthly table). |
transit_arrests_monthly.csv: Arrests in the Transit jurisdiction by month and charge, 2014–2026
Arrests the NYPD records in its Transit jurisdiction (jurisdiction code 1, the subway), by month of arrest, law category and the offence charged, with its codes. An arrest is not linked to a complaint, and counts when it is made.
| Column | Type | Class | What it is |
|---|---|---|---|
month | string | observed | Month of the arrest (ARREST_DATE), YYYY-MM. |
law_category | string | observed | LAW_CAT_CD as printed: F felony, M misdemeanour, V violation, I infraction, and a few other codes the file holds. Empty: Empty where the NYPD's arrest file is blank. |
key_code | integer | observed | Key offence code (KY_CD) of the charge. Empty: Empty where the NYPD's arrest file is blank. |
offence | string | observed | Offence description (OFNS_DESC) as printed. Empty: Empty where the NYPD's arrest file is blank. |
pd_code | integer | observed | Internal offence code (PD_CD); 478 under key code 343 is theft of services. Empty: Empty where the NYPD's arrest file is blank. |
pd_description | string | observed | Internal code description (PD_DESC) as printed. Empty: Empty where the NYPD's arrest file is blank. |
arrests | integer | observed | Number of arrests in this month, law category and charge. |
city_context_monthly.csv: The city around the subway by month, 2014–2026
One row per month: recorded crime across the whole city, the subway included, counted the way the subway's is; the subway's share of it; the city's population; complaints and rides on buses; Transit arrests; and the shelter census. Joins the monthly table one to one on month.
| Column | Type | Class | What it is |
|---|---|---|---|
month | string | observed | YYYY-MM (the month an offence began for complaints, the month of arrest for arrests). |
city_six_major | integer | observed | Complaints of the six major felonies anywhere in the city, the subway included (grand larceny of a motor vehicle excluded, as for the subway). |
city_felony_assault | integer | observed | Felony assault complaints anywhere in the city. |
city_robbery | integer | observed | Robbery complaints anywhere in the city. |
city_grand_larceny | integer | observed | Grand larceny complaints anywhere in the city (not of a motor vehicle). |
city_all_complaints | integer | observed | Every complaint anywhere in the city. |
subway_share_of_city_six_major | number | derived | The monthly table's six_major divided by city_six_major. |
nyc_population | integer | published estimate | The five boroughs' population on 1 July of the month's year (Census Bureau estimates). Repeated on every month of its year. Empty: Empty for 2026: the Census Bureau's estimate for 1 July 2026 comes out in 2027. |
bus_six_major | integer | observed | Six major felony complaints whose premises is a New York City Transit bus. |
bus_felony_assault | integer | observed | Felony assault complaints on New York City Transit buses. |
bus_all_complaints | integer | observed | Every complaint on New York City Transit buses. |
bus_stop_and_terminal_complaints | integer | observed | Every complaint at bus stops and bus terminals. |
bus_rides | integer | observed | The MTA's bus ridership figures for the month, the daily figures added up; they may cover more buses than the NYPD's 'BUS (NYC TRANSIT)' premises. Empty: Empty before March 2020 (no daily bus figures) and for April to August 2020, when buses were fare-free with rear-door boarding and there is no usable count. |
transit_arrests | integer | observed | Transit-jurisdiction arrests in the month (transit_arrests_monthly.csv added up). |
transit_arrests_felony | integer | observed | Transit-jurisdiction arrests on a felony charge in the month. |
transit_arrests_theft_of_services | integer | observed | Transit-jurisdiction arrests for theft of services (PD_CD 478 under key code 343) in the month. |
shelter_individuals | integer | derived | People in the Department of Homeless Services' shelters, the average of the month's nightly census (Total Individuals in Shelter). Not other shelter systems, and not people sleeping outside. |
shelter_census_days | integer | derived | Days in the month with a census (some days are missing in 2013-2021). |
reporting_window_mature | boolean | derived | Whether the month has had at least a full calendar month after it for late reports: true when the file's report cutoff reaches the end of the following month. A reporting-window flag, not a guarantee of final counts. |
fare_evasion_measures_quarterly.csv: Four records of fare evasion by quarter, 2014-2026
One row per quarter: the MTA's survey estimate of the unpaid share, theft-of-services complaints, Transit-jurisdiction arrests for theft of services, and the NYPD's quarterly report of arrests under the fare-evasion subsection and of civil summonses to the Transit Adjudication Bureau, with the quarter's paid rides.
| Column | Type | Class | What it is |
|---|---|---|---|
period | string | derived | Quarter (YYYY-Qn). |
year | integer | observed | Calendar year. |
quarter | integer | observed | Calendar quarter (1-4). |
unpaid_share | number | published estimate | The MTA's estimate of the share of entries that are unpaid (a fraction). Empty: Empty before 2018, when the MTA's estimates begin, and for 2020 Q2, when none was published. |
tos_complaints | integer | observed | Theft-of-services complaints on the subway premises in the quarter (PD_CD 478 under key code 343). |
transit_arrests_theft_of_services | integer | observed | Arrests in the Transit jurisdiction for theft of services (PD_CD 478 under key code 343) in the quarter, from the NYPD's arrest file: every subsection and every place in the jurisdiction. |
report_arrests_pl_165_15_3 | integer | observed | Arrests for theft of services under Penal Law 165.15(3) in a subway station, from the NYPD's quarterly fare-evasion report: a narrower count than the arrest file's. Empty: Empty before 2017 Q4, the first quarterly report. |
report_tab_summonses | integer | observed | Summonses returnable to the Transit Adjudication Bureau for subway fare evasion (21 NYCRR 1050.4), a civil penalty, from the same report. Empty: Empty before 2017 Q4, the first quarterly report. |
paid_rides | integer | mixed | Paid subway rides in the quarter, the monthly table's whole numbers added up (modelled to February 2020, the MTA's daily figures after). |
paid_rides_method | string | derived | The paid-ride methods of the quarter's months, as in the monthly table. |
months_window_open | integer | derived | How many of the quarter's months are still in their complaint reporting window (2025 Q4 and 2026 Q2 have one each). |
events.csv: Law changes, policing announcements and service changes, 1995–2026
Dated events that bear on reading the series: changes to the legal definitions of felony assault and rape, the policing announcements for the subway, the lockdown, the overnight closure, fare increases, congestion pricing, and the points where a source starts or stops. Each names its source. Announcements are what was announced, not measured effects.
| Column | Type | Class | What it is |
|---|---|---|---|
date | string | observed | The event's date at the precision the source gives: YYYY, YYYY-MM or YYYY-MM-DD. Read it as text. |
date_basis | string | derived | What the date is: signed, in_force (from the act's effective-date clause, or stated by the source), announced, published, occurred (when it happened, as the source states), or data (a series starts, stops or has a gap). |
kind | string | derived | law, policing_announcement, service (a change to service or fares) or data. |
event | string | observed | What happened. |
bearing | string | derived | What it means for reading the series. |
source_id | string | observed | The source's id in sources.csv. |
subway_complaint_records.csv.gz: Every subway complaint, one row each, 2014–2026
187,739 complaint records: the 187,630 complaints in the monthly table and 109 late reports (late_report). Each has the fields the NYPD publishes: when the offence began, ended and was reported, the offence and its codes, the place, and the victim's and suspect's age group and sex. Empty cells correspond to blanks or (null) in the NYPD's file; recorded unknown values are kept. Identical rows are separate complaints. No complaint number and no race.
| Column | Type | Class | What it is |
|---|---|---|---|
complaint_date | string | observed | The day the offence began (CMPLNT_FR_DT), YYYY-MM-DD. |
complaint_time | string | observed | The time it began (CMPLNT_FR_TM), HH:MM:SS, as recorded: often rounded to the hour, and 00:01 is a common default. |
end_date | string | observed | The day it ended, where the complaint records an end (CMPLNT_TO_DT), YYYY-MM-DD. Empty: Empty where the NYPD's file is blank: no end recorded. |
end_time | string | observed | The time it ended (CMPLNT_TO_TM), HH:MM:SS. Empty: Empty where the NYPD's file prints (null): no end time recorded. |
report_date | string | observed | The day it was reported (RPT_DT), YYYY-MM-DD. |
year | integer | derived | Calendar year of complaint_date. |
month | string | derived | YYYY-MM of complaint_date, the key to the monthly files. |
day_of_week | string | derived | Monday to Sunday, of complaint_date. |
hour | integer | derived | The hour of complaint_time, 0 to 23. |
report_delay_days | integer | derived | Days from complaint_date to report_date. |
law_category | string | observed | FELONY, MISDEMEANOR or VIOLATION (LAW_CAT_CD). |
offence | string | observed | The offence description (OFNS_DESC) as printed, spelling included. Empty: Empty where the NYPD's file prints (null): no description, though the codes are there. |
key_code | integer | observed | The key offence code (KY_CD). |
pd_code | integer | observed | The internal offence code (PD_CD). |
pd_description | string | observed | The internal code's description (PD_DESC) as printed. |
is_major_six | boolean | derived | One of the six major felonies (grand larceny of a motor vehicle excluded), as in the monthly table. |
attempted_or_completed | string | observed | ATTEMPTED or COMPLETED (CRM_ATPT_CPTD_CD). |
jurisdiction | string | observed | The jurisdiction responsible (JURIS_DESC): N.Y. TRANSIT POLICE for almost every subway complaint. |
precinct | integer | observed | The precinct of the place (ADDR_PCT_CD). |
borough | string | observed | The borough (BORO_NM). Empty: Empty where the NYPD's file prints (null). |
patrol_borough | string | observed | The NYPD patrol borough (PATROL_BORO). |
transit_district | integer | observed | The NYPD transit district (TRANSIT_DISTRICT). Empty: Empty where the NYPD's file is blank. |
station_name | string | observed | The station name the NYPD records (STATION_NAME), as printed. Empty: Empty where the NYPD's file prints (null). |
latitude | number | observed | The latitude the NYPD records. |
longitude | number | observed | The longitude the NYPD records. |
complex_id | integer | derived | The MTA station complex the place is matched to (subway_station_crosswalk.csv). |
station_match | string | derived | How surely the place was matched: name, name_far, name_only, distance or uncertain, as in the station-matching table. |
victim_age_group | string | observed | The victim's age group as recorded (VIC_AGE_GROUP): <18, 18-24, 25-44, 45-64, 65+, UNKNOWN, and a few values that are not ages (such as -59 or 951), kept as the NYPD has them. Empty: Empty where the NYPD's file prints (null); not the same as UNKNOWN, which the NYPD recorded. |
victim_sex | string | observed | The victim's sex as recorded (VIC_SEX): F female, M male, D a business or organisation, E the People of the State of New York (offences against the public), L not defined in the NYPD's notes. |
suspect_age_group | string | observed | The suspect's age group as recorded (SUSP_AGE_GROUP): <18, 18-24, 25-44, 45-64, 65+, UNKNOWN, and a few values that are not ages (such as 2024), kept as the NYPD has them. Empty: Empty where the NYPD's file prints (null); not the same as UNKNOWN, which the NYPD recorded. |
suspect_sex | string | observed | The suspect's sex as recorded (SUSP_SEX): F female, M male, U unknown. Empty: Empty where the NYPD's file prints (null); U is a recorded value, not an empty cell. |
complaint_file | string | derived | historic or year_to_date: the NYPD file the complaint is in. |
report_cutoff | string | observed | The last report date in that file (YYYY-MM-DD): complaints reported after it are not here. |
late_report | boolean | derived | True for the 109 complaints reported in 2026 about earlier years (two of them about 2005 and 2006), which the monthly table leaves out of those years. Leave them out to reproduce the monthly table. |
subway_complaints_classroom.csv: The complaint records for a first class
The monthly table's 187,630 complaints, one row each, simplified for teaching: the month instead of the day, borough and transit district instead of station and coordinates, one offence label per offence code, age codes outside the NYPD's list marked as invalid. Source blanks stay blank in the columns that keep source values; offence_group is a standardised label, and invalid age codes become INVALID CODE.
| Column | Type | Class | What it is |
|---|---|---|---|
month | string | derived | YYYY-MM the offence began. |
year | integer | derived | Calendar year the offence began. |
day_of_week | string | derived | Monday to Sunday. |
hour | integer | derived | Hour of the recorded start time, 0 to 23 (often rounded; 00:01 is a common default). |
law_category | string | observed | FELONY, MISDEMEANOR or VIOLATION. |
key_code | integer | observed | The NYPD's key offence code (KY_CD). Encodes the law category: leave it out when predicting it. |
offence_group | string | derived | The latest non-blank offence label the NYPD's files print for the key code in this release, so one offence has one label across the years; 'key code N' where no label exists. Not necessarily the label on that complaint. Encodes the law category: leave it out when predicting it. |
is_major_six | boolean | derived | One of the six major felonies. Implies a felony when true: leave it out when predicting the law category. |
attempted_or_completed | string | observed | ATTEMPTED or COMPLETED. |
borough | string | observed | The borough (BORO_NM). Empty: Empty where the NYPD's file prints (null). |
transit_district | integer | observed | The NYPD transit district. Empty: Empty where the NYPD's file is blank. |
victim_type | string | derived | Who the victim is, from the recorded sex code: person (F or M), business or organisation (D), the State (E: offences against the public), and 'code not in the NYPD's list' for L, which its codebook does not explain. |
victim_sex | string | observed | The victim's sex code as recorded: F, M, D, E or L (see victim_type). |
victim_age_group | string | derived | <18, 18-24, 25-44, 45-64, 65+, UNKNOWN, or INVALID CODE for a recorded value not on the NYPD's list. Empty: Empty where the NYPD's file prints (null); not the same as UNKNOWN. |
suspect_sex | string | observed | F, M or U (unknown) as recorded. Empty: Empty where the NYPD's file prints (null); U is a recorded value. |
suspect_age_group | string | derived | As victim_age_group, for the suspect. Empty: Empty where the NYPD's file prints (null); not the same as UNKNOWN. |
report_delay_days | integer | derived | Days from the day the offence began to the day it was reported. |
reporting_window_mature | boolean | derived | Whether the month has had at least a full calendar month after it for late reports: true when the file's report cutoff reaches the end of the following month. A reporting-window flag, not a guarantee of final counts. |
missing_values.csv: Every empty cell, counted and explained
For every column of every CSV here that has empty cells: how many, what share, and why they are empty (not published, not applicable, or blank in the source).
| Column | Type | Class | What it is |
|---|---|---|---|
file | string | derived | CSV file name. |
column | string | derived | Column name. |
rows | integer | derived | Rows in the file. |
empty | integer | derived | Empty cells in the column. |
share_empty | number | derived | empty / rows. |
why_empty | string | derived | Why the cells are empty. |
data_dictionary.csv: Data dictionary
Column names, types, definitions, value classes and licence layers for every CSV in this dataset.
| Column | Type | Class | What it is |
|---|---|---|---|
file | string | derived | The file the column is in. |
column | string | derived | The column's name. |
type | string | derived | string, integer, number or boolean. |
class | string | derived | How the values were obtained or calculated: observed, published_estimate, modelled, derived, or mixed (varies by row; the row's method column says which). Separate from layer: derived here means a calculation. |
layer | string | derived | The licence layer that applies: government (the publisher's terms), derived (SparkyData's, CC BY 4.0) or mixed (by row). |
description | string | derived | What the column holds, and why it can be empty. |
sources.csv: Sources and provenance
Every source the files are built from: publisher, title, links, when it was retrieved (in Coordinated Universal Time, UTC), the SHA-256 checksum and name of the saved copy (to verify the file), where in it the figures are, and its terms.
| Column | Type | Class | What it is |
|---|---|---|---|
source_id | string | derived | The source's id, as events.csv and transit_major_felonies_fiscal.csv cite it. |
publisher | string | observed | Who publishes it. |
title | string | observed | Its title. |
landing_page | string | observed | The page that describes it. |
url | string | observed | The address it was fetched from (for open-data tables, the query that counted the records). |
retrieved_utc | string | observed | When it was fetched, in Coordinated Universal Time (a date can differ by one from a local date). |
sha256 | string | observed | The SHA-256 checksum of the saved copy, to verify the file. |
saved_as | string | derived | The saved copy's path in SparkyData's repository (data/raw is a cache; data/reference is kept). |
locator | string | derived | Where in the source the figures used are (an indicator, a chart, a clause). Empty: Empty where no locator is needed: the figures come from the whole table, or the whole document. |
terms | string | observed | The terms the source is published under, as recorded at retrieval. |
Licence and credit
Mixed licensing: government-source values remain under their publishers' terms; SparkyData's additions are Creative Commons Attribution 4.0 (CC BY 4.0); the code is MIT. The layer column of data_dictionary.csv gives the layer of every column.
Government records. Government records are reproduced or counted under their publishers' terms, which continue to apply; SparkyData does not relicense them.
What we added. SparkyData's own additions are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/): the monthly rides before March 2020, the estimated entries, the rates, the fiscal-year rides, the station matches, the flags, events.csv, QUESTIONS.md, missing_values.csv and the documentation.
Code. build_dataset.py, analysis.py and the code cells of the three notebooks are MIT; the notebooks' text is CC BY 4.0, and their printed outputs carry the layers of the files they read.
Each publisher's terms and the full notices: LICENSE.md.
Credit it as:
SparkyData (2026). NYC Subway Crime Rates and Ridership, 1998–2026 (version 2.2). SparkyData additions CC BY 4.0; government-source data under publisher terms; code MIT.
https://sparkydata.dev/data/nyc-subway-crime-and-ridership
Sources (53): each with its retrieval date; the SHA-256 of each saved copy is in sources.csv
- NYPD (via NYC Open Data): NYPD Complaint Data Historic, complaints on the subway summed by month, law category and offense, retrieved 2026-09-26
- NYPD (via NYC Open Data): NYPD Complaint Data Current (Year To Date), complaints on the subway summed by month, law category and offense, retrieved 2026-09-26
- NYPD (via NYC Open Data): NYPD Complaint Data Historic, felony assaults and other offenses related to theft on the subway, by month and offence code, retrieved 2026-10-11
- NYPD (via NYC Open Data): NYPD Complaint Data Current (Year To Date), felony assaults and other offenses related to theft on the subway, by month and offence code, retrieved 2026-10-11
- NYPD (via NYC Open Data): NYPD Complaint Data Historic: first and last report dates and last occurrence date in the file, retrieved 2026-10-11
- NYPD (via NYC Open Data): NYPD Complaint Data Current (Year To Date): first and last report dates and last occurrence date in the file, retrieved 2026-10-11
- NYPD (via NYC Open Data): NYPD Complaint Data Historic, complaints on the subway summed by day, time, report date, offence, code, station, place and victim group, retrieved 2026-10-19
- NYPD (via NYC Open Data): NYPD Complaint Data Current (Year To Date), complaints on the subway summed by day, time, report date, offence, code, station, place and victim group, retrieved 2026-10-19
- NYPD (via NYC Open Data): NYPD Complaint Data Historic, the subway's complaints with their descriptive fields (no complaint number, no race), retrieved 2026-10-19
- NYPD (via NYC Open Data): NYPD Complaint Data Current (Year To Date), the subway's complaints with their descriptive fields (no complaint number, no race), retrieved 2026-10-19
- NYPD (via NYC Open Data): NYPD Complaint Data Historic, every complaint in the city summed by month, law category and offence, retrieved 2026-10-19
- NYPD (via NYC Open Data): NYPD Complaint Data Current (Year To Date), every complaint in the city summed by month, law category and offence, retrieved 2026-10-19
- NYPD (via NYC Open Data): NYPD Complaint Data Historic, complaints on New York City Transit buses, at bus stops and at bus terminals, by month, premises, law category and offence, retrieved 2026-10-19
- NYPD (via NYC Open Data): NYPD Complaint Data Current (Year To Date), complaints on New York City Transit buses, at bus stops and at bus terminals, by month, premises, law category and offence, retrieved 2026-10-19
- NYPD (via NYC Open Data): NYPD Arrests Data (Historic), arrests in the Transit jurisdiction by month, law category and offence code, retrieved 2026-10-19
- NYPD (via NYC Open Data): NYPD Arrest Data (Year to Date), arrests in the Transit jurisdiction by month, law category and offence code, retrieved 2026-10-19
- NYPD (Administrative Code 14-172 report): Subway Fare Evasion Arrest and Summons Reports, quarterly, 2017 Q4 to 2026 Q2 (70 files), retrieved 2026-10-22
- Metropolitan Transportation Authority (via data.ny.gov): MTA Daily Ridership and Traffic: Beginning 2020, retrieved 2026-11-02
- Metropolitan Transportation Authority (via data.ny.gov): MTA Daily Ridership Data: 2020 - 2025, retrieved 2026-09-06
- Metropolitan Transportation Authority (via data.ny.gov): MTA Subway Station Monthly Ridership: Beginning February 2017, retrieved 2026-11-02
- Metropolitan Transportation Authority (via data.ny.gov): MTA Subway Stations, retrieved 2026-11-02
- Metropolitan Transportation Authority (developer data): MTA New York City Transit subway schedule (GTFS static feed), retrieved 2026-11-02
- Metropolitan Transportation Authority (via data.ny.gov): MTA Subway Hourly Ridership (2017-2019, 2020-2024 and from 2025), entries summed by day, hour and mode, one file a year (10 files), retrieved 2026-11-02
- Metropolitan Transportation Authority (via data.ny.gov): MTA NYCT Subway Fare Evasion: Beginning 2018, retrieved 2026-11-02
- NYU Rudin Center for Transportation: Subway Ridership 1975-2015 (NYU Rudin Center for Transportation, March 2017), retrieved 2026-10-08
- Metropolitan Transportation Authority: MTA: Subway and bus ridership for 2019 (annual totals 2014-2019), retrieved 2026-10-08
- Metropolitan Transportation Authority: MTA: Subway and bus ridership for 2023 (annual totals 2018-2023), retrieved 2026-10-08
- Metropolitan Transportation Authority: MTA: Subway and bus ridership for 2024, retrieved 2026-10-08
- NYC Department of Homeless Services (NYC Open Data): DHS Daily Report (Historical) — the shelter census, 21 August 2013 to 28 February 2021, retrieved 2026-10-16
- NYC Department of Homeless Services (NYC Open Data): DHS Daily Report — individuals in the NYC Department of Homeless Services shelter system, retrieved 2026-10-05
- NOAA National Centers for Environmental Information: NOAA NCEI Global Historical Climatology Network - Daily, New York Central Park (USW00094728), by-station file, retrieved 2026-10-02
- U.S. Census Bureau, Population Division: Annual Intercensal County Resident Population Estimates by Selected Age Groups and Sex, New York: April 1, 2010 to April 1, 2020, retrieved 2026-09-26
- U.S. Census Bureau, Population Division: County Population Estimates by Selected Age Groups and Sex, New York: April 1, 2020 to July 1, 2025 (Vintage 2025), retrieved 2026-09-26
- NYC Mayor's Office of Operations: Mayor's Management Report, Fiscal 2001: Volume I (Fire Department), retrieved 2026-10-02
- NYC Mayor's Office of Operations: Mayor's Management Report, Fiscal 2004 (Fire Department section), retrieved 2026-10-03
- NYC Mayor's Office of Operations: Mayor's Management Report, Fiscal 2006 (Fire Department section), retrieved 2026-10-02
- NYC Mayor's Office of Operations (via NYC Open Data): FY03 - FY12 MMR Agency Performance Indicators (NYPD rows), retrieved 2026-10-08
- NYC Mayor's Office of Operations: Mayor's Management Report, Fiscal 2016: New York City Police Department chapter, retrieved 2026-10-08
- NYC Mayor's Office of Operations: Mayor's Management Report, Fiscal 2021: New York City Police Department chapter, retrieved 2026-10-08
- NYC Mayor's Office of Operations: Mayor's Management Report, Fiscal 2026: New York City Police Department chapter, retrieved 2026-10-08
- New York State Legislature (Senate legislation API): New York State Assembly bill A.10491 (2022): assaults upon certain employees of a transit agency or authority, retrieved 2026-10-11
- New York State Legislature (Senate legislation API): New York State budget bill S.8305-C / A.8805-C (2024), public protection and general government: Part A, assault on a retail worker, retrieved 2026-10-07
- New York State Legislature (Senate legislation API): New York State Assembly bill A.3340 (2023): sex offenses, the definition of rape, retrieved 2026-10-11
- New York City Police Department: NYPD Transit Bureau (nyc.gov page), retrieved 2026-10-15
- Office of the Governor of New York (press release, 20 March 2020; Internet Archive copy of 1 October 2026): Governor Cuomo Signs the 'New York State on PAUSE' Executive Order, retrieved 2026-10-19
- Metropolitan Transportation Authority (press release, May 2021; Internet Archive copy of 18 May 2026): MTA to Restore 24-Hour Subway Service on Monday, May 17, retrieved 2026-10-19
- NYC Office of the Mayor: Mayor Adams Releases Subway Safety Plan, Says Safe Subway is Prerequisite for New York City's Recovery (press release), retrieved 2026-10-15
- NYC Office of the Mayor: Mayor Adams and Governor Hochul Announce Major Actions to Keep Subways Safe and Address Transit Crime (press release), retrieved 2026-10-15
- Metropolitan Transportation Authority (press release, 18 August 2023; Internet Archive copy of 18 May 2026): REMINDER: New Fares on Subway, Buses and Commuter Railroads to Begin Aug. 20, retrieved 2026-10-19
- ABC (WTVD), reporting Governor Hochul's announcement: New York governor to deploy National Guard, state police to combat NYC subway crime (ABC, 7 March 2024), retrieved 2026-10-15
- Metropolitan Transportation Authority (press release, 18 November 2024; Internet Archive copy of 12 June 2026): MTA Board Approves Phasing In the Congestion Relief Zone Toll, retrieved 2026-09-29
- Spectrum News NY1: NYPD to deploy 1,050 more officers into subway stations, Hochul says (NY1, 16 January 2025), retrieved 2026-10-15
- Metropolitan Transportation Authority (press release, 30 September 2025; Internet Archive copy of 21 May 2026): MTA Board Adopts Fare and Toll Increases to Take Effect January 2026, retrieved 2026-10-19
Versions (5)
- 1.0 (): First release.
- 1.1 (): After an outside review: the licence marked as mixed, with
LICENSE.mdand the publishers' terms; a Start here section with a tested example; the by-code complaint table; flags for the ride method, the legal changes and incomplete months in the annual and long tables; source file names and locators insources.csv. Corrected: paid rides are classed as mixed (counted from March 2020); late-report cells for 2026 are empty rather than zero; the rape row ofevents.csvrecords signing only. No count, ride or rate changed. - 2.0 (): A wider dataset, built around twenty-five research questions (
QUESTIONS.md), with a card written as a story. Added: complaints by day (with that day's rides and weather), by hour, by station complex (with station entries and the station-matching table), by victim group and by reporting delay; every complaint as its own row, for learning and training; Transit arrests; recorded crime across the whole city, on buses, bus rides, population and the shelter census; the MTA's station counts summed by month, an observed check on the modelled months before March 2020;missing_values.csv; and the lockdown, the overnight closure, two fare increases and congestion pricing inevents.csv. The code table now holds every offence code. Corrected: theft of services is code 478 under key code 343 everywhere; the card no longer says its complaints rose "while enforcement rose" without the arrests that show the recording changed. No count, ride or rate in the files of version 1.1 changed. - 2.1 (): After an outside review: an observed denominator beside the modelled one, the MTA's station entries, in the monthly table from February 2017 (with rates) and by day and hour from the MTA's hourly ridership, so hourly complaint rates are possible;
denominator_comparison.csvshows the headline comparison on three denominators. Station rates gain 90% intervals and the share matched surely, andsubway_stations_2023_2025.csvpools three years with a shrunk rate for ranking and a reliability flag.fare_evasion_measures_quarterly.csvsets four records of fare evasion side by side, adding the NYPD's quarterly arrest and summons reports. Added a classroom version of the record file, the subway as a network from the MTA's timetable with its station list, three tested notebooks and a validation report. Renamed: complete to reporting_window_mature (and months_incomplete to months_window_open), with the snapshot date and the days since each month ended; the fiscal file's measure to major_felonies_transit_system. Station matching corrected: a place whose coordinates sit far from the station it names (ROOSEVELT ISLAND beside Astoria Blvd) now goes to the station named, and names with ordinals or only generic words (7TH AVENUE, JUNCTION BLVD.) match by name; the share matched by name within 300 metres rose from 92% to 93%. The MTA's station-monthly table is used to February 2026, its last whole month, so station_sum_rides stops there and monthly station entries come from the hourly tables. The monthly, annual and fiscal counts, paid rides and their rates did not change; station counts moved where the matching did. A second outside review then tightened the release: the hourly file is by day of the week; every analytical file carries the reporting-window, definition or method fields that apply to its rows; the pooled station file ranks against the pooled rate of its complexes, with an exposure flag (expected_at_least_10), shares matched by name for the six major felonies, and full and partial accessibility apart; the station table's agreement with the hourly counts is stated as measured (within 0.1%); and the victim and report-delay files are checked offence by offence. - 2.2 (): The card and the page cut from about 19,000 words to about 3,000 (owner, 22 October): the pitch, how to start, the files, the cautions and the licence stay on them; the terms, every join, the reading notes, the full method and the full version notes move to
GUIDE.md, the columns todata_dictionary.csv(and each file's description), and the questions after the first five toQUESTIONS.md. Three pictures from the article: the cover and two charts. No file, column, count or rate changed.
The article gives the charts, the uncertainty of each comparison and its own changelog. Corrections and questions: sparkytech.dev@gmail.com, or see corrections.