Skip to content

The Data ​

RideScore DC publishes two artifacts: a data package (Parquet files, the road network and safety scores) and a serving bundle (SQL, deciding what a map on the website may show). npm run data downloads both and loads them into your local database; the Full Stack Developer Guide covers the loading commands.

The currently published data set that is shown on the website comes from public Open Data DC: the roadway block network, crash records, and the Washington DC boundary.

The three datasets ​

DatasetRowsOne row is
road_segment13,829one block of road, with attributes and geometry
crashes2,224one crash that injured or killed a cyclist, positioned
ridescore_v1_scores13,829the safety score and its components for one block

road_segment ​

ColumnMeaning
segment_idthe block's durable identity (DDOT BLOCKKEY); feedback is stored against it
tile_idinteger for MapLibre feature-state — per build, not durable
route_id, route_namethe street the block belongs to
functionLocal, Collector, Minor Arterial, Principal/Primary Arterial, Other Freeway and Expressway, Interstate, Other
num_lanes_raw / num_laneslane count as published / with missing values filled in
speed_limit_raw / speed_limitmph as published / with missing values filled in
bike_facility_typenone, painted_lane, buffered_lane, protected_track
parking_presence, road_width, pavement_condition, slow_streetstreet attributes as published (width is the total cross-section)
lensegment length
crash_count_5yr, serious_injury_count_5yr, fatal_count_5yrcrashes attached to the block within the run's five-year window
geometrysimplified line geometry

A Civic Tech DC project