Query with SQL
duckdb -csv -c "SELECT c.\"ntsbNumber\", c.\"eventDate\", c.\"eventType\", c.\"eventCity\", c.\"eventStateOrRegion\", a.n_number, a.\"aircraftMake\", a.\"aircraftModel\", c.\"highestInjuryLevel\", c.\"totalFatal\", c.\"completionStatus\", c.report_url
FROM 'https://openairdocs.org/data/latest/ntsb_aircrafts.parquet' a JOIN 'https://openairdocs.org/data/latest/ntsb_case_detail.parquet' c ON c.\"mKey\" = a.case_mkey
WHERE a.aircraft_model_code IN ('207590C')
ORDER BY c.\"eventDate\" DESC, c.\"ntsbNumber\" DESC"Prints the whole list as CSV. It reads the release’s Parquet files over HTTPS, so there’s nothing to download first. Install DuckDB to run it.
SELECT c."ntsbNumber", c."eventDate", c."eventType", c."eventCity", c."eventStateOrRegion", a.n_number, a."aircraftMake", a."aircraftModel", c."highestInjuryLevel", c."totalFatal", c."completionStatus", c.report_url
FROM 'https://openairdocs.org/data/latest/ntsb_aircrafts.parquet' a JOIN 'https://openairdocs.org/data/latest/ntsb_case_detail.parquet' c ON c."mKey" = a.case_mkey
WHERE a.aircraft_model_code IN ('207590C')
ORDER BY c."eventDate" DESC, c."ntsbNumber" DESCRun it at the DuckDB prompt, or in any tool that reads Parquet over HTTPS. More ways to query the release are on Use the data.
NTSB MKC71FCQ15Accident · No injuriesClosedCessna 401 · Baxter Sprgs, KSNTSB MIA70FKQ12Accident · No injuriesClosedCessna 401 · Brookhaven, MSNTSB IAD70AI061Accident · 1 fatalClosedCessna 401 · Spruce Pine, NCNTSB CHI70AC040Accident · 5 fatalClosedCessna 401 · Piketon, OHNTSB DIA69F0094Accident · Serious injuriesClosedCessna 401 · Hopewell, VANTSB NYC68A0136Accident · 6 fatalClosedCessna 401 · Mohrsville, PANTSB NYC68A0074Accident · 1 fatalClosedCessna 401 · Whitefield, NHNTSB MIA67A0088Accident · 1 fatalClosedCessna 401 · Anderson, SC
Back to Cessna 401