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
raw_link: string
title: string
context: string
source: string
source_record_id: string
source_url: string
record_type: string
source_license: string
license_note: string
published_date: string
description: string
numeric_mentions: list<item: string>
child 0, item: string
numeric_evidence: list<item: struct<title: string, source_url: string, file_type: string, sheets: list<item: struct<sh (... 167 chars omitted)
child 0, item: struct<title: string, source_url: string, file_type: string, sheets: list<item: struct<sheet_name: s (... 155 chars omitted)
child 0, title: string
child 1, source_url: string
child 2, file_type: string
child 3, sheets: list<item: struct<sheet_name: string, sample_rows: list<item: list<item: string>>, sample_row_count: (... 36 chars omitted)
child 0, item: struct<sheet_name: string, sample_rows: list<item: list<item: string>>, sample_row_count: int64, sam (... 24 chars omitted)
child 0, sheet_name: string
child 1, sample_rows: list<item: list<item: string>>
child 0, item: list<item: string>
child 0, item: string
child 2, sample_row_count: int64
child 3, sample_column_count: int64
child 4, sheet_count_total: int64
child 5, sampling_note: string
task_hint: string
attachments: list<item: null>
child 0, item: null
domain: string
subdomain: string
matched_subdomain_folder: string
record_id: string
total_records: int64
record_counts_by_folder: struct<analysis_result_summary_ons_statistical_bulletins_numeric_data: int64, analysis_result_summar (... 36 chars omitted)
child 0, analysis_result_summary_ons_statistical_bulletins_numeric_data: int64
child 1, analysis_result_summary_owid_articles_numeric_data: int64
sources: list<item: struct<source: string, url: string, terms_url: string, license: string, faq_url: string, (... 27 chars omitted)
child 0, item: struct<source: string, url: string, terms_url: string, license: string, faq_url: string, chart_api_d (... 15 chars omitted)
child 0, source: string
child 1, url: string
child 2, terms_url: string
child 3, license: string
child 4, faq_url: string
child 5, chart_api_doc_url: string
collection_limits: struct<max_ons_records: int64, max_owid_records: int64, max_numeric_sources_per_record: int64, max_r (... 86 chars omitted)
child 0, max_ons_records: int64
child 1, max_owid_records: int64
child 2, max_numeric_sources_per_record: int64
child 3, max_rows_per_numeric_source: int64
child 4, max_sheets_per_excel: int64
child 5, max_download_bytes: int64
record_counts_by_source: struct<Office for National Statistics analysis and statistical bulletins: int64, Our World in Data a (... 41 chars omitted)
child 0, Office for National Statistics analysis and statistical bulletins: int64
child 1, Our World in Data articles with Grapher numeric data: int64
to
{'domain': Value('string'), 'subdomain': Value('string'), 'total_records': Value('int64'), 'record_counts_by_folder': {'analysis_result_summary_ons_statistical_bulletins_numeric_data': Value('int64'), 'analysis_result_summary_owid_articles_numeric_data': Value('int64')}, 'record_counts_by_source': {'Office for National Statistics analysis and statistical bulletins': Value('int64'), 'Our World in Data articles with Grapher numeric data': Value('int64')}, 'collection_limits': {'max_ons_records': Value('int64'), 'max_owid_records': Value('int64'), 'max_numeric_sources_per_record': Value('int64'), 'max_rows_per_numeric_source': Value('int64'), 'max_sheets_per_excel': Value('int64'), 'max_download_bytes': Value('int64')}, 'sources': List({'source': Value('string'), 'url': Value('string'), 'terms_url': Value('string'), 'license': Value('string'), 'faq_url': Value('string'), 'chart_api_doc_url': Value('string')})}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
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 127, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 478, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2818, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2355, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2380, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
raw_link: string
title: string
context: string
source: string
source_record_id: string
source_url: string
record_type: string
source_license: string
license_note: string
published_date: string
description: string
numeric_mentions: list<item: string>
child 0, item: string
numeric_evidence: list<item: struct<title: string, source_url: string, file_type: string, sheets: list<item: struct<sh (... 167 chars omitted)
child 0, item: struct<title: string, source_url: string, file_type: string, sheets: list<item: struct<sheet_name: s (... 155 chars omitted)
child 0, title: string
child 1, source_url: string
child 2, file_type: string
child 3, sheets: list<item: struct<sheet_name: string, sample_rows: list<item: list<item: string>>, sample_row_count: (... 36 chars omitted)
child 0, item: struct<sheet_name: string, sample_rows: list<item: list<item: string>>, sample_row_count: int64, sam (... 24 chars omitted)
child 0, sheet_name: string
child 1, sample_rows: list<item: list<item: string>>
child 0, item: list<item: string>
child 0, item: string
child 2, sample_row_count: int64
child 3, sample_column_count: int64
child 4, sheet_count_total: int64
child 5, sampling_note: string
task_hint: string
attachments: list<item: null>
child 0, item: null
domain: string
subdomain: string
matched_subdomain_folder: string
record_id: string
total_records: int64
record_counts_by_folder: struct<analysis_result_summary_ons_statistical_bulletins_numeric_data: int64, analysis_result_summar (... 36 chars omitted)
child 0, analysis_result_summary_ons_statistical_bulletins_numeric_data: int64
child 1, analysis_result_summary_owid_articles_numeric_data: int64
sources: list<item: struct<source: string, url: string, terms_url: string, license: string, faq_url: string, (... 27 chars omitted)
child 0, item: struct<source: string, url: string, terms_url: string, license: string, faq_url: string, chart_api_d (... 15 chars omitted)
child 0, source: string
child 1, url: string
child 2, terms_url: string
child 3, license: string
child 4, faq_url: string
child 5, chart_api_doc_url: string
collection_limits: struct<max_ons_records: int64, max_owid_records: int64, max_numeric_sources_per_record: int64, max_r (... 86 chars omitted)
child 0, max_ons_records: int64
child 1, max_owid_records: int64
child 2, max_numeric_sources_per_record: int64
child 3, max_rows_per_numeric_source: int64
child 4, max_sheets_per_excel: int64
child 5, max_download_bytes: int64
record_counts_by_source: struct<Office for National Statistics analysis and statistical bulletins: int64, Our World in Data a (... 41 chars omitted)
child 0, Office for National Statistics analysis and statistical bulletins: int64
child 1, Our World in Data articles with Grapher numeric data: int64
to
{'domain': Value('string'), 'subdomain': Value('string'), 'total_records': Value('int64'), 'record_counts_by_folder': {'analysis_result_summary_ons_statistical_bulletins_numeric_data': Value('int64'), 'analysis_result_summary_owid_articles_numeric_data': Value('int64')}, 'record_counts_by_source': {'Office for National Statistics analysis and statistical bulletins': Value('int64'), 'Our World in Data articles with Grapher numeric data': Value('int64')}, 'collection_limits': {'max_ons_records': Value('int64'), 'max_owid_records': Value('int64'), 'max_numeric_sources_per_record': Value('int64'), 'max_rows_per_numeric_source': Value('int64'), 'max_sheets_per_excel': Value('int64'), 'max_download_bytes': Value('int64')}, 'sources': List({'source': Value('string'), 'url': Value('string'), 'terms_url': Value('string'), 'license': Value('string'), 'faq_url': Value('string'), 'chart_api_doc_url': Value('string')})}
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.
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
- Downloads last month
- 3