NTSB investigations, OR
482 cases where the phase of flight was Maneuvering.
Cases, newest first
Query with SQL
duckdb -csv -c "WITH phase_names(main, name) AS (VALUES (100, 'Prior to flight'), (150, 'Standing'), (200, 'Pushback/towing'), (250, 'Taxi'), (300, 'Takeoff'), (350, 'Initial climb'), (400, 'Enroute'), (450, 'Maneuvering'), (500, 'Approach'), (550, 'Landing'), (600, 'Emergency descent'), (650, 'Uncontrolled descent'), (700, 'Post-impact'), (750, 'After landing'), (800, 'Other'), (990, 'Unknown')),
crosswalk(code, main, name) AS (VALUES (500, 150, 'Standing'), (501, 150, 'Standing - pre-flight'), (502, 150, 'Standing - starting engine(s)'), (503, 150, 'Standing - engine(s) operating'), (504, 150, 'Standing - engine(s) not operating'), (505, 150, 'Standing - idling rotors'), (510, 250, 'Taxi'), (511, 200, 'Taxi - pushback/tow'), (512, 250, 'Taxi - to takeoff'), (513, 250, 'Taxi - from landing'), (514, 250, 'Taxi - aerial'), (520, 300, 'Takeoff'), (521, 300, 'Takeoff - roll/run'), (522, 350, 'Takeoff - initial climb'), (523, 300, 'Takeoff - aborted'), (530, 400, 'Climb'), (531, 400, 'Climb - to cruise'), (540, 400, 'Cruise'), (541, 400, 'Cruise - normal'), (542, 400, 'Maneuvering - holding (IFR)'), (550, 400, 'Descent'), (551, 400, 'Descent - normal'), (552, 600, 'Descent - emergency'), (553, 650, 'Descent - uncontrolled'), (560, 500, 'Approach'), (561, 500, 'Approach - VFR pattern - downwind'), (562, 500, 'Approach - VFR pattern - base turn'), (563, 500, 'Approach - VFR pattern - base leg/base to final'), (564, 500, 'Approach - VFR pattern - final approach'), (565, 500, 'Go-around (VFR)'), (566, 500, 'Approach - IAF to FAF/outer marker (IFR)'), (567, 500, 'Approach - FAF/outer marker to threshold (IFR)'), (568, 500, 'Circling (IFR)'), (569, 500, 'Missed approach (IFR)'), (570, 550, 'Landing'), (571, 550, 'Landing - flare/touchdown'), (572, 550, 'Landing - roll'), (573, 550, 'Landing - aborted'), (574, 550, 'Emergency landing'), (575, 550, 'Emergency landing after takeoff'), (576, 600, 'Emergency descent/landing'), (580, 450, 'Maneuvering'), (581, 450, 'Maneuvering - aerial application'), (582, 450, 'Maneuvering - turn to reverse direction'), (583, 450, 'Maneuvering - turn to landing area (emergency)'), (590, 450, 'Hover'), (591, 450, 'Hover - in ground effect'), (592, 450, 'Hover - out of ground effect'), (600, 800, 'Other'), (610, 990, 'Unknown')),
current_codes AS (
SELECT e.case_mkey, TRY_CAST(e.\"tier1Number\" AS INTEGER) AS code,
row_number() OVER (PARTITION BY e.case_mkey ORDER BY coalesce(e.\"isDefiningEvent\", false) DESC, e.position) AS n
FROM 'https://openairdocs.org/data/latest/ntsb_events.parquet' e
WHERE e.aircrafts_position = 1 AND e.\"tier1Number\" GLOB '[1-9][0-9]*'
AND (e.\"isDefiningEvent\" OR e.case_mkey IN (SELECT \"mKey\" FROM 'https://openairdocs.org/data/latest/ntsb_case_detail.parquet' WHERE \"isPre1982\"))
),
phases AS (
SELECT case_mkey, 'current' AS scheme, code, CASE WHEN code >= 990 THEN 990 ELSE code // 50 * 50 END AS main
FROM current_codes WHERE n = 1
UNION ALL
SELECT o.case_mkey, 'older', o.\"phaseOfFlightCode\", w.main
FROM 'https://openairdocs.org/data/latest/ntsb_occurrences.parquet' o JOIN crosswalk w ON w.code = o.\"phaseOfFlightCode\"
WHERE o.aircrafts_position = 1 AND o.\"occurrenceNumber\" = 1 AND o.case_mkey NOT IN (SELECT case_mkey FROM current_codes)
),
case_phases AS (
SELECT p.*, c.\"eventDate\", c.\"highestInjuryLevel\" = 'Fatal' AS fatal, a.aircraft_model_code
FROM phases p JOIN 'https://openairdocs.org/data/latest/ntsb_case_detail.parquet' c ON c.\"mKey\" = p.case_mkey
LEFT JOIN 'https://openairdocs.org/data/latest/ntsb_aircrafts.parquet' a ON a.case_mkey = p.case_mkey AND a.position = 1
WHERE c.\"eventDate\" >= DATE '1962-01-01' AND p.main IN (SELECT main FROM phase_names)
)
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_case_detail.parquet' c LEFT JOIN 'https://openairdocs.org/data/latest/ntsb_aircrafts.parquet' a ON a.case_mkey = c.\"mKey\" AND a.position = 1
WHERE c.\"eventStateOrRegion\" = 'OR' AND c.\"eventCountry\" = 'USA'
AND c.\"mKey\" IN (SELECT case_mkey FROM case_phases WHERE main = 450)
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.
WITH phase_names(main, name) AS (VALUES (100, 'Prior to flight'), (150, 'Standing'), (200, 'Pushback/towing'), (250, 'Taxi'), (300, 'Takeoff'), (350, 'Initial climb'), (400, 'Enroute'), (450, 'Maneuvering'), (500, 'Approach'), (550, 'Landing'), (600, 'Emergency descent'), (650, 'Uncontrolled descent'), (700, 'Post-impact'), (750, 'After landing'), (800, 'Other'), (990, 'Unknown')),
crosswalk(code, main, name) AS (VALUES (500, 150, 'Standing'), (501, 150, 'Standing - pre-flight'), (502, 150, 'Standing - starting engine(s)'), (503, 150, 'Standing - engine(s) operating'), (504, 150, 'Standing - engine(s) not operating'), (505, 150, 'Standing - idling rotors'), (510, 250, 'Taxi'), (511, 200, 'Taxi - pushback/tow'), (512, 250, 'Taxi - to takeoff'), (513, 250, 'Taxi - from landing'), (514, 250, 'Taxi - aerial'), (520, 300, 'Takeoff'), (521, 300, 'Takeoff - roll/run'), (522, 350, 'Takeoff - initial climb'), (523, 300, 'Takeoff - aborted'), (530, 400, 'Climb'), (531, 400, 'Climb - to cruise'), (540, 400, 'Cruise'), (541, 400, 'Cruise - normal'), (542, 400, 'Maneuvering - holding (IFR)'), (550, 400, 'Descent'), (551, 400, 'Descent - normal'), (552, 600, 'Descent - emergency'), (553, 650, 'Descent - uncontrolled'), (560, 500, 'Approach'), (561, 500, 'Approach - VFR pattern - downwind'), (562, 500, 'Approach - VFR pattern - base turn'), (563, 500, 'Approach - VFR pattern - base leg/base to final'), (564, 500, 'Approach - VFR pattern - final approach'), (565, 500, 'Go-around (VFR)'), (566, 500, 'Approach - IAF to FAF/outer marker (IFR)'), (567, 500, 'Approach - FAF/outer marker to threshold (IFR)'), (568, 500, 'Circling (IFR)'), (569, 500, 'Missed approach (IFR)'), (570, 550, 'Landing'), (571, 550, 'Landing - flare/touchdown'), (572, 550, 'Landing - roll'), (573, 550, 'Landing - aborted'), (574, 550, 'Emergency landing'), (575, 550, 'Emergency landing after takeoff'), (576, 600, 'Emergency descent/landing'), (580, 450, 'Maneuvering'), (581, 450, 'Maneuvering - aerial application'), (582, 450, 'Maneuvering - turn to reverse direction'), (583, 450, 'Maneuvering - turn to landing area (emergency)'), (590, 450, 'Hover'), (591, 450, 'Hover - in ground effect'), (592, 450, 'Hover - out of ground effect'), (600, 800, 'Other'), (610, 990, 'Unknown')),
current_codes AS (
SELECT e.case_mkey, TRY_CAST(e."tier1Number" AS INTEGER) AS code,
row_number() OVER (PARTITION BY e.case_mkey ORDER BY coalesce(e."isDefiningEvent", false) DESC, e.position) AS n
FROM 'https://openairdocs.org/data/latest/ntsb_events.parquet' e
WHERE e.aircrafts_position = 1 AND e."tier1Number" GLOB '[1-9][0-9]*'
AND (e."isDefiningEvent" OR e.case_mkey IN (SELECT "mKey" FROM 'https://openairdocs.org/data/latest/ntsb_case_detail.parquet' WHERE "isPre1982"))
),
phases AS (
SELECT case_mkey, 'current' AS scheme, code, CASE WHEN code >= 990 THEN 990 ELSE code // 50 * 50 END AS main
FROM current_codes WHERE n = 1
UNION ALL
SELECT o.case_mkey, 'older', o."phaseOfFlightCode", w.main
FROM 'https://openairdocs.org/data/latest/ntsb_occurrences.parquet' o JOIN crosswalk w ON w.code = o."phaseOfFlightCode"
WHERE o.aircrafts_position = 1 AND o."occurrenceNumber" = 1 AND o.case_mkey NOT IN (SELECT case_mkey FROM current_codes)
),
case_phases AS (
SELECT p.*, c."eventDate", c."highestInjuryLevel" = 'Fatal' AS fatal, a.aircraft_model_code
FROM phases p JOIN 'https://openairdocs.org/data/latest/ntsb_case_detail.parquet' c ON c."mKey" = p.case_mkey
LEFT JOIN 'https://openairdocs.org/data/latest/ntsb_aircrafts.parquet' a ON a.case_mkey = p.case_mkey AND a.position = 1
WHERE c."eventDate" >= DATE '1962-01-01' AND p.main IN (SELECT main FROM phase_names)
)
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_case_detail.parquet' c LEFT JOIN 'https://openairdocs.org/data/latest/ntsb_aircrafts.parquet' a ON a.case_mkey = c."mKey" AND a.position = 1
WHERE c."eventStateOrRegion" = 'OR' AND c."eventCountry" = 'USA'
AND c."mKey" IN (SELECT case_mkey FROM case_phases WHERE main = 450)
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 SEA77DYK22Accident · No injuriesClosedCessna 150L · Tenmile, ORNTSB SEA77FYA31Accident · Serious injuriesClosedCallair A9B · Adrian, ORNTSB SEA77DYA29Accident · No injuriesClosedCessna 188A · Ontario, ORNTSB SEA77FYM44Accident · 1 fatalClosedBellanca 8KCAB · Ukiah, ORNTSB SEA77DYK15Accident · Minor injuriesClosedGrumman G-164A · Klamath Falls, ORNTSB SEA77FYM41Accident · 1 fatalClosedPitts S1 · Forrest Grove, ORNTSB SEA77DYM34Accident · Serious injuriesClosedHiller Acft UH-12C · Albany, ORNTSB SEA77FYM32Accident · 1 fatalClosedCessna 150M · Independence, ORNTSB SEA77DYM30Accident · No injuriesClosedCallair A9 · Pilot Rock, ORNTSB SEA77DYM27Accident · No injuriesClosedCessna 188B · Albany, ORNTSB SEA77DYM19Accident · No injuriesClosedCessna 188 · Hood River, ORNTSB SEA77DYM16Accident · No injuriesClosedPiper PA-36 · Forest Grove, ORNTSB SEA76DYC58Accident · Serious injuriesClosedBell 47G-4A · Lostine, ORNTSB SEA76FYC57Accident · Minor injuriesClosedCessna A188A · Moiser, ORNTSB SEA76FYC45Accident · Serious injuriesClosedHiller Acft UH-12E · Tillamook, ORNTSB SEA76FYC43Accident · 1 fatalClosedSnow S2A · Heppner, ORNTSB SEA76DYC39Accident · No injuriesClosedGrumman G-164 · Condon, ORNTSB SEA76FYC37Accident · Serious injuriesClosedCallair A-9B · Pendelton, ORNTSB SEA76FYC26Accident · Minor injuriesClosedHiller Acft UH-12D · Nehalem, ORNTSB SEA76FYC11Accident · 1 fatalClosedCallair A-9B · Pendleton, ORNTSB SEA76DYC10Accident · No injuriesClosedCessna A188B · Jefferson, ORNTSB SEA76AS007Accident · 1 fatalClosedPiper PA-28 · Sheridan, ORNTSB SEA75AYI28Accident · Serious injuriesClosedBoeing A75N1 · Malin, ORNTSB SEA75DYC42Accident · No injuriesClosedHiller Acft UH-12D · Manzanita, ORNTSB SEA75AS044Accident · 1 fatalClosedAmer Avco AA1-A · Portland, ORNTSB SEA75AS030Accident · 1 fatalClosedBellanca 7KCAB · Hillsboro, ORNTSB SEA75AS024Accident · 1 fatalClosedCessna 120 · Wasco, ORNTSB SEA75DYC17Accident · Minor injuriesClosedPiper PA-18A · Friend, ORNTSB SEA75FYI10Accident · No injuriesClosedBoeing A75N1 · Wilbur, ORNTSB SEA74FYI13Accident · Serious injuriesClosedStearman A75N1 · Klamath Flls, ORNTSB SEA74DYA43Accident · No injuriesClosedCessna 188 · Nyssa, ORNTSB SEA74FYC56Accident · 1 fatalClosedMay Flybaby 1 · Salem, ORNTSB SEA74DYC54Accident · Minor injuriesClosedBell 47G-3B · North Powder, ORNTSB SEA74FYC47Accident · 1 fatalClosedPiper PA-25 · Corvallis, ORNTSB SEA74FYC44Accident · 1 fatalClosedPiper J3C-65 · Cornelius, ORNTSB FTW74DYC52Accident · No injuriesClosedBell 47G3B1 · Lebanon, ORNTSB SEA74FYC39Accident · No injuriesClosedHiller Acft UH-12E · Sublimity, ORNTSB SEA74FYC38Accident · Serious injuriesClosedCallair A-9B · Beaverton, ORNTSB SEA74DYC31Accident · Minor injuriesClosedCallair A-5T · Siletz, ORNTSB SEA74FYC22Accident · No injuriesClosedPiper PA-36 · Newberg, ORNTSB SEA74AS016Accident · 3 fatalClosedCessna 172L · Chiloquin, ORNTSB SEA74AS005Accident · 2 fatalClosedCessna 177 · Prospect, ORNTSB SEA74DYA04Accident · Serious injuriesClosedPiper PA-28 · Ironside, ORNTSB SEA74FYC01Accident · Serious injuriesClosedStory MK-7 · Monmouth, ORNTSB SEA74DYI04Accident · No injuriesClosedPiper PA-25 · Burns, ORNTSB SEA73FYC37Accident · Serious injuriesClosedBell 47G-3B · Warm Springs, ORNTSB SEA73DYI16Accident · No injuriesClosedBoeing A75 · Marlin, ORNTSB SEA73DYC31Accident · No injuriesClosedCessna 150 · Salem, ORNTSB SEA73FYC24Accident · No injuriesClosedKaman K-600 · Pilot Rock, ORNTSB SEA73FYC21Accident · No injuriesClosedCallair A-9B · Helix, OR