-
Notifications
You must be signed in to change notification settings - Fork 770
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix districts table name typo; Update data;
- Loading branch information
1 parent
9c9e211
commit b83655d
Showing
7 changed files
with
786 additions
and
621 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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**. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.