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
                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
2,005
385
final
establishments
0
Viet Nam
VN
national
2,013
714
final
establishments
0
Viet Nam
VN
national
2,014
772
final
establishments
0
Viet Nam
VN
national
2,015
832
final
establishments
0
Viet Nam
VN
national
2,016
865
final
establishments
0
Viet Nam
VN
national
2,017
958
final
establishments
0
Viet Nam
VN
national
2,018
1,007
final
establishments
0
Viet Nam
VN
national
2,019
1,085
final
establishments
0
Viet Nam
VN
national
2,020
1,134
final
establishments
0
Viet Nam
VN
national
2,021
1,167
final
establishments
0
Viet Nam
VN
national
2,022
1,241
final
establishments
0
Viet Nam
VN
national
2,023
1,260
final
establishments
0
Viet Nam
VN
national
2,024
1,293
preliminary
establishments
1
Ha Noi
HN
historical_63
2,005
59
final
establishments
1
Ha Noi
HN
historical_63
2,013
94
final
establishments
1
Ha Noi
HN
historical_63
2,014
103
final
establishments
1
Ha Noi
HN
historical_63
2,015
137
final
establishments
1
Ha Noi
HN
historical_63
2,016
124
final
establishments
1
Ha Noi
HN
historical_63
2,017
124
final
establishments
1
Ha Noi
HN
historical_63
2,018
134
final
establishments
1
Ha Noi
HN
historical_63
2,019
141
final
establishments
1
Ha Noi
HN
historical_63
2,020
130
final
establishments
1
Ha Noi
HN
historical_63
2,021
123
final
establishments
1
Ha Noi
HN
historical_63
2,022
134
final
establishments
1
Ha Noi
HN
historical_63
2,023
130
final
establishments
1
Ha Noi
HN
historical_63
2,024
131
preliminary
establishments
4
Cao Bang
CB
historical_63
2,005
1
final
establishments
4
Cao Bang
CB
historical_63
2,013
4
final
establishments
4
Cao Bang
CB
historical_63
2,014
5
final
establishments
4
Cao Bang
CB
historical_63
2,015
5
final
establishments
4
Cao Bang
CB
historical_63
2,016
4
final
establishments
4
Cao Bang
CB
historical_63
2,017
4
final
establishments
4
Cao Bang
CB
historical_63
2,018
4
final
establishments
4
Cao Bang
CB
historical_63
2,019
4
final
establishments
4
Cao Bang
CB
historical_63
2,020
5
final
establishments
4
Cao Bang
CB
historical_63
2,021
6
final
establishments
4
Cao Bang
CB
historical_63
2,022
4
final
establishments
4
Cao Bang
CB
historical_63
2,023
5
final
establishments
4
Cao Bang
CB
historical_63
2,024
5
preliminary
establishments
6
Bac Kan
BK
historical_63
2,005
1
final
establishments
6
Bac Kan
BK
historical_63
2,013
2
final
establishments
6
Bac Kan
BK
historical_63
2,014
3
final
establishments
6
Bac Kan
BK
historical_63
2,015
2
final
establishments
6
Bac Kan
BK
historical_63
2,016
2
final
establishments
6
Bac Kan
BK
historical_63
2,017
1
final
establishments
6
Bac Kan
BK
historical_63
2,018
2
final
establishments
6
Bac Kan
BK
historical_63
2,019
2
final
establishments
6
Bac Kan
BK
historical_63
2,020
2
final
establishments
6
Bac Kan
BK
historical_63
2,021
2
final
establishments
6
Bac Kan
BK
historical_63
2,022
2
final
establishments
6
Bac Kan
BK
historical_63
2,023
2
final
establishments
6
Bac Kan
BK
historical_63
2,024
2
preliminary
establishments
8
Tuyen Quang
TQ
historical_63
2,013
4
final
establishments
8
Tuyen Quang
TQ
historical_63
2,014
5
final
establishments
8
Tuyen Quang
TQ
historical_63
2,015
5
final
establishments
8
Tuyen Quang
TQ
historical_63
2,016
5
final
establishments
8
Tuyen Quang
TQ
historical_63
2,017
8
final
establishments
8
Tuyen Quang
TQ
historical_63
2,018
7
final
establishments
8
Tuyen Quang
TQ
historical_63
2,019
7
final
establishments
8
Tuyen Quang
TQ
historical_63
2,020
6
final
establishments
8
Tuyen Quang
TQ
historical_63
2,021
5
final
establishments
8
Tuyen Quang
TQ
historical_63
2,022
5
final
establishments
8
Tuyen Quang
TQ
historical_63
2,023
5
final
establishments
8
Tuyen Quang
TQ
historical_63
2,024
5
preliminary
establishments
10
Lao Cai
LCA
historical_63
2,005
10
final
establishments
10
Lao Cai
LCA
historical_63
2,013
10
final
establishments
10
Lao Cai
LCA
historical_63
2,014
13
final
establishments
10
Lao Cai
LCA
historical_63
2,015
13
final
establishments
10
Lao Cai
LCA
historical_63
2,016
12
final
establishments
10
Lao Cai
LCA
historical_63
2,017
13
final
establishments
10
Lao Cai
LCA
historical_63
2,018
13
final
establishments
10
Lao Cai
LCA
historical_63
2,019
12
final
establishments
10
Lao Cai
LCA
historical_63
2,020
12
final
establishments
10
Lao Cai
LCA
historical_63
2,021
9
final
establishments
10
Lao Cai
LCA
historical_63
2,022
10
final
establishments
10
Lao Cai
LCA
historical_63
2,023
7
final
establishments
10
Lao Cai
LCA
historical_63
2,024
7
preliminary
establishments
11
Dien Bien
DB
historical_63
2,013
9
final
establishments
11
Dien Bien
DB
historical_63
2,014
7
final
establishments
11
Dien Bien
DB
historical_63
2,015
8
final
establishments
11
Dien Bien
DB
historical_63
2,016
1
final
establishments
11
Dien Bien
DB
historical_63
2,017
1
final
establishments
11
Dien Bien
DB
historical_63
2,018
3
final
establishments
11
Dien Bien
DB
historical_63
2,019
3
final
establishments
11
Dien Bien
DB
historical_63
2,020
3
final
establishments
11
Dien Bien
DB
historical_63
2,021
3
final
establishments
11
Dien Bien
DB
historical_63
2,022
3
final
establishments
11
Dien Bien
DB
historical_63
2,023
3
final
establishments
11
Dien Bien
DB
historical_63
2,024
3
preliminary
establishments
12
Lai Chau
LC
historical_63
2,005
1
final
establishments
12
Lai Chau
LC
historical_63
2,013
3
final
establishments
12
Lai Chau
LC
historical_63
2,014
4
final
establishments
12
Lai Chau
LC
historical_63
2,015
4
final
establishments
12
Lai Chau
LC
historical_63
2,016
4
final
establishments
12
Lai Chau
LC
historical_63
2,017
5
final
establishments
12
Lai Chau
LC
historical_63
2,018
3
final
establishments
12
Lai Chau
LC
historical_63
2,019
3
final
establishments
12
Lai Chau
LC
historical_63
2,020
4
final
establishments
12
Lai Chau
LC
historical_63
2,021
4
final
establishments
12
Lai Chau
LC
historical_63
2,022
4
final
establishments
End of preview.

Vietnam provinces supermarkets

Number of supermarkets as of 31 December. Coverage 2005 and 2013-2024. Some provinces absent when zero. Year 2024 is preliminary. 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 (793 rows)

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

regions (78 rows)

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

national (13 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: So luong sieu thi co den 31/12 hang nam phan theo dia phuong. Cleaned long panel for research use.

Citation

@misc{nso_vn_provinces_supermarkets,
  title = {Vietnam provinces supermarkets},
  author = {{National Statistics Office of Vietnam}},
  note = {Unit: establishments.},
  year = {2024}
}

Built 2026-09-13 UTC.

Downloads last month
46