sweetapricity commited on
Commit
89744ed
·
verified ·
1 Parent(s): 9b17423

Add dataset card for nbi

Browse files
Files changed (1) hide show
  1. README.md +149 -0
README.md ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - en
5
+ tags:
6
+ - bridge
7
+ - infrastructure
8
+ - national-bridge-inventory
9
+ - fhwa
10
+ - deterioration
11
+ - civil-engineering
12
+ - united-states
13
+ - nbi
14
+ pretty_name: Bridgedeck — National Bridge Inventory (2000–2023)
15
+ size_categories:
16
+ - 1M<n<10M
17
+ ---
18
+
19
+ # Bridgedeck — National Bridge Inventory (2000–2023)
20
+
21
+ Part of the **bridgedeck** dataset collection for US bridge deck deterioration research.
22
+
23
+ ## Overview
24
+
25
+ Cleaned and parsed National Bridge Inventory (NBI) records for all US states,
26
+ 2000–2023. One row per bridge per inspection year. Covers structural properties,
27
+ geometry, materials, traffic, condition ratings, and a derived 5-year deck
28
+ deterioration target.
29
+
30
+ The NBI is the backbone of the bridgedeck dataset — all other datasets
31
+ (PRISM, NOAA, NSHM, NFHL, Salt) are joined to it via `bridge_id` or `county_fips`.
32
+
33
+ ## Source
34
+
35
+ **Source:** [FHWA National Bridge Inventory](https://www.fhwa.dot.gov/bridge/nbi/ascii.cfm)
36
+
37
+ **Coverage:** All 50 states + DC + PR, 2000–2023 (1,248 raw `.txt` files)
38
+
39
+ **Reference:** [NBI Recording and Coding Guide (FHWA)](https://www.fhwa.dot.gov/bridge/mtguide.pdf)
40
+
41
+ ## Schema
42
+
43
+ One row per `(bridge_id, year)`. Primary key: `(bridge_id, year)`.
44
+
45
+ ### Identifiers & Location
46
+
47
+ | Column | Type | Description |
48
+ |--------|------|-------------|
49
+ | `bridge_id` | str | `{state_fips}_{county_fips}_{structure_number}` — primary key |
50
+ | `year` | int | Inspection year (2000–2023) |
51
+ | `state_code` | str | 2-digit FIPS state code (e.g. `"48"` = TX) |
52
+ | `county_code` | str | 3-digit FIPS county code |
53
+ | `county_fips` | str | `state_code + county_code` — used to join NOAA storm data |
54
+ | `structure_number` | str | FHWA structure number (whitespace-stripped) |
55
+ | `latitude` | float | Decimal degrees WGS-84 North |
56
+ | `longitude` | float | Decimal degrees WGS-84 West (negative) |
57
+
58
+ ### Design & Material
59
+
60
+ | Column | NBI Item | Description |
61
+ |--------|----------|-------------|
62
+ | `year_built` | 027 | Year of original construction |
63
+ | `year_reconstructed` | 106 | Year of major reconstruction; `0` = never reconstructed |
64
+ | `main_span_material` | 043A | Main span material (`1`=Concrete, `3`=Steel, `5`=PSC, `7`=Wood) |
65
+ | `main_span_design` | 043B | Main span design type (`01`=Slab, `02`=Stringer, `05`=Box Beam) |
66
+ | `deck_structure_type` | 107 | Deck type (`1`=CIP Concrete, `2`=Precast, `3`=Open Grating) |
67
+ | `wearing_surface_type` | 108A | Wearing surface (`0`=Monolithic, `1`=Bituminous, `4`=Epoxy) |
68
+ | `membrane_type` | 108B | Waterproofing membrane (`0`=None, `1`=Built-up, `3`=Epoxy) |
69
+ | `deck_protection` | 108C | Rebar protection (`0`=None, `1`=Epoxy, `2`=Galvanized, `4`=Cathodic) |
70
+ | `design_load` | 031 | Design load standard (`5`=MS18+, `A`=HL-93) |
71
+ | `num_spans_main` | 045 | Number of spans in main unit |
72
+ | `max_span_length` | 048 | Maximum span length (metres) |
73
+ | `structure_length` | 049 | Total structure length (metres) |
74
+ | `deck_width` | 052 | Out-to-out deck width (metres) |
75
+ | `scour_critical` | 113 | Scour criticality (`3`=Critical, `8`=Not critical, `N`=Not over water) |
76
+
77
+ ### Operational
78
+
79
+ | Column | NBI Item | Description |
80
+ |--------|----------|-------------|
81
+ | `adt` | 029 | Average Daily Traffic (vehicles/day) |
82
+ | `adtt_pct` | 109 | Truck percentage of ADT (%) |
83
+ | `operating_rating` | 064 | Operating load rating (metric tons) |
84
+ | `functional_class` | 026 | Route classification (`01`=Rural Interstate, `09`=Rural Local) |
85
+
86
+ ### Condition Ratings (0–9 scale: 9=Excellent, 0=Failed)
87
+
88
+ | Column | NBI Item | Description |
89
+ |--------|----------|-------------|
90
+ | `deck_cond` | 058 | Deck condition rating — primary ML target source |
91
+ | `superstructure_cond` | 059 | Superstructure condition rating |
92
+ | `substructure_cond` | 060 | Substructure condition rating |
93
+ | `culvert_cond` | 062 | Culvert condition rating (`N` for non-culverts) |
94
+
95
+ ### Derived Features & Target
96
+
97
+ | Column | Description |
98
+ |--------|-------------|
99
+ | `bridge_id` | Synthetic primary key: `{state_code}_{county_code}_{structure_number}` |
100
+ | `age` | `year − year_built`; negative values set to NaN |
101
+ | `deck_area` | `deck_width × structure_length` (m²) |
102
+ | `deck_cond_num` | `deck_cond` cast to integer; culverts (`N`) filtered out |
103
+ | `future_deck_cond_5yr` | Deck rating at `year + 5`; NaN if no future inspection |
104
+ | `deck_drop_5yr` | **ML target**: 1 if deck dropped ≥1 point in 5yr, 0 if stable, NaN if censored/repaired |
105
+
106
+ ## ML Target (`deck_drop_5yr`)
107
+
108
+ Binary classification: did this bridge's deck condition rating drop by ≥ 1 point
109
+ within the next 5 years?
110
+
111
+ | Value | Meaning |
112
+ |-------|---------|
113
+ | `1` | Deck rating at `t+5` is at least 1 point lower → deteriorated |
114
+ | `0` | Deck rating at `t+5` is the same → stable |
115
+ | `NaN` | Censored (no future inspection) or repaired (rating went up) |
116
+
117
+ Positive rate: ~25% (5-year horizon). Rows from 2019–2023 are censored (no future data).
118
+
119
+ ## Data Quality Notes
120
+
121
+ - Zero-encoded coordinates (`LAT=00000000`) are dropped.
122
+ - Longitude values outside `[-180, 0]` are dropped.
123
+ - Only NBI record type `1` (main records) is kept; continuation records are excluded.
124
+ - Culverts (`deck_cond = 'N'`) are excluded from the ML panel.
125
+ - Duplicate bridge records (same `bridge_id` + `year`) are deduplicated by keeping the first.
126
+
127
+ ## Join Key
128
+
129
+ Join other bridgedeck datasets to NBI on:
130
+ - `(bridge_id, year)` for time-varying datasets (PRISM, NOAA)
131
+ - `bridge_id` for static datasets (NSHM, NFHL)
132
+ - `state_code` for state-level datasets (Salt)
133
+
134
+ ## Related Datasets
135
+
136
+ | Repo | Description |
137
+ |------|-------------|
138
+ | `sweetapricity/bridgedeck-nbi` | **This dataset** — National Bridge Inventory, 2000–2023 |
139
+ | `sweetapricity/bridgedeck-prism` | PRISM climate features at bridge locations, 2000–2023 |
140
+ | `sweetapricity/bridgedeck-noaa` | NOAA storm event counts by county, 2000–2023 |
141
+ | `sweetapricity/bridgedeck-nshm` | USGS seismic hazard at bridge locations (static) |
142
+ | `sweetapricity/bridgedeck-nfhl` | FEMA flood zone classification at bridge locations (static) |
143
+ | `sweetapricity/bridgedeck-salt` | USGS road salt tiers by state (static) |
144
+
145
+ ## Paper
146
+
147
+ > Ibrahim, A., Abdelkhalek, S., Zayed, T., Qureshi, A. H., & Mohammed Abdelkader, E.
148
+ > (2024). A comprehensive review of the key deterioration factors of concrete bridge
149
+ > decks. *Buildings*, 14(11), 3425.