Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
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
                  return func.call(args, options=options, memory_pool=memory_pool,
                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
                  return check_status(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 dataset

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.

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
1,177.2
final
thousand_tons
0
Viet Nam
VN
national
1,996
1,536.7
final
thousand_tons
0
Viet Nam
VN
national
1,997
1,650.6
final
thousand_tons
0
Viet Nam
VN
national
1,998
1,612
final
thousand_tons
0
Viet Nam
VN
national
1,999
1,753.1
final
thousand_tons
0
Viet Nam
VN
national
2,000
2,005.9
final
thousand_tons
0
Viet Nam
VN
national
2,001
2,161.7
final
thousand_tons
0
Viet Nam
VN
national
2,002
2,511.2
final
thousand_tons
0
Viet Nam
VN
national
2,003
3,136.3
final
thousand_tons
0
Viet Nam
VN
national
2,004
3,430.9
final
thousand_tons
0
Viet Nam
VN
national
2,005
3,787.1
final
thousand_tons
0
Viet Nam
VN
national
2,006
3,854.6
final
thousand_tons
0
Viet Nam
VN
national
2,007
4,303.2
final
thousand_tons
0
Viet Nam
VN
national
2,008
4,573.1
final
thousand_tons
0
Viet Nam
VN
national
2,009
4,371.7
final
thousand_tons
0
Viet Nam
VN
national
2,010
4,625.7
final
thousand_tons
0
Viet Nam
VN
national
2,011
4,835.6
final
thousand_tons
0
Viet Nam
VN
national
2,012
4,973.6
final
thousand_tons
0
Viet Nam
VN
national
2,013
5,191.2
final
thousand_tons
0
Viet Nam
VN
national
2,014
5,202.3
final
thousand_tons
0
Viet Nam
VN
national
2,015
5,287.2
final
thousand_tons
0
Viet Nam
VN
national
2,016
5,246.5
final
thousand_tons
0
Viet Nam
VN
national
2,017
5,109.6
final
thousand_tons
0
Viet Nam
VN
national
2,018
4,874.1
final
thousand_tons
0
Viet Nam
VN
national
2,019
4,731.9
final
thousand_tons
0
Viet Nam
VN
national
2,020
4,558.2
final
thousand_tons
0
Viet Nam
VN
national
2,021
4,446.4
final
thousand_tons
0
Viet Nam
VN
national
2,022
4,423.3
final
thousand_tons
0
Viet Nam
VN
national
2,023
4,437.2
final
thousand_tons
0
Viet Nam
VN
national
2,024
4,402.2
preliminary
thousand_tons
1
Ha Noi
HN
historical_63
1,995
21.8
final
thousand_tons
1
Ha Noi
HN
historical_63
1,996
31
final
thousand_tons
1
Ha Noi
HN
historical_63
1,997
35.9
final
thousand_tons
1
Ha Noi
HN
historical_63
1,998
32.4
final
thousand_tons
1
Ha Noi
HN
historical_63
1,999
31.1
final
thousand_tons
1
Ha Noi
HN
historical_63
2,000
31.7
final
thousand_tons
1
Ha Noi
HN
historical_63
2,001
28.4
final
thousand_tons
1
Ha Noi
HN
historical_63
2,002
28.5
final
thousand_tons
1
Ha Noi
HN
historical_63
2,003
27.8
final
thousand_tons
1
Ha Noi
HN
historical_63
2,004
27
final
thousand_tons
1
Ha Noi
HN
historical_63
2,005
26.1
final
thousand_tons
1
Ha Noi
HN
historical_63
2,006
27.8
final
thousand_tons
1
Ha Noi
HN
historical_63
2,007
28.5
final
thousand_tons
1
Ha Noi
HN
historical_63
2,008
111
final
thousand_tons
1
Ha Noi
HN
historical_63
2,009
75.1
final
thousand_tons
1
Ha Noi
HN
historical_63
2,010
112.4
final
thousand_tons
1
Ha Noi
HN
historical_63
2,011
111.9
final
thousand_tons
1
Ha Noi
HN
historical_63
2,012
99.5
final
thousand_tons
1
Ha Noi
HN
historical_63
2,013
100
final
thousand_tons
1
Ha Noi
HN
historical_63
2,014
98
final
thousand_tons
1
Ha Noi
HN
historical_63
2,015
102.6
final
thousand_tons
1
Ha Noi
HN
historical_63
2,016
97.1
final
thousand_tons
1
Ha Noi
HN
historical_63
2,017
94.4
final
thousand_tons
1
Ha Noi
HN
historical_63
2,018
84
final
thousand_tons
1
Ha Noi
HN
historical_63
2,019
78.4
final
thousand_tons
1
Ha Noi
HN
historical_63
2,020
71.2
final
thousand_tons
1
Ha Noi
HN
historical_63
2,021
69.5
final
thousand_tons
1
Ha Noi
HN
historical_63
2,022
72.5
final
thousand_tons
1
Ha Noi
HN
historical_63
2,023
64.3
final
thousand_tons
1
Ha Noi
HN
historical_63
2,024
61.2
preliminary
thousand_tons
2
Ha Giang
HG
historical_63
1,995
45.4
final
thousand_tons
2
Ha Giang
HG
historical_63
1,996
53.7
final
thousand_tons
2
Ha Giang
HG
historical_63
1,997
55.4
final
thousand_tons
2
Ha Giang
HG
historical_63
1,998
62.1
final
thousand_tons
2
Ha Giang
HG
historical_63
1,999
63.7
final
thousand_tons
2
Ha Giang
HG
historical_63
2,000
71.7
final
thousand_tons
2
Ha Giang
HG
historical_63
2,001
79.2
final
thousand_tons
2
Ha Giang
HG
historical_63
2,002
85.6
final
thousand_tons
2
Ha Giang
HG
historical_63
2,003
88
final
thousand_tons
2
Ha Giang
HG
historical_63
2,004
89.5
final
thousand_tons
2
Ha Giang
HG
historical_63
2,005
92.6
final
thousand_tons
2
Ha Giang
HG
historical_63
2,006
90.7
final
thousand_tons
2
Ha Giang
HG
historical_63
2,007
90.7
final
thousand_tons
2
Ha Giang
HG
historical_63
2,008
111.7
final
thousand_tons
2
Ha Giang
HG
historical_63
2,009
122.5
final
thousand_tons
2
Ha Giang
HG
historical_63
2,010
136.3
final
thousand_tons
2
Ha Giang
HG
historical_63
2,011
155.3
final
thousand_tons
2
Ha Giang
HG
historical_63
2,012
168.7
final
thousand_tons
2
Ha Giang
HG
historical_63
2,013
176.9
final
thousand_tons
2
Ha Giang
HG
historical_63
2,014
178.4
final
thousand_tons
2
Ha Giang
HG
historical_63
2,015
186.5
final
thousand_tons
2
Ha Giang
HG
historical_63
2,016
185.2
final
thousand_tons
2
Ha Giang
HG
historical_63
2,017
186.1
final
thousand_tons
2
Ha Giang
HG
historical_63
2,018
192.1
final
thousand_tons
2
Ha Giang
HG
historical_63
2,019
192
final
thousand_tons
2
Ha Giang
HG
historical_63
2,020
198.6
final
thousand_tons
2
Ha Giang
HG
historical_63
2,021
199.9
final
thousand_tons
2
Ha Giang
HG
historical_63
2,022
202.5
final
thousand_tons
2
Ha Giang
HG
historical_63
2,023
193.9
final
thousand_tons
2
Ha Giang
HG
historical_63
2,024
198.6
preliminary
thousand_tons
4
Cao Bang
CB
historical_63
1,995
55.3
final
thousand_tons
4
Cao Bang
CB
historical_63
1,996
59.1
final
thousand_tons
4
Cao Bang
CB
historical_63
1,997
63.8
final
thousand_tons
4
Cao Bang
CB
historical_63
1,998
60.6
final
thousand_tons
4
Cao Bang
CB
historical_63
1,999
63.1
final
thousand_tons
4
Cao Bang
CB
historical_63
2,000
75.8
final
thousand_tons
4
Cao Bang
CB
historical_63
2,001
78.8
final
thousand_tons
4
Cao Bang
CB
historical_63
2,002
80.5
final
thousand_tons
4
Cao Bang
CB
historical_63
2,003
86.2
final
thousand_tons
4
Cao Bang
CB
historical_63
2,004
88.9
final
thousand_tons
End of preview.

Vietnam provinces maize production

Provincial and regional maize (ngo) production (thousand tons). Coverage 1995-2024. Year 2024 is preliminary. Includes historical Ha Tay through 2007 (dissolved into Ha Noi). Geographic labels are English (UN/GSO style ASCII romanization). Tables cover provinces, regions and national total where present. Province names follow ar_core.vn_geo (historical 63-province system).

Files

provinces (1868 rows)

  • data/provinces.csv
  • data/provinces.dta
  • data/provinces.xlsx

regions (180 rows)

  • data/regions.csv
  • data/regions.dta
  • data/regions.xlsx

national (30 rows)

  • data/national.csv
  • data/national.dta
  • data/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 ngo 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_maize_production,
  title = {Vietnam provinces maize production},
  author = {{National Statistics Office of Vietnam}},
  note = {Cleaned long panel. Unit: thousand tons.},
  year = {2024}
}

Built 2026-09-14 UTC.

Downloads last month
55