Skip to content

Commit

Permalink
Fix districts table name typo; Update data;
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardsamuel committed Jun 27, 2015
1 parent 9c9e211 commit b83655d
Show file tree
Hide file tree
Showing 7 changed files with 786 additions and 621 deletions.
12 changes: 6 additions & 6 deletions README.md
@@ -1,25 +1,25 @@
# Data Provinsi, Kota/Kabupaten, Kecamatan, dan Kelurahan/Desa di Indonesia
Data ini diambil dari situs [Pemutakhiran MFD dan MBS
Badan Pusat Statistik (http://mfdonline.bps.go.id/)](http://mfdonline.bps.go.id/) pada **31 May 2015**.
Badan Pusat Statistik (http://mfdonline.bps.go.id/)](http://mfdonline.bps.go.id/) pada **27 Juni 2015**.

# Administrative Subdivisions of Indonesia (Provinces, Regencies/Cities, Disticts, Villages)
The data were taken from [Central Agency on Statistics (BPS) - MFD and MBS Update (http://mfdonline.bps.go.id/)](http://mfdonline.bps.go.id/) on **31 May 2015**.
The data were taken from [Central Agency on Statistics (BPS) - MFD and MBS Update (http://mfdonline.bps.go.id/)](http://mfdonline.bps.go.id/) on **27 June 2015**.

The data were `curl`-ed from BPS site:

curl http://mfdonline.bps.go.id/index.php?link=hasil_pencarian --data "pilihcari=desa&kata_kunci=%25" > desa_indonesia.html
curl http://mfdonline.bps.go.id/index.php?link=hasil_pencarian --data "pilihcari=desa&kata_kunci=%25"

### Generate new data

In order to generate new data:

cd scripts
./run.sh
cd scripts
./run.sh

*NOTE*: Please create a MySQL database (named: `indonesia`) before run the script.

### License

The scripts are license under: [MIT](license.md).
The data (CSV and SQL) are under: [ODBL v1.0](odbl-10.md).
The source data is attributed to **Badan Pusat Statistik (BPS) Indonesia**.
The source data is attributed to **Badan Pusat Statistik (BPS) Indonesia**.
64 changes: 38 additions & 26 deletions csv/districs.csv → csv/districts.csv
Expand Up @@ -181,7 +181,7 @@
1111070,11110,COT GIREK
1111080,11110,TANAH JAMBO AYE
1111081,11110,LANGKAHAN
1111090,11110,SEUNUDON
1111090,11110,SEUNUDDON
1111100,11111,BAKTIYA
1111101,11111,BAKTIYA BARAT
1111110,11111,LHOKSUKON
Expand Down Expand Up @@ -5437,10 +5437,13 @@
7209030,72090,ULUBONGKA
7209040,72090,AMPANA TETE
7209050,72090,AMPANA KOTA
7209051,72090,RATOLINDO
7209060,72090,UNA - UNA
7209061,72090,BATUDAKA
7209070,72090,TOGEAN
7209080,72090,WALEA KEPULAUAN
7209081,72090,WALEA BESAR
7209082,72090,TALATAKO
7210010,72100,PIPIKORO
7210020,72100,KULAWI SELATAN
7210030,72100,KULAWI
Expand Down Expand Up @@ -5859,12 +5862,14 @@
7405011,74050,LALEMBUU
7405020,74050,ANDOOLO
7405021,74050,BUKE
7405022,74050,ANDOOLO BARAT
7405030,74050,PALANGGA
7405031,74050,PALANGGA SELATAN
7405032,74050,BAITO
7405040,74050,LAINEA
7405041,74050,LAEYA
7405050,74050,KOLONO
7405051,74050,KOLONO TIMUR
7405060,74050,LAONTI
7405070,74050,MORAMO
7405071,74050,MORAMO UTARA
Expand All @@ -5874,6 +5879,7 @@
7405091,74050,RANOMEETO BARAT
7405100,74051,LANDONO
7405101,74051,MOWILA
7405102,74051,SABULAKOA
7405110,74051,ANGATA
7405111,74051,BENUA
7405112,74051,BASALA
Expand Down Expand Up @@ -5957,31 +5963,31 @@
7412050,74120,WAWONII SELATAN
7412060,74120,WAWONII TENGAH
7412070,74120,WAWONII BARAT
7413040,74130,TIWORO KEPULAUAN
7413041,74130,MAGINTI
7413042,74130,TIWORO TENGAH
7413043,74130,TIWORO SELATAN
7413044,74130,TIWORO UTARA
7413050,74130,LAWA
7413051,74130,SAWERIGADI
7413052,74130,BARANGKA
7413053,74130,WA DAGA
7413060,74130,KUSAMBI
7413082,74130,NAPANO KUSAMBI
7414120,74141,GU
7414121,74141,SANGIA WAMBULU
7414130,74141,LAKUDO
7414140,74141,MAWASANGKA
7414141,74141,MAWASANGKA TIMUR
7414142,74141,MAWASANGKA TENGAH
7414151,74141,TALAGA RAYA
7415070,74150,SAMPOLAWA
7415071,74150,BATU ATAS
7415072,74150,LAPANDEWA
7415080,74150,BATAUGA
7415081,74150,SIOMPU
7415082,74150,KADATUA
7415083,74150,SIOMPU BARAT
7413001,74130,TIWORO KEPULAUAN
7413002,74130,MAGINTI
7413003,74130,TIWORO TENGAH
7413004,74130,TIWORO SELATAN
7413005,74130,TIWORO UTARA
7413006,74130,LAWA
7413007,74130,SAWERIGADI
7413008,74130,BARANGKA
7413009,74130,WA DAGA
7413010,74130,KUSAMBI
7413011,74130,NAPANO KUSAMBI
7414010,74140,TALAGA RAYA
7414020,74140,MAWASANGKA
7414030,74140,MAWASANGKA TENGAH
7414040,74140,MAWASANGKA TIMUR
7414050,74140,LAKUDO
7414060,74140,GU
7414070,74140,SANGIA WAMBULU
7415010,74150,BATU ATAS
7415020,74150,LAPANDEWA
7415030,74150,SAMPOLAWA
7415040,74150,BATAUGA
7415050,74150,SIOMPU BARAT
7415060,74150,SIOMPU
7415070,74150,KADATUA
7471010,74710,MANDONGA
7471011,74710,BARUGA
7471012,74710,PUUWATU
Expand Down Expand Up @@ -6446,6 +6452,7 @@
9106020,91060,KOKODA
9106021,91060,KAIS
9106022,91060,KOKODA UTARA
9106023,91060,KAIS DARAT
9106060,91060,MOSWAREN
9106070,91060,TEMINABUAN
9106071,91060,SEREMUK
Expand All @@ -6454,6 +6461,7 @@
9106074,91060,SAIFI
9106080,91060,SAWIAT
9106081,91060,FOKOUR
9106082,91060,SALKMA
9107060,91070,MORAID
9107061,91070,KLASO
9107100,91071,MAKBON
Expand Down Expand Up @@ -6550,10 +6558,14 @@
9112100,91121,TESTEGA
9171010,91710,SORONG BARAT
9171011,91710,SORONG KEPULAUAN
9171012,91710,MALADOMES
9171020,91710,SORONG TIMUR
9171021,91710,SORONG UTARA
9171022,91710,SORONG
9171023,91710,SORONG MANOI
9171024,91710,KLAURUNG
9171025,91710,MALAIMSIMSA
9171026,91710,SORONG KOTA
9401010,94010,KIMAAM
9401011,94010,WAAN
9401012,94010,TABONJI
Expand Down

0 comments on commit b83655d

Please sign in to comment.