The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: ArrowInvalid
Message: Failed to parse string: 'R6' as a scalar of type int64
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1848, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2312, in cast_table_to_schema
cast_array_to_feature(
~~~~~~~~~~~~~~~~~~~~~^
table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
feature,
^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1861, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2152, in cast_array_to_feature
return array_cast(
array,
...<2 lines>...
allow_decimal_to_str=allow_decimal_to_str,
)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1863, in wrapper
return func(array, *args, **kwargs)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2015, in array_cast
return array.cast(pa_type)
~~~~~~~~~~^^^^^^^^^
File "pyarrow/array.pxi", line 1161, in pyarrow.lib.Array.cast
File "/usr/local/lib/python3.14/site-packages/pyarrow/compute.py", line 414, in cast
return call_function("cast", [arr], options, memory_pool)
File "pyarrow/_compute.pyx", line 604, in pyarrow._compute.call_function
File "pyarrow/_compute.pyx", line 399, in pyarrow._compute.Function.call
result = GetResultValue(
File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
raise convert_status(status)
pyarrow.lib.ArrowInvalid: Failed to parse string: 'R6' as a scalar of type int64
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.
geo_code int64 | geo_name string | geo_short string | geo_system string | year int64 | value float64 | value_status string | unit string |
|---|---|---|---|---|---|---|---|
0 | Viet Nam | VN | national | 1,995 | 26,142.5 | final | thousand_tons |
0 | Viet Nam | VN | national | 1,996 | 27,935.7 | final | thousand_tons |
0 | Viet Nam | VN | national | 1,997 | 29,182.9 | final | thousand_tons |
0 | Viet Nam | VN | national | 1,998 | 30,758.6 | final | thousand_tons |
0 | Viet Nam | VN | national | 1,999 | 33,150.1 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,000 | 34,538.9 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,001 | 34,272.9 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,002 | 36,960.7 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,003 | 37,706.9 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,004 | 39,581 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,005 | 39,621.6 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,006 | 39,706.2 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,007 | 40,247.4 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,008 | 43,305.4 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,009 | 43,323.4 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,010 | 44,632.2 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,011 | 47,235.5 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,012 | 48,712.6 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,013 | 49,231.6 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,014 | 50,178.5 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,015 | 50,379.5 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,016 | 48,360.2 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,017 | 47,852.2 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,018 | 48,923.4 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,019 | 48,230.9 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,020 | 47,325.5 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,021 | 48,301 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,022 | 47,085.6 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,023 | 47,935.7 | final | thousand_tons |
0 | Viet Nam | VN | national | 2,024 | 47,854.6 | preliminary | thousand_tons |
1 | Ha Noi | HN | historical_63 | 1,995 | 198.9 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 1,996 | 222 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 1,997 | 223.6 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 1,998 | 232.6 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 1,999 | 238.7 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,000 | 256.3 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,001 | 222.4 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,002 | 233.2 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,003 | 231 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,004 | 227.6 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,005 | 215.7 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,006 | 211.7 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,007 | 212.7 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,008 | 1,288.8 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,009 | 1,229.2 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,010 | 1,237.5 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,011 | 1,332.2 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,012 | 1,301.9 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,013 | 1,256.5 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,014 | 1,273.5 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,015 | 1,272 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,016 | 1,206.6 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,017 | 1,145.5 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,018 | 1,108.6 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,019 | 1,047.7 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,020 | 1,044.7 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,021 | 1,053.3 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,022 | 1,024.9 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,023 | 1,003.6 | final | thousand_tons |
1 | Ha Noi | HN | historical_63 | 2,024 | 924 | preliminary | thousand_tons |
2 | Ha Giang | HG | historical_63 | 1,995 | 127.3 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 1,996 | 142.7 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 1,997 | 151 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 1,998 | 162 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 1,999 | 173.5 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,000 | 193.3 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,001 | 210.2 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,002 | 222.8 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,003 | 234.1 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,004 | 239.6 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,005 | 247.5 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,006 | 249 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,007 | 252.5 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,008 | 279.2 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,009 | 308 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,010 | 330.7 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,011 | 357.3 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,012 | 371.7 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,013 | 383.9 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,014 | 386.4 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,015 | 390.2 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,016 | 395.7 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,017 | 397.9 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,018 | 405.2 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,019 | 405.8 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,020 | 414.6 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,021 | 417.7 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,022 | 419.3 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,023 | 411.7 | final | thousand_tons |
2 | Ha Giang | HG | historical_63 | 2,024 | 412.7 | preliminary | thousand_tons |
4 | Cao Bang | CB | historical_63 | 1,995 | 147.7 | final | thousand_tons |
4 | Cao Bang | CB | historical_63 | 1,996 | 143.2 | final | thousand_tons |
4 | Cao Bang | CB | historical_63 | 1,997 | 155.6 | final | thousand_tons |
4 | Cao Bang | CB | historical_63 | 1,998 | 151.9 | final | thousand_tons |
4 | Cao Bang | CB | historical_63 | 1,999 | 161.5 | final | thousand_tons |
4 | Cao Bang | CB | historical_63 | 2,000 | 164.2 | final | thousand_tons |
4 | Cao Bang | CB | historical_63 | 2,001 | 179.1 | final | thousand_tons |
4 | Cao Bang | CB | historical_63 | 2,002 | 179.4 | final | thousand_tons |
4 | Cao Bang | CB | historical_63 | 2,003 | 191.2 | final | thousand_tons |
4 | Cao Bang | CB | historical_63 | 2,004 | 193.2 | final | thousand_tons |
Vietnam provinces cereal production
Provincial and regional cereal production (thousand tons). Coverage 1995-2024. Year 2024 is preliminary. Includes historical Ha Tay through 2007 (dissolved into Ha Noi). Tables cover provinces, regions and national total. Geographic labels are English (UN/GSO style ASCII romanization). Province names follow ar_core.vn_geo (historical 63-province system).
Files
provinces (1876 rows)
data/provinces.csvdata/provinces.dtadata/provinces.xlsx
regions (180 rows)
data/regions.csvdata/regions.dtadata/regions.xlsx
national (30 rows)
data/national.csvdata/national.dtadata/national.xlsx
Load
Stata:
use "data/provinces.dta", clear
R:
df <- read.csv("data/provinces.csv")
SPSS: open the .xlsx or .csv file.
Source
National Statistics Office of Vietnam (NSO/GSO). Original table title: San luong luong thuc co hat phan theo dia phuong. Cleaned long panel for research use. Geographic units are Vietnam provinces (and regions / national where present).
Raw originals
Unmodified upstream source files are under raw/ for verification (see raw/README.md). Clean tables remain under data/.
Citation
@misc{nso_vn_provinces_cereal_production,
title = {Vietnam provinces cereal production},
author = {{National Statistics Office of Vietnam}},
note = {Cleaned long panel. Unit: thousand tons.},
year = {2024}
}
Built 2026-09-14 UTC.
- Downloads last month
- 70