[
{
"id": 1,
"code": "11",
"name": "ACEH"
}
]
[
{
"id": 1,
"code": "1109",
"province_code": "11",
"name": "KAB. SIMEULUE"
}
]
[
{
"id": 1,
"code": "110907",
"regency_code": "1109",
"province_code": "11",
"name": "TEUPAH SELATAN"
}
]
[
{
"id": 1,
"code": "1109072008",
"district_code": "110907",
"regency_code": "1109",
"province_code": "11",
"name": "LATIUNG"
}
]
In order to generate new data:
# Install Packages
npm i
# Run
npm run main.js
- Single JSON ✅
- Split JSON ✅
- Full JSON ✅
- SQL ✅
- Mongo ❌ (From JSON)
- Generate Data With GitHub Actions
- The scripts are license under: MIT.
- The source data is attributed to Badan Pusat Statistik (BPS) Indonesia.
- Fork it (https://github.com/gilang-as/indonesian-region/fork).
- Create your feature branch (
git checkout -b my-new-feature
). - Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin my-new-feature
). - Create a new Pull Request.