Datasets:
Dataset Viewer
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
title: string
id: string
licenses: list<item: struct<name: string>>
child 0, item: struct<name: string>
child 0, name: string
subtitle: string
description: string
keywords: list<item: string>
child 0, item: string
isPrivate: bool
ufo_per_meteorite: double
meteorite_falls: int64
state: string
year: int64
ufo_sightings: int64
to
{'year': Value('int64'), 'meteorite_falls': Value('int64'), 'ufo_sightings': Value('int64'), 'state': Value('string'), 'ufo_per_meteorite': Value('float64')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
return get_rows(
^^^^^^^^^
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/utils.py", line 77, in get_rows
rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2690, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2227, in __iter__
for key, pa_table in self._iter_arrow():
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2251, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 494, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 384, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 265, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 120, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
title: string
id: string
licenses: list<item: struct<name: string>>
child 0, item: struct<name: string>
child 0, name: string
subtitle: string
description: string
keywords: list<item: string>
child 0, item: string
isPrivate: bool
ufo_per_meteorite: double
meteorite_falls: int64
state: string
year: int64
ufo_sightings: int64
to
{'year': Value('int64'), 'meteorite_falls': Value('int64'), 'ufo_sightings': Value('int64'), 'state': Value('string'), 'ufo_per_meteorite': Value('float64')}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Meteorites vs UFOs: Detection Bias Study
Both meteorite falls and UFO sightings depend on someone looking up at the right time. This dataset puts them side by side, same timeframe, same geography, to see where the patterns diverge.
Three tables in one JSON file:
| Section | Records | What It Is |
|---|---|---|
temporal_comparison |
124 | Year-by-year meteorite falls vs UFO reports (1900-2023) |
state_comparison |
58 | State-level counts and UFO-to-meteorite ratios |
meteorite_detail |
1,097 | Individual witnessed falls with US state assignment |
Dataset Structure
See demo_notebook.ipynb for data exploration examples.
Usage
import json
with open('meteorites_ufos_detection_bias.json') as f:
data = json.load(f)
# Year-by-year comparison
for row in data['temporal_comparison'][-10:]:
print(f"{row['year']}: {row['meteorite_falls']} falls, {row['ufo_sightings']:,} UFO reports")
# Which states have the highest UFO-to-meteorite ratios?
ranked = sorted(
[s for s in data['state_comparison'] if s['ufo_per_meteorite']],
key=lambda x: x['ufo_per_meteorite'],
reverse=True
)
for s in ranked[:5]:
print(f"{s['state']}: {s['ufo_per_meteorite']:,.0f} UFO reports per meteorite fall")
Sources
| Source | License |
|---|---|
| Meteoritical Bulletin (via NASA) | Public Domain |
| National UFO Reporting Center (NUFORC) | Public Domain |
License
CC0-1.0
Author
Luke Steuber · lukesteuber.com · @lukesteuber.com
- Downloads last month
- 35