The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: ValueError
Message: Seek before start of file
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1827, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/text/text.py", line 92, in _generate_tables
for file in files_iterable:
^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/track.py", line 49, in __iter__
for x in self.generator(*self.args):
~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 1430, in _iter_from_urlpaths
if xisfile(urlpath, download_config=download_config):
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 745, in xisfile
fs, *_ = url_to_fs(path, **storage_options)
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/fsspec/core.py", line 408, in url_to_fs
fs = filesystem(protocol, **inkwargs)
File "/usr/local/lib/python3.14/site-packages/fsspec/registry.py", line 303, in filesystem
return cls(**storage_options)
File "/usr/local/lib/python3.14/site-packages/fsspec/spec.py", line 81, in __call__
obj = super().__call__(*args, **kwargs)
File "<string>", line 3, in __init__
File "/usr/local/lib/python3.14/unittest/mock.py", line 1176, in __call__
return self._mock_call(*args, **kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/unittest/mock.py", line 1180, in _mock_call
return self._execute_mock_call(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/unittest/mock.py", line 1247, in _execute_mock_call
result = effect(*args, **kwargs)
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 750, in track_metadata_read_once
out = func(instance, fo=urlpath, **kwargs)
File "/usr/local/lib/python3.14/site-packages/fsspec/implementations/zip.py", line 62, in __init__
self.zip = zipfile.ZipFile(
~~~~~~~~~~~~~~~^
self.fo,
^^^^^^^^
...<3 lines>...
compresslevel=compresslevel,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/zipfile/__init__.py", line 1472, in __init__
self._RealGetContents()
~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/zipfile/__init__.py", line 1535, in _RealGetContents
endrec = _EndRecData(fp)
File "/usr/local/lib/python3.14/zipfile/__init__.py", line 359, in _EndRecData
fpin.seek(-sizeEndCentDir, 2)
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/fsspec/spec.py", line 1789, in seek
raise ValueError("Seek before start of file")
ValueError: Seek before start of file
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1880, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
text string |
|---|
Data Files Manifest for Replication Archive |
========================================== |
Total size: 31GB (reduced from 272GB in original data folder) |
Total files: ~150 (reduced by removing pre-2018 SIPP data) |
File counts by type: |
- SIPP raw data (zip): 12 files (2018-2023 only) |
- SIPP unzipped data (dta): 6 files (2018-2023 only) |
- SIPP documentation (pdf): 6 files |
- EORA I-O data (txt): ~120 files (5 files per year for 2010-2021) |
- OECD I-O data (rdata): 5 files |
- Documentation/scripts: 3 files |
- Metadata files: 2 files |
Key data sources: |
1. SIPP (Survey of Income and Program Participation): Used for occupation/job transition analysis |
2. EORA Input-Output tables: Used for network analysis of economies |
3. OECD Input-Output data: Alternative I-O data source |
This represents a minimal dataset sufficient for replication. |
1.37882e+05 1.20381e+03 1.45940e+02 1.38146e+03 3.41160e+03 4.71148e+00 6.24066e-01 6.09413e-01 8.46041e-01 1.01323e+00 1.76057e+01 9.49661e-01 2.27595e+01 1.04109e+01 2.36588e-01 5.49796e-01 2.85219e-01 5.84800e-01 2.77605e-01 2.91755e-01 3.77753e-01 4.19389e-01 2.95084e-01 3.92725e-01 9.11994e-01 9.16770e-01 1.48513e... |
6.36488e+03 3.55986e+01 1.03499e+02 8.04146e-01 2.97614e+02 8.04146e-01 1.22334e-01 1.22334e-01 1.17848e-01 1.32607e-01 1.36410e-01 1.32607e-01 1.18363e-01 1.18363e-01 1.60787e-01 1.54757e-01 1.50889e-01 1.54757e-01 1.12523e-01 1.12523e-01 1.06328e-01 1.24938e-01 1.30475e-01 1.24938e-01 1.35008e-01 1.35008e-01 1.44435e... |
1.08101e+04 1.11019e+01 1.14327e+02 3.93601e+02 3.38417e+03 1.40334e+00 4.05252e-01 4.05252e-01 5.06898e-01 5.58471e-01 5.17509e+00 5.58471e-01 3.63859e-01 3.63859e-01 6.00662e-01 6.70031e-01 9.26501e-01 6.70031e-01 2.59661e-01 2.59661e-01 2.83138e-01 3.28938e-01 3.04715e-01 3.28938e-01 5.90763e-01 5.90763e-01 7.11518e... |
8.43853e+05 1.17748e+04 6.81763e-01 6.47842e-01 6.08608e+03 6.47842e-01 3.42222e-01 3.42222e-01 3.75983e-01 4.19000e-01 9.38805e+00 4.19000e-01 2.95066e-01 2.95066e-01 4.50241e-01 4.92641e-01 6.74157e-01 4.92641e-01 2.17357e-01 2.17357e-01 2.26954e-01 2.57430e-01 2.41223e-01 2.57430e-01 4.33761e-01 4.33761e-01 6.01743e... |
1.21220e+05 1.60550e+03 1.50273e+01 6.25572e+03 9.71988e+02 1.51421e+01 5.02520e-01 5.02520e-01 7.06740e-01 7.60379e-01 2.39782e+01 7.60379e-01 3.65444e-01 3.65444e-01 6.94042e-01 6.87248e-01 1.07914e+00 6.87248e-01 1.44314e+01 8.66288e+00 3.49041e-01 4.62940e-01 3.22008e-01 4.62940e-01 7.58268e-01 7.58268e-01 1.45993e... |
6.52086e+04 7.44235e+02 5.16044e+02 1.42257e+03 1.15462e+03 3.92812e+00 2.56307e-01 2.56307e-01 2.70072e-01 3.04826e-01 3.09910e+00 3.04826e-01 2.51004e-01 2.51004e-01 3.64600e-01 4.21556e-01 5.24631e-01 4.21556e-01 1.75950e-01 1.75950e-01 1.75469e-01 2.10914e-01 1.90452e-01 2.10914e-01 3.51904e-01 3.51904e-01 3.45331e... |
3.49044e+05 6.40594e+03 1.21696e+03 4.00539e+03 1.63652e+03 9.97595e+00 4.60584e-01 4.60584e-01 6.43115e-01 6.86247e-01 1.98988e+01 6.86247e-01 1.40270e+00 1.18869e+00 5.19308e-01 5.48226e-01 7.67087e-01 5.48226e-01 2.57606e-01 2.57606e-01 3.01833e-01 3.38662e-01 2.90490e-01 3.38662e-01 6.92538e-01 6.92538e-01 1.27967e... |
1.22333e+04 1.91864e+02 4.46422e+02 1.68723e+04 3.69161e+03 3.98255e+01 4.31642e-01 4.31642e-01 5.86901e-01 6.25507e-01 1.61173e+01 6.25507e-01 2.99066e-01 2.99066e-01 5.55764e-01 5.62044e-01 8.17258e-01 5.62044e-01 2.52501e-01 2.52501e-01 2.90011e-01 3.27965e-01 2.78014e-01 3.27965e-01 6.32475e-01 6.32475e-01 1.03216e... |
2.56625e+05 1.86767e+03 3.24731e+04 4.69030e+05 9.47843e+03 1.07473e+03 5.03207e-01 5.03207e-01 7.04144e-01 7.62021e-01 2.20521e+01 7.62021e-01 3.74198e-01 3.74198e-01 7.30361e-01 7.57814e-01 1.11861e+00 7.57814e-01 2.92496e-01 2.92496e-01 3.47629e-01 3.93618e-01 3.14715e-01 3.93618e-01 7.52061e-01 7.52061e-01 1.44219e... |
2.69916e+05 5.11136e+03 2.69168e+04 1.71363e+05 1.64246e+04 3.92145e+02 3.96929e-01 3.96929e-01 5.08161e-01 5.57471e-01 4.31635e+00 5.57471e-01 3.17187e-01 3.17187e-01 5.51795e-01 5.84953e-01 8.25478e-01 5.84953e-01 2.41026e-01 2.41026e-01 2.70238e-01 3.02057e-01 2.73112e-01 3.02057e-01 5.89671e-01 5.89671e-01 7.13704e... |
9.29372e+04 1.80761e+03 3.98337e+03 3.46812e+04 1.58006e+03 8.02598e+01 4.80150e-01 4.80150e-01 6.68480e-01 7.14727e-01 1.92564e+01 7.14727e-01 3.63345e-01 3.63345e-01 7.00929e-01 7.09524e-01 1.04084e+00 7.09524e-01 2.82604e-01 2.82604e-01 3.31945e-01 3.77523e-01 3.22065e-01 3.77523e-01 7.08192e-01 7.08192e-01 1.23534e... |
5.85683e+04 1.70087e+03 5.08540e+02 5.77581e-01 4.48377e+03 5.77581e-01 4.07444e-01 4.07444e-01 4.52519e-01 5.14884e-01 4.13890e+00 5.14884e-01 3.83504e-01 3.83504e-01 6.00993e-01 6.79689e-01 9.31361e-01 6.79689e-01 2.77529e-01 2.77529e-01 2.95918e-01 3.45131e-01 3.15159e-01 3.45131e-01 5.66136e-01 5.66136e-01 5.89911e... |
2.80279e+05 4.31041e+03 5.97586e-01 5.55373e-01 2.23227e+00 5.55373e-01 1.20723e-01 1.20723e-01 1.16712e-01 1.30984e-01 1.34554e-01 1.30984e-01 1.17154e-01 1.17154e-01 1.58815e-01 1.52918e-01 1.49978e-01 1.52918e-01 1.11093e-01 1.11093e-01 1.05228e-01 1.23385e-01 1.27818e-01 1.23385e-01 1.33720e-01 1.33720e-01 1.43158e... |
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Clean Data Directory for Replication Archive
This directory contains only the data files that are actually used by the replication code.
Directory Structure
data_clean/in/
Input data files used by the analysis:
sipp_raw/: Raw SIPP data files (12 zip files)
- Contains Survey of Income and Program Participation data from 2018-2023 only
- Files follow pattern:
pu{year}_dta.zipandrw{year}_dta.zip
sipp_unzipped/: Pre-unzipped SIPP data files (6 .dta files + 1 metadata file)
- Contains Stata format files ready for processing (2018-2023 only)
SIPP_data_dictionaries/: Documentation for SIPP data
- PDF files with metadata and variable definitions for each year
eora_io_data_{year}/: EORA Input-Output data by year (2010-2021)
- Each year folder contains:
Eora26_{year}_bp_T.txt: Trade matrixEora26_{year}_bp_Q.txt: Satellite accountsEora26_{year}_bp_FD.txt: Final demandEora26_{year}_bp_VA.txt: Value addedlabels_*.txt: Label files for the matrices
- Each year folder contains:
Eora26Structure.xlsx: EORA data structure documentation
oecd_io_data/: OECD Input-Output data
.rdatafiles containing pre-processed OECD I-O tables
getOECD_IO.R: Script for fetching OECD data (included for reference)
data_clean/out/
Output data files created by the analysis:
- sipp_job_panel.csv: Processed SIPP job panel data (created by processSIPP.R)
Notes
The EORA data for years 2010-2021 is included as these years are potentially used in the analysis, even though the main configuration uses 2015-2017.
SIPP data has been limited to years 2018-2023 as these are the only years used in the paper's analysis.
- Downloads last month
- 105