Oilpriceapi commited on
Commit
c22b4ff
·
verified ·
1 Parent(s): 0e1bcb5

Initial dataset card

Browse files
Files changed (1) hide show
  1. README.md +206 -0
README.md ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc0-1.0
3
+ task_categories:
4
+ - tabular-classification
5
+ - tabular-regression
6
+ - time-series-forecasting
7
+ - text-classification
8
+ language:
9
+ - en
10
+ tags:
11
+ - energy
12
+ - oil-and-gas
13
+ - upstream
14
+ - well-permits
15
+ - geospatial
16
+ - public-domain
17
+ - government-data
18
+ pretty_name: US Oil & Gas Well Permits (27 States)
19
+ size_categories:
20
+ - 1M<n<10M
21
+ source_datasets:
22
+ - original
23
+ configs:
24
+ - config_name: default
25
+ data_files:
26
+ - split: train
27
+ path: well_permits.parquet
28
+ ---
29
+
30
+ # US Oil & Gas Well Permits — 27 States, 1864–Present
31
+
32
+ **2.2M+ permits across 27 US states.** Public-domain data aggregated from state regulators (TX RRC, CA CalGEM, ND IIC, NM OCD, AK AOGCC, and 22 others) into a single normalized schema with consistent API-number primary keys.
33
+
34
+ > **Snapshot dated 2026-04-17.** This dataset is a frozen point-in-time release — there is no commitment to refresh on a schedule. For daily-updated permits, monthly well production volumes, normalized operator/formation enrichments, and live commodity prices, use the [OilPriceAPI](https://oilpriceapi.com) commercial API.
35
+
36
+ ## Quick start
37
+
38
+ ```python
39
+ from datasets import load_dataset
40
+
41
+ ds = load_dataset("Oilpriceapi/us-well-permits", split="train")
42
+ print(ds[0])
43
+ # {'api_number': '4232133421', 'state_code': 'TX', 'operator_name': 'Pioneer Natural Resources',
44
+ # 'permit_date': '2025-11-14', 'latitude': 31.8473, 'longitude': -102.3677, ...}
45
+ ```
46
+
47
+ ## Why this dataset
48
+
49
+ - **Truly public domain (CC0).** State permit filings are public records — safe for training, finetuning, redistribution, and commercial use. No exchange licenses, no DMCA risk.
50
+ - **Schema-unified across 27 regulators.** Each state agency publishes in its own format (CSV, ArcGIS, PDF, scraped HTML). We unify the raw fields into one consistent column layout so you can query across states without per-state munging.
51
+ - **Stable API-number primary key.** 14-digit API well numbers are reconciled to a single canonical form so wells can be joined across permit, completion, and (commercial) production tables. Raw agency form preserved in `api_number_raw`.
52
+ - **Lat/lon as published by state agencies** for geospatial analysis.
53
+
54
+ ### What's in the commercial API but not here
55
+
56
+ This snapshot omits the higher-effort enrichments that ride on top of the raw data:
57
+
58
+ - **Operator-name normalization** — collapsing "PIONEER NAT RES USA INC", "Pioneer Natural Resources", "Pioneer Nat Res", etc. into a single canonical operator (essential for M&A-aware analytics)
59
+ - **Target-formation normalization** — mapping the long tail of agency-reported formation strings ("WOLFCAMP A", "Wlfcmp-A", "WC-A Spraberry") to a canonical formation
60
+ - **PLSS-validated coordinates** — state-published lat/lon cross-checked against section/township/range
61
+ - **Daily refresh** of new permit filings
62
+ - **Monthly well-level production volumes** (oil BBL / gas MCF / water BBL) — see below
63
+ - **Live commodity prices** for joining permit activity to price signals
64
+
65
+ These power the commercial OilPriceAPI tier.
66
+
67
+ ## State coverage (as of 2026-04-17)
68
+
69
+ | State | Permits | Earliest | Latest |
70
+ | ----- | --------- | ---------- | ---------- |
71
+ | TX | 406,082 | 1966-07-28 | 2026-04-14 |
72
+ | CA | 240,553 | 1867-08-01 | 2026-03-26 |
73
+ | OH | 238,601 | 2011-05-10 | 2023-12-09 |
74
+ | WY | 207,790 | 1900-01-01 | 2025-03-25 |
75
+ | LA | 190,173 | 1902-03-29 | 2026-01-08 |
76
+ | NM | 140,282 | 1973-07-01 | 2025-11-01 |
77
+ | CO | 124,135 | 1898-01-01 | 2026-04-14 |
78
+ | OK | 117,962 | 1901-09-09 | 2026-04-14 |
79
+ | KY | 102,091 | 1900-03-13 | 2025-06-10 |
80
+ | IL | 97,822 | 1900-01-01 | 2025-11-13 |
81
+ | MI | 84,521 | 2025-01-10 | 2026-02-24 |
82
+ | NY | 46,080 | 1864-01-01 | 2026-03-31 |
83
+ | MT | 41,941 | 1890-01-01 | 2026-01-01 |
84
+ | ND | 41,743 | 1904-12-23 | 2026-04-08 |
85
+ | UT | 39,833 | 2026-01-06 | 2026-04-14 |
86
+ | KS | 35,004 | 2025-01-12 | 2026-03-27 |
87
+ | AK | 2,351 | 2025-01-11 | 2026-02-27 |
88
+ | ... | (10 more) | | |
89
+
90
+ **Total: 2,196,000+ permits across 27 states.**
91
+
92
+ ## Historical depth — 162 years of US oil & gas
93
+
94
+ This is one of the longest continuous records of US extractive industry available as a single normalized dataset. The earliest entries predate the Civil War's end:
95
+
96
+ - **Earliest record:** 1864 (NY) — five years after the Drake Well (1859) launched the modern petroleum industry
97
+ - **CA gold-rush-to-oil transition** captured from 1867
98
+ - **Spindletop / early-1900s boom** — IL, WY, MT, KY, CO all carry permits from 1898–1902
99
+ - **Postwar drilling expansion** is the largest era: 847K permits filed 1950–1999
100
+ - **Modern shale era** (Bakken, Permian, Marcellus) — 400K+ permits since 2010
101
+
102
+ ### Permits by era
103
+
104
+ | Era | Permits | Notes |
105
+ | --------- | ------- | --------------------------------------------------- |
106
+ | Pre-1900 | 441 | Civil War through Spindletop precursor |
107
+ | 1900–1949 | 63,934 | Early industrial / early Texas Railroad Commission |
108
+ | 1950–1999 | 846,835 | Postwar drilling boom — the bulk of historical data |
109
+ | 2000–2009 | 187,949 | Pre-shale conventional + early unconventional |
110
+ | 2010–2019 | 166,294 | Shale revolution (Bakken/Eagle Ford/Marcellus) |
111
+ | 2020–2026 | 235,730 | Recent / actively-refreshed |
112
+ | Undated | 694,822 | State legacy records without filing date |
113
+
114
+ ### Why the depth matters
115
+
116
+ - **Long-horizon energy-transition modeling** — calibrate decline curves against decades of vintage wells, not just the modern shale era
117
+ - **Operator-genealogy graphs** — track corporate consolidation across the M&A cycles of 1986, 1998, 2014, 2020
118
+ - **Climate accounting baselines** — pre-1990 well populations are the foundation of methane-emissions-from-legacy-infrastructure inventories
119
+ - **Industrial / economic history** — the only public dataset where you can join a Wyoming permit from 1900 to a Permian permit from 2026 in a single SQL query
120
+
121
+ ## Schema (public snapshot)
122
+
123
+ | Field | Type | Notes |
124
+ | -------------------------- | ------ | -------------------------------------------------------- |
125
+ | `api_number` | string | 14-digit reconciled API well number (primary key) |
126
+ | `api_number_raw` | string | Original format from state agency |
127
+ | `state_code` | string | 2-letter state |
128
+ | `county` | string | |
129
+ | `permit_number` | string | Agency-issued permit ID |
130
+ | `permit_type` | string | New drill, recompletion, plug-back, etc. (as filed) |
131
+ | `permit_status` | string | Approved / pending / cancelled / expired (as filed) |
132
+ | `permit_date` | date | Date permit was filed |
133
+ | `approval_date` | date | |
134
+ | `spud_date` | date | Drilling start |
135
+ | `completion_date` | date | |
136
+ | `operator_name` | string | As reported by state agency (no normalization) |
137
+ | `well_name`, `well_number` | string | |
138
+ | `well_type` | string | Oil / gas / injection / dry hole / etc. (as filed) |
139
+ | `latitude`, `longitude` | float | WGS84, as published by state |
140
+ | `target_formation` | string | As reported (e.g., "WOLFCAMP A", "Bakken", "Eagle Ford") |
141
+ | `total_depth_proposed` | int | Feet |
142
+ | `lease_name` | string | |
143
+ | `source` | string | Originating state agency |
144
+ | `source_url` | string | Direct URL to source filing |
145
+ | `data_as_of` | date | When this row was last fetched from the agency |
146
+
147
+ Normalized derivative columns (`operator_name_normalized`, `target_formation_normalized`, validated coordinates) are available via the [commercial API](https://oilpriceapi.com).
148
+
149
+ ## Use cases
150
+
151
+ - **Energy supply forecasting** — permit-to-spud-to-production lag models
152
+ - **ESG / methane attribution** — operator-level activity tracking
153
+ - **Geospatial ML** — shale play boundary detection, formation classification
154
+ - **Agent tools** — RAG/agent context for oil-and-gas analyst workflows
155
+ - **Backtesting** — historical permit velocity vs. price signals
156
+
157
+ ## Production data + cohort analysis (commercial)
158
+
159
+ The companion **well-production** dataset — monthly volumes per well (oil BBL, gas MCF, water BBL) — joins to this permit table via `api_number` and powers the analyses operators and lenders actually pay for:
160
+
161
+ - **Vintage cohort type curves** — group wells by spud year/quarter, plot mean and P10/P50/P90 production trajectories. The classic "are 2024 wells outperforming 2023?" question.
162
+ - **IP30 / IP90 / IP180 benchmarking** — initial-production rates by basin, formation, operator, completion vintage.
163
+ - **Cumulative-by-month curves** (CUM6, CUM12, CUM24) — first-year cumulative production as the standard well-economics input.
164
+ - **Decline-curve / EUR fitting** — Arps hyperbolic + exponential fits over multi-year history; estimated ultimate recovery per well, per cohort, per operator.
165
+ - **PDP rollups** — proved-developed-producing volumes for reserve estimates and acquisition diligence.
166
+ - **Lookback well economics** — full-cycle IRR, payback months, breakeven prices, all keyed to the price series in the same OilPriceAPI account.
167
+
168
+ State coverage of the production layer:
169
+
170
+ - **TX (Railroad Commission), AK (AOGCC)** — live in the commercial API
171
+ - **ND, NM, OK, CO, WY** — on the roadmap
172
+
173
+ Cohort analysis endpoints (`/v1/well-production/cycle-time/cohorts`, type curves, decline fits) ship pre-computed via the API so analysts don't have to build the pipeline themselves.
174
+
175
+ ## Live data + commercial API
176
+
177
+ This dataset is a snapshot. For:
178
+
179
+ - **Daily-refreshed permits** as they're filed
180
+ - **Production volumes**
181
+ - **Live oil & gas prices** (Brent, WTI, Henry Hub, regional differentials)
182
+ - **Direct API access** (REST + CSV + WebSocket)
183
+
184
+ → [OilPriceAPI.com](https://oilpriceapi.com) — free tier available, no card required.
185
+
186
+ ## Citation
187
+
188
+ ```bibtex
189
+ @dataset{oilpriceapi_well_permits_2026,
190
+ title = {US Oil & Gas Well Permits (27 States)},
191
+ author = {OilPriceAPI},
192
+ year = {2026},
193
+ url = {https://huggingface.co/datasets/Oilpriceapi/us-well-permits},
194
+ note = {Aggregated public-domain data from US state oil & gas regulators}
195
+ }
196
+ ```
197
+
198
+ ## License
199
+
200
+ **CC0 1.0 Universal** (Public Domain Dedication). Original data is public record from US state regulatory agencies. The aggregation, normalization, and schema are released to the public domain — use commercially, modify, redistribute, no attribution required (though appreciated).
201
+
202
+ ## Maintained by
203
+
204
+ [OilPriceAPI](https://oilpriceapi.com) — energy data infrastructure designed for AI/ML pipelines. Built by Karl, who has been working in AI/ML since the 1990s (expert systems → classical ML → deep learning → LLM agents). Every part of the platform — ingest, normalization, schemas, API shapes — is engineered for the way ML systems actually consume data.
205
+
206
+ Issues / requests: [hello@oilpriceapi.com](mailto:hello@oilpriceapi.com).