-
Notifications
You must be signed in to change notification settings - Fork 768
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add scripts; Add MIT and ODBL licenses; Update data;
- Loading branch information
1 parent
12be6ef
commit 9c9e211
Showing
16 changed files
with
90,100 additions
and
88,563 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,7 +1,25 @@ | ||
#Data Provinsi, Kota/Kabupaten, Kecamatan, dan Kelurahan/Desa di Indonesia | ||
# 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 **16 Juli 2014**. | ||
Badan Pusat Statistik (http://mfdonline.bps.go.id/)](http://mfdonline.bps.go.id/) pada **31 May 2015**. | ||
|
||
Pengambilan data dilakukan dengan menggunakan curl ke situs BPS: | ||
# 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**. | ||
|
||
curl http://mfdonline.bps.go.id/index.php?link=hasil_pencarian --data "pilihcari=desa&kata_kunci=%25" > desa_indonesia.html | ||
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 | ||
|
||
### Generate new data | ||
|
||
In order to generate new data: | ||
|
||
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**. |
Oops, something went wrong.