# thanglequoc/vietnamese-provinces-database

Comprehensive SQL and GIS datasets for Vietnamese administrative units, including provinces, districts, wards, and geospatial boundaries.

Repository: https://github.com/thanglequoc/vietnamese-provinces-database
Canonical: https://ross.abutalabs.com/products/vietnamese-provinces-database
Language: PLpgSQL
License: MIT
License Family: permissive
Topics: vietnam, vietnamese, locality, database, dataset, provinces, districts, wards, geolocation, geospatial, gis-data
Last push: 2026-08-26T17:17:34+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 84, longevity 100
- inputs: {"age_days": 1761, "days_push": 7, "days_rel": 31, "gap_med": 58.0, "n_releases_24m": 9}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1778, forks 420 (observed 2026-08-28T04:05:35.226924+00:00)

## What it is
A comprehensive dataset of Vietnamese administrative units covering all 34 provinces plus districts and wards, provided as SQL dumps and non-SQL formats (GeoJSON, MongoDB, Elasticsearch). It includes geospatial boundary data and is updated to track the latest government decrees on administrative restructuring.

## Use cases
- populate a database with Vietnamese provinces, districts, and wards
- get GeoJSON boundaries of Vietnamese provinces for map rendering
- build an address picker with Vietnamese administrative units
- import Vietnamese locality data into MongoDB or Elasticsearch
- look up ward and district codes for a Vietnamese province
- keep address data in sync with the latest Vietnam administrative decree

## When to choose
- you need accurate, decree-tracked Vietnamese administrative divisions in SQL or GIS formats
- you want geospatial boundaries (GeoJSON) alongside locality names and codes
- you need multiple database format exports (PostgreSQL, MongoDB, Elasticsearch)

## When to avoid
- you need administrative divisions of countries other than Vietnam
- you need real-time official government data straight from the General Statistics Office
- you need historical administrative structures predating the tracked decrees

## Facets
- artifact type: dataset
- maturity: active
- function: database, geospatial, data-science
- domain: databases
- platform: cross-platform, python, jvm, go, rust, php, dotnet
- tags: vietnam, administrative-divisions, provinces, districts, wards, gis, geojson, sql, mongodb, elasticsearch, open-data, government-data, geospatial, maps, localization, nodejs

## Member repositories
- thanglequoc/vietnamese-provinces-database (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:35.226924+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:25:10.843677+00:00, confidence not recorded.
  - readme: https://github.com/thanglequoc/vietnamese-provinces-database (fetched 2026-08-28T04:05:35.226924+00:00, sha 80fa3b4bbae1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
