Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 9 new columns ({'geo_system', 'source_province_raw', 'has_papi_total', 'geo_name', 'geo_code', 'instrument_era', 'geo_short', 'n_score_values', 'year'}) and 11 missing columns ({'indicator', 'year_end', 'scale', 'label_vi', 'source_header_latest', 'dimension', 'level', 'subdimension', 'year_start', 'label_en', 'n_years'}).
This happened while the csv dataset builder was generating data using
hf://datasets/letrinhan/vn-provinces-papi/data/coverage.csv (at revision 5a3dbca82939f6c6a0122e3ffd599de7f7054968), ['hf://datasets/letrinhan/vn-provinces-papi@5a3dbca82939f6c6a0122e3ffd599de7f7054968/data/codebook.csv', 'hf://datasets/letrinhan/vn-provinces-papi@5a3dbca82939f6c6a0122e3ffd599de7f7054968/data/coverage.csv', 'hf://datasets/letrinhan/vn-provinces-papi@5a3dbca82939f6c6a0122e3ffd599de7f7054968/data/geo_map_2024.csv', 'hf://datasets/letrinhan/vn-provinces-papi@5a3dbca82939f6c6a0122e3ffd599de7f7054968/data/provinces_long.csv', 'hf://datasets/letrinhan/vn-provinces-papi@5a3dbca82939f6c6a0122e3ffd599de7f7054968/data/provinces_wide.csv', 'hf://datasets/letrinhan/vn-provinces-papi@5a3dbca82939f6c6a0122e3ffd599de7f7054968/data/year_meta.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
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 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
geo_code: int64
geo_name: string
geo_short: string
geo_system: string
year: int64
instrument_era: string
n_score_values: int64
has_papi_total: bool
source_province_raw: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1365
to
{'indicator': Value('string'), 'level': Value('string'), 'dimension': Value('float64'), 'subdimension': Value('float64'), 'label_en': Value('string'), 'label_vi': Value('string'), 'scale': Value('string'), 'year_start': Value('int64'), 'year_end': Value('int64'), 'n_years': Value('int64'), 'source_header_latest': Value('string')}
because column names don't match
During handling of the above exception, another exception occurred:
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 1850, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 9 new columns ({'geo_system', 'source_province_raw', 'has_papi_total', 'geo_name', 'geo_code', 'instrument_era', 'geo_short', 'n_score_values', 'year'}) and 11 missing columns ({'indicator', 'year_end', 'scale', 'label_vi', 'source_header_latest', 'dimension', 'level', 'subdimension', 'year_start', 'label_en', 'n_years'}).
This happened while the csv dataset builder was generating data using
hf://datasets/letrinhan/vn-provinces-papi/data/coverage.csv (at revision 5a3dbca82939f6c6a0122e3ffd599de7f7054968), ['hf://datasets/letrinhan/vn-provinces-papi@5a3dbca82939f6c6a0122e3ffd599de7f7054968/data/codebook.csv', 'hf://datasets/letrinhan/vn-provinces-papi@5a3dbca82939f6c6a0122e3ffd599de7f7054968/data/coverage.csv', 'hf://datasets/letrinhan/vn-provinces-papi@5a3dbca82939f6c6a0122e3ffd599de7f7054968/data/geo_map_2024.csv', 'hf://datasets/letrinhan/vn-provinces-papi@5a3dbca82939f6c6a0122e3ffd599de7f7054968/data/provinces_long.csv', 'hf://datasets/letrinhan/vn-provinces-papi@5a3dbca82939f6c6a0122e3ffd599de7f7054968/data/provinces_wide.csv', 'hf://datasets/letrinhan/vn-provinces-papi@5a3dbca82939f6c6a0122e3ffd599de7f7054968/data/year_meta.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)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.
indicator string | level string | dimension float64 | subdimension null | label_en string | label_vi string | scale string | year_start int64 | year_end int64 | n_years int64 | source_header_latest string |
|---|---|---|---|---|---|---|---|---|---|---|
papi_total | aggregate | null | null | Official unweighted PAPI score (alias) | Chỉ số PAPI không trọng số (alias) | 10-80 điểm | 2,011 | 2,024 | 14 | (alias of papi_unweighted) |
papi_unweighted | aggregate | null | null | Unweighted PAPI score | Chỉ số PAPI tổng hợp (không có trọng số) | 10-80 điểm/points | 2,018 | 2,024 | 7 | Chỉ số PAPI tổng hợp (không có trọng số) |
papi_weighted | aggregate | null | null | Weighted PAPI score | Chỉ số PAPI tổng hợp (có trọng số) | 10-80 điểm | 2,019 | 2,024 | 6 | Weighted PAPI Score (2024_PAPI_Indicators) |
d1_participation | dimension | 1 | null | Participation at local levels | Tham gia của người dân ở cấp cơ sở | 1-10 điểm/points | 2,011 | 2,024 | 14 | Chỉ số nội dung 1: Tham gia của người dân ở cấp cơ sở |
d2_transparency | dimension | 2 | null | Transparency in local decision-making | Công khai, minh bạch trong hoạch định chính sách | 1-10 điểm/points | 2,011 | 2,024 | 14 | Chỉ số nội dung 2: Công khai, minh bạch trong hoạch định chính sách |
d3_vertical_accountability | dimension | 3 | null | Vertical accountability | Trách nhiệm giải trình với người dân | 1-10 điểm | 2,011 | 2,024 | 14 | Chỉ số nội dung 3: Trách nhiệm giải trình với người dân |
d4_control_of_corruption | dimension | 4 | null | Control of corruption in the public sector | Kiểm soát tham nhũng trong khu vực công | 1-10 điểm/points | 2,011 | 2,024 | 14 | Chỉ số nội dung 4: Kiểm soát tham nhũng trong khu vực công |
d5_public_admin_procedures | dimension | 5 | null | Public administrative procedures | Thủ tục hành chính công | 1-10 điểm | 2,011 | 2,024 | 14 | Chỉ số nội dung 5: Thủ tục hành chính công* |
d6_public_service_delivery | dimension | 6 | null | Public service delivery | Cung ứng dịch vụ công | 1-10 điểm/points | 2,011 | 2,024 | 14 | Chỉ số nội dung 6: Cung ứng dịch vụ công |
d7_environmental_governance | dimension | 7 | null | Environmental governance | Quản trị môi trường | 1-10 điểm/points | 2,018 | 2,024 | 7 | Chỉ số nội dung 7: Quản trị môi trường |
d8_e_governance | dimension | 8 | null | E-governance | Quản trị điện tử | 1-10 điểm/points | 2,018 | 2,024 | 7 | Chỉ số nội dung 8: Quản trị điện tử |
d1_1_civic_knowledge | subdimension | 1 | null | Civic knowledge | Tri thức công dân | 0.25-2.5 điểm | 2,011 | 2,024 | 14 | 1.1: Tri thức công dân |
d1_2_opportunities | subdimension | 1 | null | Opportunities for participation | Cơ hội tham gia | 0.25-2.5 điểm/points | 2,011 | 2,024 | 14 | 1.2: Cơ hội tham gia |
d1_3_elections_quality | subdimension | 1 | null | Quality of village elections | Chất lượng bầu cử | 0.25-2.5 điểm/points | 2,011 | 2,024 | 14 | 1.3: Chất lượng bầu cử |
d1_4_voluntary_contributions | subdimension | 1 | null | Voluntary contributions | Đóng góp tự nguyện | 0.25-2.5 điểm/points | 2,011 | 2,024 | 14 | 1.4: Đóng góp tự nguyện |
d2_1_access_to_information | subdimension | 2 | null | Access to information | Tiếp cận thông tin | 0.25-2.5 điểm/points | 2,011 | 2,024 | 14 | 2.1: Tiếp cận thông tin |
d2_2_poverty_list_transparency | subdimension | 2 | null | Poverty list transparency | Công khai danh sách hộ nghèo | 0.25-2.5 điểm/points | 2,011 | 2,024 | 14 | 2.2: Công khai danh sách hộ nghèo |
d2_3_commune_budget_transparency | subdimension | 2 | null | Commune budget transparency | Công khai thu, chi ngân sách cấp xã/phường | 0.25-2.5 điểm/points | 2,011 | 2,024 | 14 | 2.3: Công khai thu, chi ngân sách cấp xã/phường |
d2_4_land_use_plan_transparency | subdimension | 2 | null | Transparent land-use plan / price frames | Quy hoạch, kế hoạch sử dụng đất; giá bồi thường thu hồi đất | 0.25-2.5 điểm/points | 2,018 | 2,024 | 7 | 2.4: Quy hoạch, kế hoạch sử dụng đất; giá bồi thường thu hồi đất |
d3_1_interaction_with_authorities | subdimension | 3 | null | Interaction with authorities | Mức độ và hiệu quả trong tiếp xúc với chính quyền | 0.33-3.33 điểm/points | 2,011 | 2,024 | 14 | 3.1: Mức độ và hiệu quả trong tiếp xúc với chính quyền |
d3_2_complaint_resolution | subdimension | 3 | null | People's complaint resolution | Giải đáp khiếu nại, tố cáo, khúc mắc của người dân | 0.33-3.33 điểm/points | 2,011 | 2,024 | 14 | 3.2: Giải đáp khiếu nại, tố cáo, khúc mắc của người dân |
d3_3_access_to_justice | subdimension | 3 | null | Access to justice services | Tiếp cận dịch vụ tư pháp | 0.33-3.33 điểm/points | 2,011 | 2,024 | 14 | 3.3: Tiếp cận dịch vụ tư pháp |
d4_1_corruption_in_government | subdimension | 4 | null | Control of corruption in government | Kiểm soát tham nhũng trong chính quyền địa phương | 0.25-2.5 điểm/points | 2,011 | 2,024 | 14 | 4.1: Kiểm soát tham nhũng trong chính quyền địa phương |
d4_2_corruption_in_services | subdimension | 4 | null | Control of corruption in public services | Kiểm soát tham nhũng trong cung ứng dịch vụ công | 0.25-2.5 điểm/points | 2,011 | 2,024 | 14 | 4.2: Kiểm soát tham nhũng trong cung ứng dịch vụ công |
d4_3_equity_in_public_employment | subdimension | 4 | null | Equity in public-sector recruitment | Công bằng trong tuyển dụng vào khu vực công | 0.25-2.5 điểm/points | 2,011 | 2,024 | 14 | 4.3: Công bằng trong tuyển dụng vào khu vực công |
d4_4_anti_corruption_willingness | subdimension | 4 | null | Willingness to fight corruption | Quyết tâm chống tham nhũng của chính quyền địa phương | 0.25-2.5 điểm/points | 2,011 | 2,024 | 14 | 4.4: Quyết tâm chống tham nhũng của chính quyền địa phương |
d5_1_certification_services | subdimension | 5 | null | Certification / authentication services | Dịch vụ chứng thực, xác nhận của chính quyền | 0.33-3.33 điểm/points | 2,011 | 2,024 | 14 | 5.1: Dịch vụ chứng thực, xác nhận của chính quyền |
d5_2_construction_permits | subdimension | 5 | null | Construction permit services | Thủ tục xin cấp phép xây dựng | 0.25-2.5 điểm | 2,011 | 2,020 | 10 | 5.2: Thủ tục xin cấp phép xây dựng |
d5_3_land_use_certificates | subdimension | 5 | null | Land-use right certificate services | Thủ tục liên quan đến giấy chứng nhận quyền sử dụng đất | 0.33-3.33 điểm/points | 2,011 | 2,024 | 14 | 5.3: Thủ tục liên quan đến giấy chứng nhận quyền sử dụng đất |
d5_4_commune_admin_services | subdimension | 5 | null | Commune-level administrative services | Dịch vụ hành chính cấp xã/phường | 0.33-3.33 điểm/points | 2,011 | 2,024 | 14 | 5.4: Dịch vụ hành chính cấp xã/phường |
d6_1_public_health | subdimension | 6 | null | Public health services | Y tế công lập | 0.25-2.5 điểm/points | 2,011 | 2,024 | 14 | 6.1: Y tế công lập |
d6_2_primary_education | subdimension | 6 | null | Public primary education | Giáo dục tiểu học công lập | 0.25-2.5 điểm/points | 2,011 | 2,024 | 14 | 6.2: Giáo dục tiểu học công lập |
d6_3_basic_infrastructure | subdimension | 6 | null | Basic infrastructure | Cơ sở hạ tầng căn bản | 0.25-2.5 điểm/points | 2,011 | 2,024 | 14 | 6.3: Cơ sở hạ tầng căn bản |
d6_4_law_and_order | subdimension | 6 | null | Law and order in residential areas | An ninh, trật tự khu dân cư | 0.25-2.5 điểm/points | 2,011 | 2,024 | 14 | 6.4: An ninh, trật tự khu dân cư |
d7_1_environmental_protection | subdimension | 7 | null | Environmental protection | Nghiêm túc trong bảo vệ môi trường | 0.33-3.33 điểm/points | 2,018 | 2,024 | 7 | 7.1: Nghiêm túc trong bảo vệ môi trường |
d7_2_air_quality | subdimension | 7 | null | Quality of air | Chất lượng không khí | 0.33-3.33 điểm/points | 2,018 | 2,024 | 7 | 7.2: Chất lượng không khí |
d7_3_water_quality | subdimension | 7 | null | Quality of water | Chất lượng nước | 0.33-3.33 điểm/points | 2,018 | 2,024 | 7 | 7.3: Chất lượng nước |
d8_1_egov_portals | subdimension | 8 | null | Access to e-government portals | Sử dụng cổng thông tin điện tử của chính quyền địa phương | 0.33-3.33 điểm/points | 2,018 | 2,024 | 7 | 8.1: Sử dụng cổng thông tin điện tử của chính quyền địa phương* |
d8_2_internet_access | subdimension | 8 | null | Access to the internet | Tiếp cận và sử dụng Internet tại địa phương | 0.33-3.33 điểm/points | 2,018 | 2,024 | 7 | 8.2: Tiếp cận và sử dụng Internet tại địa phương |
d8_3_egov_responsiveness | subdimension | 8 | null | E-responsiveness of provincial authorities | Phúc đáp của chính quyền qua cổng thông tin điện tử | 0.33-3.33 điểm/points | 2,019 | 2,024 | 6 | 8.3: Phúc đáp của chính quyền qua cổng thông tin điện tử |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null |
Vietnam PAPI provincial governance scores (2011-2024)
Provincial Vietnam Provincial Governance and Public Administration Performance Index (PAPI) panel, 2011-2024. Dimension and subdimension scores plus official totals, geo-normalized to the historical 63-province system via ar_core.vn_geo. Instrument breaks at 2018 (six → eight dimensions. totals switch from sum-of-6 to official unweighted 10-80). Partial / suppressed cells kept as missing.
Files
provinces_long (29794 rows)
data/provinces_long.csvdata/provinces_long.dtadata/provinces_long.xlsx
provinces_wide (875 rows)
data/provinces_wide.csvdata/provinces_wide.dtadata/provinces_wide.xlsx
codebook (40 rows)
data/codebook.csvdata/codebook.dtadata/codebook.xlsx
coverage (875 rows)
data/coverage.csvdata/coverage.dtadata/coverage.xlsx
year_meta (14 rows)
data/year_meta.csvdata/year_meta.dtadata/year_meta.xlsx
geo_map_2024 (34 rows)
data/geo_map_2024.csvdata/geo_map_2024.dtadata/geo_map_2024.xlsx
Load
Stata:
use "data/provinces_long.dta", clear
R:
df <- read.csv("data/provinces_long.csv")
SPSS: open the .xlsx or .csv file.
Source
Upstream: CECODES, Viet Nam Fatherland Front (VFF-CRT), Real-Time Analytics (RTA) and UNDP - Vietnam Provincial Governance and Public Administration Performance Index (PAPI), www.papi.org.vn. Annual provincial indicator workbooks cleaned and merged for research use. Please review PAPI/UNDP terms before commercial redistribution. cite the official PAPI reports for the survey years you use.
Raw originals
Unmodified upstream source files are under raw/ for verification (see raw/README.md). Clean tables remain under data/.
Citation
@misc{papi_vn_provinces_panel,
title = {Vietnam PAPI provincial governance scores (2011--2024)},
author = {{CECODES and VFF-CRT and RTA and UNDP}},
howpublished = {\url{https://papi.org.vn}},
note = {Cleaned multi-year province panel; instrument change in 2018},
year = {2024}
}
Built 2026-09-13 UTC.
- Downloads last month
- 21