MTA Subway Major Incidents: Beginning 2020
Major Incidents are incidents that delay 50 or more trains, which cause the most disruption to customers. This dataset covers data from 2020 and on. For data between 2015 and 2019, use dataset https://data.ny.gov/Transportation/MTA-Subway-Major-Incidents-2015-2019/ereg-mcvp.
Querying over HTTP
Splitgraph serves as an HTTP API that lets you run SQL queries directly on
this data to power Web applications. For example:
curl https://data.splitgraph.com/sql/query/ddn \
-H "Content-Type: application/json" \
-d@-<<EOF
{"sql": "
SELECT *
FROM \"ny-gov/mta-subway-major-incidents-beginning-2020-j6d2-s8m2\".\"mta_subway_major_incidents_beginning_2020\"
LIMIT 100
"}
EOF
See the Splitgraph documentation
for more information.