The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 5 new columns ({'location', 'type_of_area_affected', 'description', 'weapon_system', 'id'}) and 5 missing columns ({'value', 'nameImpurity', 'civharm_id', 'city', 'coordinateNumber'}).
This happened while the csv dataset builder was generating data using
hf://datasets/dmytrobuhai/ukrainian_air_quality_daily_pollution_in_wartime/ukr_harm.csv (at revision e14dbf44712ec6eeace9cff55cf369effc29bd32)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 644, in write_table
pa_table = table_cast(pa_table, self._schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
id: string
date: string
location: string
description: string
type_of_area_affected: string
weapon_system: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 980
to
{'date': Value('string'), 'city': Value('string'), 'coordinateNumber': Value('float64'), 'nameImpurity': Value('string'), 'value': Value('float64'), 'civharm_id': Value('string')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1456, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1055, in convert_to_parquet
builder.download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 894, in download_and_prepare
self._download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 970, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1833, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 5 new columns ({'location', 'type_of_area_affected', 'description', 'weapon_system', 'id'}) and 5 missing columns ({'value', 'nameImpurity', 'civharm_id', 'city', 'coordinateNumber'}).
This happened while the csv dataset builder was generating data using
hf://datasets/dmytrobuhai/ukrainian_air_quality_daily_pollution_in_wartime/ukr_harm.csv (at revision e14dbf44712ec6eeace9cff55cf369effc29bd32)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
date string | city string | coordinateNumber float64 | nameImpurity string | value float64 | civharm_id string |
|---|---|---|---|---|---|
2024-03-01 | Київ | 5,053,050 | Suspended Particles | 0.078385 | ['HOLTMC'] |
2024-03-01 | Київ | 5,053,050 | Sulfur Dioxide | 0.091884 | ['HOLTMC'] |
2024-03-01 | Київ | 5,053,050 | Sulfates | 0.019 | ['HOLTMC'] |
2024-03-01 | Київ | 5,053,050 | Carbon Monoxide | 0.977813 | ['HOLTMC'] |
2024-03-01 | Київ | 5,053,050 | Nitrogen Dioxide | 0.115013 | ['HOLTMC'] |
2024-03-01 | Київ | 5,053,050 | Hydrogen Sulfide | 0.001717 | ['HOLTMC'] |
2024-03-01 | Київ | 5,053,050 | Phenol | 0.002671 | ['HOLTMC'] |
2024-03-01 | Київ | 5,053,050 | Hydrogen Fluoride | 0.000764 | ['HOLTMC'] |
2024-03-01 | Київ | 5,053,050 | Hydrogen Chloride | 0.061505 | ['HOLTMC'] |
2024-03-01 | Київ | 5,053,050 | Ammonia | 0.006856 | ['HOLTMC'] |
2024-03-01 | Київ | 5,053,050 | Formaldehyde | 0.004665 | ['HOLTMC'] |
2024-03-01 | Вінниця | 4,922,860 | Suspended Particles | 0.3 | ['HOLTMC'] |
2024-03-01 | Вінниця | 4,922,860 | Sulfur Dioxide | 0.001025 | ['HOLTMC'] |
2024-03-01 | Вінниця | 4,922,860 | Carbon Monoxide | 0.85 | ['HOLTMC'] |
2024-03-01 | Вінниця | 4,922,860 | Nitrogen Dioxide | 0.069175 | ['HOLTMC'] |
2024-03-01 | Вінниця | 4,922,860 | Hydrogen Fluoride | 0.013525 | ['HOLTMC'] |
2024-03-01 | Вінниця | 4,922,860 | Ammonia | 0.0125 | ['HOLTMC'] |
2024-03-01 | Вінниця | 4,922,860 | Formaldehyde | null | ['HOLTMC'] |
2024-03-01 | Луцьк | 5,082,530 | Suspended Particles | 0.05 | ['HOLTMC'] |
2024-03-01 | Луцьк | 5,082,530 | Sulfur Dioxide | 0.0022 | ['HOLTMC'] |
2024-03-01 | Луцьк | 5,082,530 | Sulfates | 0.01 | ['HOLTMC'] |
2024-03-01 | Луцьк | 5,082,530 | Carbon Monoxide | 0.166667 | ['HOLTMC'] |
2024-03-01 | Луцьк | 5,082,530 | Nitrogen Dioxide | 0.132267 | ['HOLTMC'] |
2024-03-01 | Луцьк | 5,082,530 | Nitric Oxide | 0.08225 | ['HOLTMC'] |
2024-03-01 | Луцьк | 5,082,530 | Phenol | 0.006617 | ['HOLTMC'] |
2024-03-01 | Луцьк | 5,082,530 | Formaldehyde | 0.00565 | ['HOLTMC'] |
2024-03-01 | Ужгород | 4,862,230 | Suspended Particles | 0.1625 | ['HOLTMC'] |
2024-03-01 | Ужгород | 4,862,230 | Sulfur Dioxide | 0.017 | ['HOLTMC'] |
2024-03-01 | Ужгород | 4,862,230 | Sulfates | 0.0065 | ['HOLTMC'] |
2024-03-01 | Ужгород | 4,862,230 | Carbon Monoxide | 1.4425 | ['HOLTMC'] |
2024-03-01 | Ужгород | 4,862,230 | Nitrogen Dioxide | 0.071625 | ['HOLTMC'] |
2024-03-01 | Ужгород | 4,862,230 | Nitric Oxide | 0.024 | ['HOLTMC'] |
2024-03-01 | Ужгород | 4,862,230 | Formaldehyde | 0.009375 | ['HOLTMC'] |
2024-03-01 | Запоріжжя | 4,793,510 | Suspended Particles | 0.15 | ['HOLTMC'] |
2024-03-01 | Запоріжжя | 4,793,510 | Sulfur Dioxide | 0.007557 | ['HOLTMC'] |
2024-03-01 | Запоріжжя | 4,793,510 | Sulfates | 0.015 | ['HOLTMC'] |
2024-03-01 | Запоріжжя | 4,793,510 | Carbon Monoxide | 0.39 | ['HOLTMC'] |
2024-03-01 | Запоріжжя | 4,793,510 | Nitrogen Dioxide | 0.074779 | ['HOLTMC'] |
2024-03-01 | Запоріжжя | 4,793,510 | Nitric Oxide | 0.054433 | ['HOLTMC'] |
2024-03-01 | Запоріжжя | 4,793,510 | Hydrogen Sulfide | 0.002927 | ['HOLTMC'] |
2024-03-01 | Запоріжжя | 4,793,510 | Phenol | 0.00487 | ['HOLTMC'] |
2024-03-01 | Запоріжжя | 4,793,510 | Hydrogen Fluoride | 0.0004 | ['HOLTMC'] |
2024-03-01 | Запоріжжя | 4,793,510 | Hydrogen Chloride | 0.03885 | ['HOLTMC'] |
2024-03-01 | Запоріжжя | 4,793,510 | Formaldehyde | 0.0063 | ['HOLTMC'] |
2024-03-01 | Івано-Франківськ | 4,892,470 | Suspended Particles | 0.105 | ['HOLTMC'] |
2024-03-01 | Івано-Франківськ | 4,892,470 | Sulfur Dioxide | 0.0084 | ['HOLTMC'] |
2024-03-01 | Івано-Франківськ | 4,892,470 | Carbon Monoxide | 1.8 | ['HOLTMC'] |
2024-03-01 | Івано-Франківськ | 4,892,470 | Nitrogen Dioxide | 0.042825 | ['HOLTMC'] |
2024-03-01 | Івано-Франківськ | 4,892,470 | Nitric Oxide | 0.028275 | ['HOLTMC'] |
2024-03-01 | Дніпро | 4,863,510 | Suspended Particles | 0.2875 | ['HOLTMC'] |
2024-03-01 | Дніпро | 4,863,510 | Sulfur Dioxide | 0.017708 | ['HOLTMC'] |
2024-03-01 | Дніпро | 4,863,510 | Carbon Monoxide | 2.25 | ['HOLTMC'] |
2024-03-01 | Дніпро | 4,863,510 | Nitrogen Dioxide | 0.06 | ['HOLTMC'] |
2024-03-01 | Дніпро | 4,863,510 | Nitric Oxide | 0.0375 | ['HOLTMC'] |
2024-03-01 | Дніпро | 4,863,510 | Hydrogen Sulfide | 0.002042 | ['HOLTMC'] |
2024-03-01 | Дніпро | 4,863,510 | Phenol | 0.002167 | ['HOLTMC'] |
2024-03-01 | Дніпро | 4,863,510 | Ammonia | 0.03875 | ['HOLTMC'] |
2024-03-01 | Дніпро | 4,863,510 | Formaldehyde | 0.010833 | ['HOLTMC'] |
2024-03-01 | Кривий Ріг | 4,793,340 | Suspended Particles | 0.41 | ['HOLTMC'] |
2024-03-01 | Кривий Ріг | 4,793,340 | Sulfur Dioxide | 0.027538 | ['HOLTMC'] |
2024-03-01 | Кривий Ріг | 4,793,340 | Carbon Monoxide | 1.7 | ['HOLTMC'] |
2024-03-01 | Кривий Ріг | 4,793,340 | Nitrogen Dioxide | 0.024615 | ['HOLTMC'] |
2024-03-01 | Кривий Ріг | 4,793,340 | Nitric Oxide | 0.013333 | ['HOLTMC'] |
2024-03-01 | Кривий Ріг | 4,793,340 | Hydrogen Sulfide | 0.001 | ['HOLTMC'] |
2024-03-01 | Кривий Ріг | 4,793,340 | Phenol | 0.0021 | ['HOLTMC'] |
2024-03-01 | Кривий Ріг | 4,793,340 | Ammonia | 0.01 | ['HOLTMC'] |
2024-03-01 | Кривий Ріг | 4,793,340 | Formaldehyde | 0.00735 | ['HOLTMC'] |
2024-03-01 | Кам'янське | 4,853,460 | Suspended Particles | 0.272075 | ['HOLTMC'] |
2024-03-01 | Кам'янське | 4,853,460 | Sulfur Dioxide | 0.0062 | ['HOLTMC'] |
2024-03-01 | Кам'янське | 4,853,460 | Carbon Monoxide | 2.75 | ['HOLTMC'] |
2024-03-01 | Кам'янське | 4,853,460 | Nitrogen Dioxide | 0.101188 | ['HOLTMC'] |
2024-03-01 | Кам'янське | 4,853,460 | Nitric Oxide | null | ['HOLTMC'] |
2024-03-01 | Кам'янське | 4,853,460 | Hydrogen Sulfide | 0.004229 | ['HOLTMC'] |
2024-03-01 | Кам'янське | 4,853,460 | Phenol | 0.005713 | ['HOLTMC'] |
2024-03-01 | Кам'янське | 4,853,460 | Ammonia | 0.051375 | ['HOLTMC'] |
2024-03-01 | Кам'янське | 4,853,460 | Formaldehyde | 0.006175 | ['HOLTMC'] |
2024-03-01 | Краматорськ | 4,873,760 | Suspended Particles | 0.075 | ['HOLTMC'] |
2024-03-01 | Краматорськ | 4,873,760 | Sulfur Dioxide | 0.006275 | ['HOLTMC'] |
2024-03-01 | Краматорськ | 4,873,760 | Carbon Monoxide | 2 | ['HOLTMC'] |
2024-03-01 | Краматорськ | 4,873,760 | Nitrogen Dioxide | 0.1058 | ['HOLTMC'] |
2024-03-01 | Краматорськ | 4,873,760 | Phenol | 0.000825 | ['HOLTMC'] |
2024-03-01 | Краматорськ | 4,873,760 | Hydrogen Fluoride | 0.00735 | ['HOLTMC'] |
2024-03-01 | Краматорськ | 4,873,760 | Formaldehyde | 0.0006 | ['HOLTMC'] |
2024-03-01 | Кропивницький | 4,853,220 | Suspended Particles | 0.166667 | ['HOLTMC'] |
2024-03-01 | Кропивницький | 4,853,220 | Sulfur Dioxide | 0.0193 | ['HOLTMC'] |
2024-03-01 | Кропивницький | 4,853,220 | Sulfates | 0.005 | ['HOLTMC'] |
2024-03-01 | Кропивницький | 4,853,220 | Carbon Monoxide | 2.666667 | ['HOLTMC'] |
2024-03-01 | Кропивницький | 4,853,220 | Nitrogen Dioxide | 0.026167 | ['HOLTMC'] |
2024-03-01 | Кропивницький | 4,853,220 | Nitric Oxide | 0.0147 | ['HOLTMC'] |
2024-03-01 | Кропивницький | 4,853,220 | Soot | 0.041667 | ['HOLTMC'] |
2024-03-01 | Кропивницький | 4,853,220 | Formaldehyde | 0.003767 | ['HOLTMC'] |
2024-03-01 | Світловодськ | 4,903,340 | Suspended Particles | 0.15 | ['HOLTMC'] |
2024-03-01 | Світловодськ | 4,903,340 | Sulfur Dioxide | 0.008267 | ['HOLTMC'] |
2024-03-01 | Світловодськ | 4,903,340 | Sulfates | 0 | ['HOLTMC'] |
2024-03-01 | Світловодськ | 4,903,340 | Carbon Monoxide | 1 | ['HOLTMC'] |
2024-03-01 | Світловодськ | 4,903,340 | Nitrogen Dioxide | 0.047667 | ['HOLTMC'] |
2024-03-01 | Світловодськ | 4,903,340 | Nitric Oxide | 0.020067 | ['HOLTMC'] |
2024-03-01 | Світловодськ | 4,903,340 | Formaldehyde | 0.0011 | ['HOLTMC'] |
2024-03-01 | Львів | 4,982,410 | Suspended Particles | 0.1575 | ['HOLTMC'] |
2024-03-01 | Львів | 4,982,410 | Sulfur Dioxide | 0.0048 | ['HOLTMC'] |
This dataset presents daily measurements of air pollution across more than 35 Ukrainian cities during the years 2024–2025, collected from official open government sources. Each row represents a specific measurement of an air pollutant (e.g., sulfur dioxide, ammonia, soot) in a given city on a particular day.
To enrich the contextual dimension of this dataset, we included open-source incident data on civilian harm resulting from missile and drone strikes.
#🟢 Tasks Using Pollution Data (pollution_dataset.csv)
- 1️⃣ Time Series Forecasting: Air Pollution Prediction
- 2️⃣ Anomaly Detection in Air Quality (Detect unusual pollution spikes that deviate from normal patterns)
- 3️⃣ Clustering of Cities by Pollution Profiles
#🔴 Tasks Using Civilian Harm Data (ukr_harm.csv)
- 4️⃣ NLP: Attack Event Categorization (Classify attack descriptions into predefined categories)
- 5️⃣ Location-Based Risk Modeling (Assess the likelihood of future attacks in specific cities based on past trends)
#🟡 Tasks Using Both Datasets Together
- 6️⃣ Impact of War on Air Quality
- 7️⃣ Predicting Civilian Harm from Air Pollution Data
- 8️⃣ Spatio-Temporal Heatmaps of Pollution and Attacks
📂pollution_dataset.csv
Daily city-level air quality data from official Ukrainian sources
| Feature | Description |
|---|---|
| Date | Observation date (YYYY-MM-DD) |
| City | Ukrainian city name (in Ukrainian) |
| CoordinateNumber | Station coordinate ID |
| NameImpurity | Name of pollutant (translated to English) |
| Value | Daily measurement of pollutant |
| Civharm_id | Optional ID of conflict incident (if any) by date |
📌 Source: UKRAINIAN HYDROMETEOROLOGICAL CENTER OF THE STATE EMERGENCY SERVICE OF UKRAINE
📎 License: Creative Commons Attribution 4.0
📅 Coverage: Jan 2024 – Feb 2025
🗂 Format: Compiled from 14 CSV/XLSX monthly reports
📂 ukr_harm.csv
Crowdsourced database of attacks impacting civilians during the war
| Feature | Description |
|---|---|
| id | Unique identifier for the incident |
| date | Date of the attack |
| location | City or region where the attack occurred |
| description | Short summary of the incident (may include civilian harm references) |
| type_of_area_affected | List of affected infrastructure types (e.g. Residential, Healthcare, etc.) |
| weapon_system | List of weapon types used (if available) |
📌 Source: Bellingcat's Ukraine Civilian Harm Map.
🧾 Descriptions are based on open-source visual evidence (social media, geolocation, and video analysis)
⚠️ Disclaimer: Content may include references to violence or casualties; viewer discretion advised.
🔍 Data Cleaning & Standardization
Geolocation data was removed from ukr_harm.csv to protect privacy. Non-essential metadata was excluded. City names were standardized to match available locations in pollution_dataset.csv.
⚠️ Ethical Notice
This dataset was compiled for public research and academic analysis. The conflict layer may reference sensitive content, including descriptions of civilian casualties, destruction of infrastructure, and military-related terms.
➡️ Use respectfully and responsibly.
- Downloads last month
- 16