| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Locale::ID::Locality; |
|
2
|
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
41180
|
use 5.010001; |
|
|
1
|
|
|
|
|
4
|
|
|
4
|
1
|
|
|
1
|
|
6
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
21
|
|
|
5
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
44
|
|
|
6
|
1
|
|
|
1
|
|
1244
|
use Perinci::Sub::Gen::AccessTable 0.14 qw(gen_read_table_func); |
|
|
1
|
|
|
|
|
73440
|
|
|
|
1
|
|
|
|
|
79
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
13
|
use Exporter; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
3130
|
|
|
9
|
|
|
|
|
|
|
our @ISA = qw(Exporter); |
|
10
|
|
|
|
|
|
|
our @EXPORT_OK = qw( |
|
11
|
|
|
|
|
|
|
list_id_localities |
|
12
|
|
|
|
|
|
|
); |
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
our %SPEC; |
|
15
|
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
our $VERSION = '0.10'; # VERSION |
|
17
|
|
|
|
|
|
|
our $DATE = '2015-09-03'; # DATE |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
# BEGIN FRAGMENT id=data |
|
20
|
|
|
|
|
|
|
# note: This section is generated by a script. Do not edit manually! |
|
21
|
|
|
|
|
|
|
# src-file: /mnt/home/s1/repos/gudang-data-interim/data/ind_locality/data.csv |
|
22
|
|
|
|
|
|
|
# src-revision: c88f0b1d19bca806d8c4f72da676e9e79b9c5aa4 |
|
23
|
|
|
|
|
|
|
# revision-date: Wed Dec 14 20:20:26 2011 +0700 |
|
24
|
|
|
|
|
|
|
# generate-date: Fri Mar 23 14:28:20 2012 |
|
25
|
|
|
|
|
|
|
# generated-by: /mnt/home/s1/repos/gudang-data-interim/bin/gen-perl-data-snippet |
|
26
|
|
|
|
|
|
|
our $data = [ |
|
27
|
|
|
|
|
|
|
['1101','11','SIMEULUE','2'], |
|
28
|
|
|
|
|
|
|
['1102','11','ACEH SINGKIL','2'], |
|
29
|
|
|
|
|
|
|
['1103','11','ACEH SELATAN','2'], |
|
30
|
|
|
|
|
|
|
['1104','11','ACEH TENGGARA','2'], |
|
31
|
|
|
|
|
|
|
['1105','11','ACEH TIMUR','2'], |
|
32
|
|
|
|
|
|
|
['1106','11','ACEH TENGAH','2'], |
|
33
|
|
|
|
|
|
|
['1107','11','ACEH BARAT','2'], |
|
34
|
|
|
|
|
|
|
['1108','11','ACEH BESAR','2'], |
|
35
|
|
|
|
|
|
|
['1109','11','PIDIE','2'], |
|
36
|
|
|
|
|
|
|
['1110','11','BIREUEN','2'], |
|
37
|
|
|
|
|
|
|
['1111','11','ACEH UTARA','2'], |
|
38
|
|
|
|
|
|
|
['1112','11','ACEH BARAT DAYA','2'], |
|
39
|
|
|
|
|
|
|
['1113','11','GAYO LUES','2'], |
|
40
|
|
|
|
|
|
|
['1114','11','ACEH TAMIANG','2'], |
|
41
|
|
|
|
|
|
|
['1115','11','NAGAN RAYA','2'], |
|
42
|
|
|
|
|
|
|
['1116','11','ACEH JAYA','2'], |
|
43
|
|
|
|
|
|
|
['1117','11','BENER MERIAH','2'], |
|
44
|
|
|
|
|
|
|
['1118','11','PIDIE JAYA','2'], |
|
45
|
|
|
|
|
|
|
['1171','11','BANDA ACEH','1'], |
|
46
|
|
|
|
|
|
|
['1172','11','SABANG','1'], |
|
47
|
|
|
|
|
|
|
['1173','11','LANGSA','1'], |
|
48
|
|
|
|
|
|
|
['1174','11','LHOKSEUMAWE','1'], |
|
49
|
|
|
|
|
|
|
['1175','11','SUBULUSSALAM','1'], |
|
50
|
|
|
|
|
|
|
['1201','12','NIAS','2'], |
|
51
|
|
|
|
|
|
|
['1202','12','MANDAILING NATAL','2'], |
|
52
|
|
|
|
|
|
|
['1203','12','TAPANULI SELATAN','2'], |
|
53
|
|
|
|
|
|
|
['1204','12','TAPANULI TENGAH','2'], |
|
54
|
|
|
|
|
|
|
['1205','12','TAPANULI UTARA','2'], |
|
55
|
|
|
|
|
|
|
['1206','12','TOBA SAMOSIR','2'], |
|
56
|
|
|
|
|
|
|
['1207','12','LABUHAN BATU','2'], |
|
57
|
|
|
|
|
|
|
['1208','12','ASAHAN','2'], |
|
58
|
|
|
|
|
|
|
['1209','12','SIMALUNGUN','2'], |
|
59
|
|
|
|
|
|
|
['1210','12','DAIRI','2'], |
|
60
|
|
|
|
|
|
|
['1211','12','KARO','2'], |
|
61
|
|
|
|
|
|
|
['1212','12','DELI SERDANG','2'], |
|
62
|
|
|
|
|
|
|
['1213','12','LANGKAT','2'], |
|
63
|
|
|
|
|
|
|
['1214','12','NIAS SELATAN','2'], |
|
64
|
|
|
|
|
|
|
['1215','12','HUMBANG HASUNDUTAN','2'], |
|
65
|
|
|
|
|
|
|
['1216','12','PAKPAK BHARAT','2'], |
|
66
|
|
|
|
|
|
|
['1217','12','SAMOSIR','2'], |
|
67
|
|
|
|
|
|
|
['1218','12','SERDANG BEDAGAI','2'], |
|
68
|
|
|
|
|
|
|
['1219','12','BATU BARA','2'], |
|
69
|
|
|
|
|
|
|
['1220','12','PADANG LAWAS UTARA','2'], |
|
70
|
|
|
|
|
|
|
['1221','12','PADANG LAWAS','2'], |
|
71
|
|
|
|
|
|
|
['1222','12','LABUHAN BATU SELATAN','2'], |
|
72
|
|
|
|
|
|
|
['1223','12','LABUHAN BATU UTARA','2'], |
|
73
|
|
|
|
|
|
|
['1224','12','NIAS UTARA','2'], |
|
74
|
|
|
|
|
|
|
['1225','12','NIAS BARAT','2'], |
|
75
|
|
|
|
|
|
|
['1271','12','SIBOLGA','1'], |
|
76
|
|
|
|
|
|
|
['1272','12','TANJUNG BALAI','1'], |
|
77
|
|
|
|
|
|
|
['1273','12','PEMATANG SIANTAR','1'], |
|
78
|
|
|
|
|
|
|
['1274','12','TEBING TINGGI','1'], |
|
79
|
|
|
|
|
|
|
['1275','12','MEDAN','1'], |
|
80
|
|
|
|
|
|
|
['1276','12','BINJAI','1'], |
|
81
|
|
|
|
|
|
|
['1277','12','PADANGSIDIMPUAN','1'], |
|
82
|
|
|
|
|
|
|
['1278','12','GUNUNGSITOLI','1'], |
|
83
|
|
|
|
|
|
|
['1301','13','KEPULAUAN MENTAWAI','2'], |
|
84
|
|
|
|
|
|
|
['1302','13','PESISIR SELATAN','2'], |
|
85
|
|
|
|
|
|
|
['1303','13','SOLOK','2'], |
|
86
|
|
|
|
|
|
|
['1304','13','SIJUNJUNG','2'], |
|
87
|
|
|
|
|
|
|
['1305','13','TANAH DATAR','2'], |
|
88
|
|
|
|
|
|
|
['1306','13','PADANG PARIAMAN','2'], |
|
89
|
|
|
|
|
|
|
['1307','13','AGAM','2'], |
|
90
|
|
|
|
|
|
|
['1308','13','LIMA PULUH KOTA','2'], |
|
91
|
|
|
|
|
|
|
['1309','13','PASAMAN','2'], |
|
92
|
|
|
|
|
|
|
['1310','13','SOLOK SELATAN','2'], |
|
93
|
|
|
|
|
|
|
['1311','13','DHARMAS RAYA','2'], |
|
94
|
|
|
|
|
|
|
['1312','13','PASAMAN BARAT','2'], |
|
95
|
|
|
|
|
|
|
['1371','13','PADANG','1'], |
|
96
|
|
|
|
|
|
|
['1372','13','SOLOK','1'], |
|
97
|
|
|
|
|
|
|
['1373','13','SAWAH LUNTO','1'], |
|
98
|
|
|
|
|
|
|
['1374','13','PADANG PANJANG','1'], |
|
99
|
|
|
|
|
|
|
['1375','13','BUKITTINGGI','1'], |
|
100
|
|
|
|
|
|
|
['1376','13','PAYAKUMBUH','1'], |
|
101
|
|
|
|
|
|
|
['1377','13','PARIAMAN','1'], |
|
102
|
|
|
|
|
|
|
['1401','14','KUANTAN SINGINGI','2'], |
|
103
|
|
|
|
|
|
|
['1402','14','INDRAGIRI HULU','2'], |
|
104
|
|
|
|
|
|
|
['1403','14','INDRAGIRI HILIR','2'], |
|
105
|
|
|
|
|
|
|
['1404','14','PELALAWAN','2'], |
|
106
|
|
|
|
|
|
|
['1405','14','SIAK','2'], |
|
107
|
|
|
|
|
|
|
['1406','14','KAMPAR','2'], |
|
108
|
|
|
|
|
|
|
['1407','14','ROKAN HULU','2'], |
|
109
|
|
|
|
|
|
|
['1408','14','BENGKALIS','2'], |
|
110
|
|
|
|
|
|
|
['1409','14','ROKAN HILIR','2'], |
|
111
|
|
|
|
|
|
|
['1410','14','KEPULAUAN MERANTI','2'], |
|
112
|
|
|
|
|
|
|
['1471','14','PEKANBARU','1'], |
|
113
|
|
|
|
|
|
|
['1473','14','DUMAI','1'], |
|
114
|
|
|
|
|
|
|
['1501','15','KERINCI','2'], |
|
115
|
|
|
|
|
|
|
['1502','15','MERANGIN','2'], |
|
116
|
|
|
|
|
|
|
['1503','15','SAROLANGUN','2'], |
|
117
|
|
|
|
|
|
|
['1504','15','BATANG HARI','2'], |
|
118
|
|
|
|
|
|
|
['1505','15','MUARO JAMBI','2'], |
|
119
|
|
|
|
|
|
|
['1506','15','TANJUNG JABUNG TIMUR','2'], |
|
120
|
|
|
|
|
|
|
['1507','15','TANJUNG JABUNG BARAT','2'], |
|
121
|
|
|
|
|
|
|
['1508','15','TEBO','2'], |
|
122
|
|
|
|
|
|
|
['1509','15','BUNGO','2'], |
|
123
|
|
|
|
|
|
|
['1571','15','JAMBI','1'], |
|
124
|
|
|
|
|
|
|
['1572','15','SUNGAI PENUH','1'], |
|
125
|
|
|
|
|
|
|
['1601','16','OGAN KOMERING ULU','2'], |
|
126
|
|
|
|
|
|
|
['1602','16','OGAN KOMERING ILIR','2'], |
|
127
|
|
|
|
|
|
|
['1603','16','MUARA ENIM','2'], |
|
128
|
|
|
|
|
|
|
['1604','16','LAHAT','2'], |
|
129
|
|
|
|
|
|
|
['1605','16','MUSI RAWAS','2'], |
|
130
|
|
|
|
|
|
|
['1606','16','MUSI BANYUASIN','2'], |
|
131
|
|
|
|
|
|
|
['1607','16','BANYU ASIN','2'], |
|
132
|
|
|
|
|
|
|
['1608','16','OGAN KOMERING ULU SELATAN','2'], |
|
133
|
|
|
|
|
|
|
['1609','16','OGAN KOMERING ULU TIMUR','2'], |
|
134
|
|
|
|
|
|
|
['1610','16','OGAN ILIR','2'], |
|
135
|
|
|
|
|
|
|
['1611','16','EMPAT LAWANG','2'], |
|
136
|
|
|
|
|
|
|
['1671','16','PALEMBANG','1'], |
|
137
|
|
|
|
|
|
|
['1672','16','PRABUMULIH','1'], |
|
138
|
|
|
|
|
|
|
['1673','16','PAGAR ALAM','1'], |
|
139
|
|
|
|
|
|
|
['1674','16','LUBUKLINGGAU','1'], |
|
140
|
|
|
|
|
|
|
['1701','17','BENGKULU SELATAN','2'], |
|
141
|
|
|
|
|
|
|
['1702','17','REJANG LEBONG','2'], |
|
142
|
|
|
|
|
|
|
['1703','17','BENGKULU UTARA','2'], |
|
143
|
|
|
|
|
|
|
['1704','17','KAUR','2'], |
|
144
|
|
|
|
|
|
|
['1705','17','SELUMA','2'], |
|
145
|
|
|
|
|
|
|
['1706','17','MUKOMUKO','2'], |
|
146
|
|
|
|
|
|
|
['1707','17','LEBONG','2'], |
|
147
|
|
|
|
|
|
|
['1708','17','KEPAHIANG','2'], |
|
148
|
|
|
|
|
|
|
['1709','17','BENGKULU TENGAH','2'], |
|
149
|
|
|
|
|
|
|
['1771','17','BENGKULU','1'], |
|
150
|
|
|
|
|
|
|
['1801','18','LAMPUNG BARAT','2'], |
|
151
|
|
|
|
|
|
|
['1802','18','TANGGAMUS','2'], |
|
152
|
|
|
|
|
|
|
['1803','18','LAMPUNG SELATAN','2'], |
|
153
|
|
|
|
|
|
|
['1804','18','LAMPUNG TIMUR','2'], |
|
154
|
|
|
|
|
|
|
['1805','18','LAMPUNG TENGAH','2'], |
|
155
|
|
|
|
|
|
|
['1806','18','LAMPUNG UTARA','2'], |
|
156
|
|
|
|
|
|
|
['1807','18','WAY KANAN','2'], |
|
157
|
|
|
|
|
|
|
['1808','18','TULANGBAWANG','2'], |
|
158
|
|
|
|
|
|
|
['1809','18','PESAWARAN','2'], |
|
159
|
|
|
|
|
|
|
['1810','18','PRINGSEWU','2'], |
|
160
|
|
|
|
|
|
|
['1811','18','MESUJI','2'], |
|
161
|
|
|
|
|
|
|
['1812','18','TULANGBAWANG BARAT','2'], |
|
162
|
|
|
|
|
|
|
['1871','18','BANDAR LAMPUNG','1'], |
|
163
|
|
|
|
|
|
|
['1872','18','METRO','1'], |
|
164
|
|
|
|
|
|
|
['1901','19','BANGKA','2'], |
|
165
|
|
|
|
|
|
|
['1902','19','BELITUNG','2'], |
|
166
|
|
|
|
|
|
|
['1903','19','BANGKA BARAT','2'], |
|
167
|
|
|
|
|
|
|
['1904','19','BANGKA TENGAH','2'], |
|
168
|
|
|
|
|
|
|
['1905','19','BANGKA SELATAN','2'], |
|
169
|
|
|
|
|
|
|
['1906','19','BELITUNG TIMUR','2'], |
|
170
|
|
|
|
|
|
|
['1971','19','PANGKAL PINANG','1'], |
|
171
|
|
|
|
|
|
|
['2101','21','KARIMUN','2'], |
|
172
|
|
|
|
|
|
|
['2102','21','BINTAN','2'], |
|
173
|
|
|
|
|
|
|
['2103','21','NATUNA','2'], |
|
174
|
|
|
|
|
|
|
['2104','21','LINGGA','2'], |
|
175
|
|
|
|
|
|
|
['2105','21','KEPULAUAN ANAMBAS','2'], |
|
176
|
|
|
|
|
|
|
['2171','21','BATAM','1'], |
|
177
|
|
|
|
|
|
|
['2172','21','TANJUNG PINANG','1'], |
|
178
|
|
|
|
|
|
|
['3101','31','KEPULAUAN SERIBU','2'], |
|
179
|
|
|
|
|
|
|
['3171','31','JAKARTA SELATAN','1'], |
|
180
|
|
|
|
|
|
|
['3172','31','JAKARTA TIMUR','1'], |
|
181
|
|
|
|
|
|
|
['3173','31','JAKARTA PUSAT','1'], |
|
182
|
|
|
|
|
|
|
['3174','31','JAKARTA BARAT','1'], |
|
183
|
|
|
|
|
|
|
['3175','31','JAKARTA UTARA','1'], |
|
184
|
|
|
|
|
|
|
['3201','32','BOGOR','2'], |
|
185
|
|
|
|
|
|
|
['3202','32','SUKABUMI','2'], |
|
186
|
|
|
|
|
|
|
['3203','32','CIANJUR','2'], |
|
187
|
|
|
|
|
|
|
['3204','32','BANDUNG','2'], |
|
188
|
|
|
|
|
|
|
['3205','32','GARUT','2'], |
|
189
|
|
|
|
|
|
|
['3206','32','TASIKMALAYA','2'], |
|
190
|
|
|
|
|
|
|
['3207','32','CIAMIS','2'], |
|
191
|
|
|
|
|
|
|
['3208','32','KUNINGAN','2'], |
|
192
|
|
|
|
|
|
|
['3209','32','CIREBON','2'], |
|
193
|
|
|
|
|
|
|
['3210','32','MAJALENGKA','2'], |
|
194
|
|
|
|
|
|
|
['3211','32','SUMEDANG','2'], |
|
195
|
|
|
|
|
|
|
['3212','32','INDRAMAYU','2'], |
|
196
|
|
|
|
|
|
|
['3213','32','SUBANG','2'], |
|
197
|
|
|
|
|
|
|
['3214','32','PURWAKARTA','2'], |
|
198
|
|
|
|
|
|
|
['3215','32','KARAWANG','2'], |
|
199
|
|
|
|
|
|
|
['3216','32','BEKASI','2'], |
|
200
|
|
|
|
|
|
|
['3217','32','BANDUNG BARAT','2'], |
|
201
|
|
|
|
|
|
|
['3271','32','BOGOR','1'], |
|
202
|
|
|
|
|
|
|
['3272','32','SUKABUMI','1'], |
|
203
|
|
|
|
|
|
|
['3273','32','BANDUNG','1'], |
|
204
|
|
|
|
|
|
|
['3274','32','CIREBON','1'], |
|
205
|
|
|
|
|
|
|
['3275','32','BEKASI','1'], |
|
206
|
|
|
|
|
|
|
['3276','32','DEPOK','1'], |
|
207
|
|
|
|
|
|
|
['3277','32','CIMAHI','1'], |
|
208
|
|
|
|
|
|
|
['3278','32','TASIKMALAYA','1'], |
|
209
|
|
|
|
|
|
|
['3279','32','BANJAR','1'], |
|
210
|
|
|
|
|
|
|
['3301','33','CILACAP','2'], |
|
211
|
|
|
|
|
|
|
['3302','33','BANYUMAS','2'], |
|
212
|
|
|
|
|
|
|
['3303','33','PURBALINGGA','2'], |
|
213
|
|
|
|
|
|
|
['3304','33','BANJARNEGARA','2'], |
|
214
|
|
|
|
|
|
|
['3305','33','KEBUMEN','2'], |
|
215
|
|
|
|
|
|
|
['3306','33','PURWOREJO','2'], |
|
216
|
|
|
|
|
|
|
['3307','33','WONOSOBO','2'], |
|
217
|
|
|
|
|
|
|
['3308','33','MAGELANG','2'], |
|
218
|
|
|
|
|
|
|
['3309','33','BOYOLALI','2'], |
|
219
|
|
|
|
|
|
|
['3310','33','KLATEN','2'], |
|
220
|
|
|
|
|
|
|
['3311','33','SUKOHARJO','2'], |
|
221
|
|
|
|
|
|
|
['3312','33','WONOGIRI','2'], |
|
222
|
|
|
|
|
|
|
['3313','33','KARANGANYAR','2'], |
|
223
|
|
|
|
|
|
|
['3314','33','SRAGEN','2'], |
|
224
|
|
|
|
|
|
|
['3315','33','GROBOGAN','2'], |
|
225
|
|
|
|
|
|
|
['3316','33','BLORA','2'], |
|
226
|
|
|
|
|
|
|
['3317','33','REMBANG','2'], |
|
227
|
|
|
|
|
|
|
['3318','33','PATI','2'], |
|
228
|
|
|
|
|
|
|
['3319','33','KUDUS','2'], |
|
229
|
|
|
|
|
|
|
['3320','33','JEPARA','2'], |
|
230
|
|
|
|
|
|
|
['3321','33','DEMAK','2'], |
|
231
|
|
|
|
|
|
|
['3322','33','SEMARANG','2'], |
|
232
|
|
|
|
|
|
|
['3323','33','TEMANGGUNG','2'], |
|
233
|
|
|
|
|
|
|
['3324','33','KENDAL','2'], |
|
234
|
|
|
|
|
|
|
['3325','33','BATANG','2'], |
|
235
|
|
|
|
|
|
|
['3326','33','PEKALONGAN','2'], |
|
236
|
|
|
|
|
|
|
['3327','33','PEMALANG','2'], |
|
237
|
|
|
|
|
|
|
['3328','33','TEGAL','2'], |
|
238
|
|
|
|
|
|
|
['3329','33','BREBES','2'], |
|
239
|
|
|
|
|
|
|
['3371','33','MAGELANG','1'], |
|
240
|
|
|
|
|
|
|
['3372','33','SURAKARTA','1'], |
|
241
|
|
|
|
|
|
|
['3373','33','SALATIGA','1'], |
|
242
|
|
|
|
|
|
|
['3374','33','SEMARANG','1'], |
|
243
|
|
|
|
|
|
|
['3375','33','PEKALONGAN','1'], |
|
244
|
|
|
|
|
|
|
['3376','33','TEGAL','1'], |
|
245
|
|
|
|
|
|
|
['3401','34','KULON PROGO','2'], |
|
246
|
|
|
|
|
|
|
['3402','34','BANTUL','2'], |
|
247
|
|
|
|
|
|
|
['3403','34','GUNUNG KIDUL','2'], |
|
248
|
|
|
|
|
|
|
['3404','34','SLEMAN','2'], |
|
249
|
|
|
|
|
|
|
['3471','34','YOGYAKARTA','1'], |
|
250
|
|
|
|
|
|
|
['3501','35','PACITAN','2'], |
|
251
|
|
|
|
|
|
|
['3502','35','PONOROGO','2'], |
|
252
|
|
|
|
|
|
|
['3503','35','TRENGGALEK','2'], |
|
253
|
|
|
|
|
|
|
['3504','35','TULUNGAGUNG','2'], |
|
254
|
|
|
|
|
|
|
['3505','35','BLITAR','2'], |
|
255
|
|
|
|
|
|
|
['3506','35','KEDIRI','2'], |
|
256
|
|
|
|
|
|
|
['3507','35','MALANG','2'], |
|
257
|
|
|
|
|
|
|
['3508','35','LUMAJANG','2'], |
|
258
|
|
|
|
|
|
|
['3509','35','JEMBER','2'], |
|
259
|
|
|
|
|
|
|
['3510','35','BANYUWANGI','2'], |
|
260
|
|
|
|
|
|
|
['3511','35','BONDOWOSO','2'], |
|
261
|
|
|
|
|
|
|
['3512','35','SITUBONDO','2'], |
|
262
|
|
|
|
|
|
|
['3513','35','PROBOLINGGO','2'], |
|
263
|
|
|
|
|
|
|
['3514','35','PASURUAN','2'], |
|
264
|
|
|
|
|
|
|
['3515','35','SIDOARJO','2'], |
|
265
|
|
|
|
|
|
|
['3516','35','MOJOKERTO','2'], |
|
266
|
|
|
|
|
|
|
['3517','35','JOMBANG','2'], |
|
267
|
|
|
|
|
|
|
['3518','35','NGANJUK','2'], |
|
268
|
|
|
|
|
|
|
['3519','35','MADIUN','2'], |
|
269
|
|
|
|
|
|
|
['3520','35','MAGETAN','2'], |
|
270
|
|
|
|
|
|
|
['3521','35','NGAWI','2'], |
|
271
|
|
|
|
|
|
|
['3522','35','BOJONEGORO','2'], |
|
272
|
|
|
|
|
|
|
['3523','35','TUBAN','2'], |
|
273
|
|
|
|
|
|
|
['3524','35','LAMONGAN','2'], |
|
274
|
|
|
|
|
|
|
['3525','35','GRESIK','2'], |
|
275
|
|
|
|
|
|
|
['3526','35','BANGKALAN','2'], |
|
276
|
|
|
|
|
|
|
['3527','35','SAMPANG','2'], |
|
277
|
|
|
|
|
|
|
['3528','35','PAMEKASAN','2'], |
|
278
|
|
|
|
|
|
|
['3529','35','SUMENEP','2'], |
|
279
|
|
|
|
|
|
|
['3571','35','KEDIRI','1'], |
|
280
|
|
|
|
|
|
|
['3572','35','BLITAR','1'], |
|
281
|
|
|
|
|
|
|
['3573','35','MALANG','1'], |
|
282
|
|
|
|
|
|
|
['3574','35','PROBOLINGGO','1'], |
|
283
|
|
|
|
|
|
|
['3575','35','PASURUAN','1'], |
|
284
|
|
|
|
|
|
|
['3576','35','MOJOKERTO','1'], |
|
285
|
|
|
|
|
|
|
['3577','35','MADIUN','1'], |
|
286
|
|
|
|
|
|
|
['3578','35','SURABAYA','1'], |
|
287
|
|
|
|
|
|
|
['3579','35','BATU','1'], |
|
288
|
|
|
|
|
|
|
['3601','36','PANDEGLANG','2'], |
|
289
|
|
|
|
|
|
|
['3602','36','LEBAK','2'], |
|
290
|
|
|
|
|
|
|
['3603','36','TANGERANG','2'], |
|
291
|
|
|
|
|
|
|
['3604','36','SERANG','2'], |
|
292
|
|
|
|
|
|
|
['3671','36','TANGERANG','1'], |
|
293
|
|
|
|
|
|
|
['3672','36','CILEGON','1'], |
|
294
|
|
|
|
|
|
|
['3673','36','SERANG','1'], |
|
295
|
|
|
|
|
|
|
['3674','36','TANGERANG SELATAN','1'], |
|
296
|
|
|
|
|
|
|
['5101','51','JEMBRANA','2'], |
|
297
|
|
|
|
|
|
|
['5102','51','TABANAN','2'], |
|
298
|
|
|
|
|
|
|
['5103','51','BADUNG','2'], |
|
299
|
|
|
|
|
|
|
['5104','51','GIANYAR','2'], |
|
300
|
|
|
|
|
|
|
['5105','51','KLUNGKUNG','2'], |
|
301
|
|
|
|
|
|
|
['5106','51','BANGLI','2'], |
|
302
|
|
|
|
|
|
|
['5107','51','KARANG ASEM','2'], |
|
303
|
|
|
|
|
|
|
['5108','51','BULELENG','2'], |
|
304
|
|
|
|
|
|
|
['5171','51','DENPASAR','1'], |
|
305
|
|
|
|
|
|
|
['5201','52','LOMBOK BARAT','2'], |
|
306
|
|
|
|
|
|
|
['5202','52','LOMBOK TENGAH','2'], |
|
307
|
|
|
|
|
|
|
['5203','52','LOMBOK TIMUR','2'], |
|
308
|
|
|
|
|
|
|
['5204','52','SUMBAWA','2'], |
|
309
|
|
|
|
|
|
|
['5205','52','DOMPU','2'], |
|
310
|
|
|
|
|
|
|
['5206','52','BIMA','2'], |
|
311
|
|
|
|
|
|
|
['5207','52','SUMBAWA BARAT','2'], |
|
312
|
|
|
|
|
|
|
['5208','52','LOMBOK UTARA','2'], |
|
313
|
|
|
|
|
|
|
['5271','52','MATARAM','1'], |
|
314
|
|
|
|
|
|
|
['5272','52','BIMA','1'], |
|
315
|
|
|
|
|
|
|
['5301','53','SUMBA BARAT','2'], |
|
316
|
|
|
|
|
|
|
['5302','53','SUMBA TIMUR','2'], |
|
317
|
|
|
|
|
|
|
['5303','53','KUPANG','2'], |
|
318
|
|
|
|
|
|
|
['5304','53','TIMOR TENGAH SELATAN','2'], |
|
319
|
|
|
|
|
|
|
['5305','53','TIMOR TENGAH UTARA','2'], |
|
320
|
|
|
|
|
|
|
['5306','53','BELU','2'], |
|
321
|
|
|
|
|
|
|
['5307','53','ALOR','2'], |
|
322
|
|
|
|
|
|
|
['5308','53','LEMBATA','2'], |
|
323
|
|
|
|
|
|
|
['5309','53','FLORES TIMUR','2'], |
|
324
|
|
|
|
|
|
|
['5310','53','SIKKA','2'], |
|
325
|
|
|
|
|
|
|
['5311','53','ENDE','2'], |
|
326
|
|
|
|
|
|
|
['5312','53','NGADA','2'], |
|
327
|
|
|
|
|
|
|
['5313','53','MANGGARAI','2'], |
|
328
|
|
|
|
|
|
|
['5314','53','ROTE NDAO','2'], |
|
329
|
|
|
|
|
|
|
['5315','53','MANGGARAI BARAT','2'], |
|
330
|
|
|
|
|
|
|
['5316','53','SUMBA TENGAH','2'], |
|
331
|
|
|
|
|
|
|
['5317','53','SUMBA BARAT DAYA','2'], |
|
332
|
|
|
|
|
|
|
['5318','53','NAGEKEO','2'], |
|
333
|
|
|
|
|
|
|
['5319','53','MANGGARAI TIMUR','2'], |
|
334
|
|
|
|
|
|
|
['5320','53','SABU RAIJUA','2'], |
|
335
|
|
|
|
|
|
|
['5371','53','KUPANG','1'], |
|
336
|
|
|
|
|
|
|
['6101','61','SAMBAS','2'], |
|
337
|
|
|
|
|
|
|
['6102','61','BENGKAYANG','2'], |
|
338
|
|
|
|
|
|
|
['6103','61','LANDAK','2'], |
|
339
|
|
|
|
|
|
|
['6104','61','PONTIANAK','2'], |
|
340
|
|
|
|
|
|
|
['6105','61','SANGGAU','2'], |
|
341
|
|
|
|
|
|
|
['6106','61','KETAPANG','2'], |
|
342
|
|
|
|
|
|
|
['6107','61','SINTANG','2'], |
|
343
|
|
|
|
|
|
|
['6108','61','KAPUAS HULU','2'], |
|
344
|
|
|
|
|
|
|
['6109','61','SEKADAU','2'], |
|
345
|
|
|
|
|
|
|
['6110','61','MELAWI','2'], |
|
346
|
|
|
|
|
|
|
['6111','61','KAYONG UTARA','2'], |
|
347
|
|
|
|
|
|
|
['6112','61','KUBU RAYA','2'], |
|
348
|
|
|
|
|
|
|
['6171','61','PONTIANAK','1'], |
|
349
|
|
|
|
|
|
|
['6172','61','SINGKAWANG','1'], |
|
350
|
|
|
|
|
|
|
['6201','62','KOTAWARINGIN BARAT','2'], |
|
351
|
|
|
|
|
|
|
['6202','62','KOTAWARINGIN TIMUR','2'], |
|
352
|
|
|
|
|
|
|
['6203','62','KAPUAS','2'], |
|
353
|
|
|
|
|
|
|
['6204','62','BARITO SELATAN','2'], |
|
354
|
|
|
|
|
|
|
['6205','62','BARITO UTARA','2'], |
|
355
|
|
|
|
|
|
|
['6206','62','SUKAMARA','2'], |
|
356
|
|
|
|
|
|
|
['6207','62','LAMANDAU','2'], |
|
357
|
|
|
|
|
|
|
['6208','62','SERUYAN','2'], |
|
358
|
|
|
|
|
|
|
['6209','62','KATINGAN','2'], |
|
359
|
|
|
|
|
|
|
['6210','62','PULANG PISAU','2'], |
|
360
|
|
|
|
|
|
|
['6211','62','GUNUNG MAS','2'], |
|
361
|
|
|
|
|
|
|
['6212','62','BARITO TIMUR','2'], |
|
362
|
|
|
|
|
|
|
['6213','62','MURUNG RAYA','2'], |
|
363
|
|
|
|
|
|
|
['6271','62','PALANGKA RAYA','1'], |
|
364
|
|
|
|
|
|
|
['6301','63','TANAH LAUT','2'], |
|
365
|
|
|
|
|
|
|
['6302','63','BARU','1'], |
|
366
|
|
|
|
|
|
|
['6303','63','BANJAR','2'], |
|
367
|
|
|
|
|
|
|
['6304','63','BARITO KUALA','2'], |
|
368
|
|
|
|
|
|
|
['6305','63','TAPIN','2'], |
|
369
|
|
|
|
|
|
|
['6306','63','HULU SUNGAI SELATAN','2'], |
|
370
|
|
|
|
|
|
|
['6307','63','HULU SUNGAI TENGAH','2'], |
|
371
|
|
|
|
|
|
|
['6308','63','HULU SUNGAI UTARA','2'], |
|
372
|
|
|
|
|
|
|
['6309','63','TABALONG','2'], |
|
373
|
|
|
|
|
|
|
['6310','63','TANAH BUMBU','2'], |
|
374
|
|
|
|
|
|
|
['6311','63','BALANGAN','2'], |
|
375
|
|
|
|
|
|
|
['6371','63','BANJARMASIN','1'], |
|
376
|
|
|
|
|
|
|
['6372','63','BANJAR BARU','1'], |
|
377
|
|
|
|
|
|
|
['6401','64','PASIR','2'], |
|
378
|
|
|
|
|
|
|
['6402','64','KUTAI BARAT','2'], |
|
379
|
|
|
|
|
|
|
['6403','64','KUTAI KARTANEGARA','2'], |
|
380
|
|
|
|
|
|
|
['6404','64','KUTAI TIMUR','2'], |
|
381
|
|
|
|
|
|
|
['6405','64','BERAU','2'], |
|
382
|
|
|
|
|
|
|
['6406','64','MALINAU','2'], |
|
383
|
|
|
|
|
|
|
['6407','64','BULUNGAN','2'], |
|
384
|
|
|
|
|
|
|
['6408','64','NUNUKAN','2'], |
|
385
|
|
|
|
|
|
|
['6409','64','PENAJAM PASER UTARA','2'], |
|
386
|
|
|
|
|
|
|
['6410','64','TANA TIDUNG','2'], |
|
387
|
|
|
|
|
|
|
['6471','64','BALIKPAPAN','1'], |
|
388
|
|
|
|
|
|
|
['6472','64','SAMARINDA','1'], |
|
389
|
|
|
|
|
|
|
['6473','64','TARAKAN','1'], |
|
390
|
|
|
|
|
|
|
['6474','64','BONTANG','1'], |
|
391
|
|
|
|
|
|
|
['7101','71','BOLAANG MONGONDOW','2'], |
|
392
|
|
|
|
|
|
|
['7102','71','MINAHASA','2'], |
|
393
|
|
|
|
|
|
|
['7103','71','KEPULAUAN SANGIHE','2'], |
|
394
|
|
|
|
|
|
|
['7104','71','KEPULAUAN TALAUD','2'], |
|
395
|
|
|
|
|
|
|
['7105','71','MINAHASA SELATAN','2'], |
|
396
|
|
|
|
|
|
|
['7106','71','MINAHASA UTARA','2'], |
|
397
|
|
|
|
|
|
|
['7107','71','BOLAANG MONGONDOW UTARA','2'], |
|
398
|
|
|
|
|
|
|
['7108','71','SIAU TAGULANDANG BIARO','2'], |
|
399
|
|
|
|
|
|
|
['7109','71','MINAHASA TENGGARA','2'], |
|
400
|
|
|
|
|
|
|
['7110','71','BOLAANG MONGONDOW SELATAN','2'], |
|
401
|
|
|
|
|
|
|
['7111','71','BOLAANG MONGONDOW TIMUR','2'], |
|
402
|
|
|
|
|
|
|
['7171','71','MANADO','1'], |
|
403
|
|
|
|
|
|
|
['7172','71','BITUNG','1'], |
|
404
|
|
|
|
|
|
|
['7173','71','TOMOHON','1'], |
|
405
|
|
|
|
|
|
|
['7174','71','KOTAMOBAGU','1'], |
|
406
|
|
|
|
|
|
|
['7201','72','BANGGAI KEPULAUAN','2'], |
|
407
|
|
|
|
|
|
|
['7202','72','BANGGAI','2'], |
|
408
|
|
|
|
|
|
|
['7203','72','MOROWALI','2'], |
|
409
|
|
|
|
|
|
|
['7204','72','POSO','2'], |
|
410
|
|
|
|
|
|
|
['7205','72','DONGGALA','2'], |
|
411
|
|
|
|
|
|
|
['7206','72','TOLI-TOLI','2'], |
|
412
|
|
|
|
|
|
|
['7207','72','BUOL','2'], |
|
413
|
|
|
|
|
|
|
['7208','72','PARIGI MOUTONG','2'], |
|
414
|
|
|
|
|
|
|
['7209','72','TOJO UNA-UNA','2'], |
|
415
|
|
|
|
|
|
|
['7210','72','SIGI','2'], |
|
416
|
|
|
|
|
|
|
['7271','72','PALU','1'], |
|
417
|
|
|
|
|
|
|
['7301','73','KEPULAUAN SELAYAR','2'], |
|
418
|
|
|
|
|
|
|
['7302','73','BULUKUMBA','2'], |
|
419
|
|
|
|
|
|
|
['7303','73','BANTAENG','2'], |
|
420
|
|
|
|
|
|
|
['7304','73','JENEPONTO','2'], |
|
421
|
|
|
|
|
|
|
['7305','73','TAKALAR','2'], |
|
422
|
|
|
|
|
|
|
['7306','73','GOWA','2'], |
|
423
|
|
|
|
|
|
|
['7307','73','SINJAI','2'], |
|
424
|
|
|
|
|
|
|
['7308','73','MAROS','2'], |
|
425
|
|
|
|
|
|
|
['7309','73','PANGKAJENE DAN KEPULAUAN','2'], |
|
426
|
|
|
|
|
|
|
['7310','73','BARRU','2'], |
|
427
|
|
|
|
|
|
|
['7311','73','BONE','2'], |
|
428
|
|
|
|
|
|
|
['7312','73','SOPPENG','2'], |
|
429
|
|
|
|
|
|
|
['7313','73','WAJO','2'], |
|
430
|
|
|
|
|
|
|
['7314','73','SIDENRENG RAPPANG','2'], |
|
431
|
|
|
|
|
|
|
['7315','73','PINRANG','2'], |
|
432
|
|
|
|
|
|
|
['7316','73','ENREKANG','2'], |
|
433
|
|
|
|
|
|
|
['7317','73','LUWU','2'], |
|
434
|
|
|
|
|
|
|
['7318','73','TANA TORAJA','2'], |
|
435
|
|
|
|
|
|
|
['7322','73','LUWU UTARA','2'], |
|
436
|
|
|
|
|
|
|
['7325','73','LUWU TIMUR','2'], |
|
437
|
|
|
|
|
|
|
['7326','73','TORAJA UTARA','2'], |
|
438
|
|
|
|
|
|
|
['7371','73','MAKASSAR','1'], |
|
439
|
|
|
|
|
|
|
['7372','73','PAREPARE','1'], |
|
440
|
|
|
|
|
|
|
['7373','73','PALOPO','1'], |
|
441
|
|
|
|
|
|
|
['7401','74','BUTON','2'], |
|
442
|
|
|
|
|
|
|
['7402','74','MUNA','2'], |
|
443
|
|
|
|
|
|
|
['7403','74','KONAWE','2'], |
|
444
|
|
|
|
|
|
|
['7404','74','KOLAKA','2'], |
|
445
|
|
|
|
|
|
|
['7405','74','KONAWE SELATAN','2'], |
|
446
|
|
|
|
|
|
|
['7406','74','BOMBANA','2'], |
|
447
|
|
|
|
|
|
|
['7407','74','WAKATOBI','2'], |
|
448
|
|
|
|
|
|
|
['7408','74','KOLAKA UTARA','2'], |
|
449
|
|
|
|
|
|
|
['7409','74','BUTON UTARA','2'], |
|
450
|
|
|
|
|
|
|
['7410','74','KONAWE UTARA','2'], |
|
451
|
|
|
|
|
|
|
['7471','74','KENDARI','1'], |
|
452
|
|
|
|
|
|
|
['7472','74','BAU-BAU','1'], |
|
453
|
|
|
|
|
|
|
['7501','75','BOALEMO','2'], |
|
454
|
|
|
|
|
|
|
['7502','75','GORONTALO','2'], |
|
455
|
|
|
|
|
|
|
['7503','75','POHUWATO','2'], |
|
456
|
|
|
|
|
|
|
['7504','75','BONE BOLANGO','2'], |
|
457
|
|
|
|
|
|
|
['7505','75','GORONTALO UTARA','2'], |
|
458
|
|
|
|
|
|
|
['7571','75','GORONTALO','1'], |
|
459
|
|
|
|
|
|
|
['7601','76','MAJENE','2'], |
|
460
|
|
|
|
|
|
|
['7602','76','POLEWALI MANDAR','2'], |
|
461
|
|
|
|
|
|
|
['7603','76','MAMASA','2'], |
|
462
|
|
|
|
|
|
|
['7604','76','MAMUJU','2'], |
|
463
|
|
|
|
|
|
|
['7605','76','MAMUJU UTARA','2'], |
|
464
|
|
|
|
|
|
|
['8101','81','MALUKU TENGGARA BARAT','2'], |
|
465
|
|
|
|
|
|
|
['8102','81','MALUKU TENGGARA','2'], |
|
466
|
|
|
|
|
|
|
['8103','81','MALUKU TENGAH','2'], |
|
467
|
|
|
|
|
|
|
['8104','81','BURU','2'], |
|
468
|
|
|
|
|
|
|
['8105','81','KEPULAUAN ARU','2'], |
|
469
|
|
|
|
|
|
|
['8106','81','SERAM BAGIAN BARAT','2'], |
|
470
|
|
|
|
|
|
|
['8107','81','SERAM BAGIAN TIMUR','2'], |
|
471
|
|
|
|
|
|
|
['8108','81','MALUKU BARAT DAYA','2'], |
|
472
|
|
|
|
|
|
|
['8109','81','BURU SELATAN','2'], |
|
473
|
|
|
|
|
|
|
['8171','81','AMBON','1'], |
|
474
|
|
|
|
|
|
|
['8172','81','TUAL','1'], |
|
475
|
|
|
|
|
|
|
['8201','82','HALMAHERA BARAT','2'], |
|
476
|
|
|
|
|
|
|
['8202','82','HALMAHERA TENGAH','2'], |
|
477
|
|
|
|
|
|
|
['8203','82','KEPULAUAN SULA','2'], |
|
478
|
|
|
|
|
|
|
['8204','82','HALMAHERA SELATAN','2'], |
|
479
|
|
|
|
|
|
|
['8205','82','HALMAHERA UTARA','2'], |
|
480
|
|
|
|
|
|
|
['8206','82','HALMAHERA TIMUR','2'], |
|
481
|
|
|
|
|
|
|
['8207','82','PULAU MOROTAI','2'], |
|
482
|
|
|
|
|
|
|
['8271','82','TERNATE','1'], |
|
483
|
|
|
|
|
|
|
['8272','82','TIDORE KEPULAUAN','1'], |
|
484
|
|
|
|
|
|
|
['9101','91','FAKFAK','2'], |
|
485
|
|
|
|
|
|
|
['9102','91','KAIMANA','2'], |
|
486
|
|
|
|
|
|
|
['9103','91','TELUK WONDAMA','2'], |
|
487
|
|
|
|
|
|
|
['9104','91','TELUK BINTUNI','2'], |
|
488
|
|
|
|
|
|
|
['9105','91','MANOKWARI','2'], |
|
489
|
|
|
|
|
|
|
['9106','91','SORONG SELATAN','2'], |
|
490
|
|
|
|
|
|
|
['9107','91','SORONG','2'], |
|
491
|
|
|
|
|
|
|
['9108','91','RAJA AMPAT','2'], |
|
492
|
|
|
|
|
|
|
['9109','91','TAMBRAUW','2'], |
|
493
|
|
|
|
|
|
|
['9110','91','MAYBRAT','2'], |
|
494
|
|
|
|
|
|
|
['9171','91','SORONG','1'], |
|
495
|
|
|
|
|
|
|
['9401','94','MERAUKE','2'], |
|
496
|
|
|
|
|
|
|
['9402','94','JAYAWIJAYA','2'], |
|
497
|
|
|
|
|
|
|
['9403','94','JAYAPURA','2'], |
|
498
|
|
|
|
|
|
|
['9404','94','NABIRE','2'], |
|
499
|
|
|
|
|
|
|
['9408','94','YAPEN WAROPEN','2'], |
|
500
|
|
|
|
|
|
|
['9409','94','BIAK NUMFOR','2'], |
|
501
|
|
|
|
|
|
|
['9410','94','PANIAI','2'], |
|
502
|
|
|
|
|
|
|
['9411','94','PUNCAK JAYA','2'], |
|
503
|
|
|
|
|
|
|
['9412','94','MIMIKA','2'], |
|
504
|
|
|
|
|
|
|
['9413','94','BOVEN DIGOEL','2'], |
|
505
|
|
|
|
|
|
|
['9414','94','MAPPI','2'], |
|
506
|
|
|
|
|
|
|
['9415','94','ASMAT','2'], |
|
507
|
|
|
|
|
|
|
['9416','94','YAHUKIMO','2'], |
|
508
|
|
|
|
|
|
|
['9417','94','PEGUNUNGAN BINTANG','2'], |
|
509
|
|
|
|
|
|
|
['9418','94','TOLIKARA','2'], |
|
510
|
|
|
|
|
|
|
['9419','94','SARMI','2'], |
|
511
|
|
|
|
|
|
|
['9420','94','KEEROM','2'], |
|
512
|
|
|
|
|
|
|
['9426','94','WAROPEN','2'], |
|
513
|
|
|
|
|
|
|
['9427','94','SUPIORI','2'], |
|
514
|
|
|
|
|
|
|
['9428','94','MAMBERAMO RAYA','2'], |
|
515
|
|
|
|
|
|
|
['9429','94','NDUGA','2'], |
|
516
|
|
|
|
|
|
|
['9430','94','LANNY JAYA','2'], |
|
517
|
|
|
|
|
|
|
['9431','94','MAMBERAMO TENGAH','2'], |
|
518
|
|
|
|
|
|
|
['9432','94','YALIMO','2'], |
|
519
|
|
|
|
|
|
|
['9433','94','PUNCAK','2'], |
|
520
|
|
|
|
|
|
|
['9434','94','DOGIYAI','2'], |
|
521
|
|
|
|
|
|
|
['9435','94','INTAN JAYA','2'], |
|
522
|
|
|
|
|
|
|
['9436','94','DEIYAI','2'], |
|
523
|
|
|
|
|
|
|
['9471','94','JAYAPURA','1'], |
|
524
|
|
|
|
|
|
|
] |
|
525
|
|
|
|
|
|
|
; |
|
526
|
|
|
|
|
|
|
# END FRAGMENT id=data |
|
527
|
|
|
|
|
|
|
# BEGIN FRAGMENT id=meta |
|
528
|
|
|
|
|
|
|
# note: This section is generated by a script. Do not edit manually! |
|
529
|
|
|
|
|
|
|
# src-file: /mnt/home/s1/repos/gudang-data-interim/data/ind_locality/meta.yaml |
|
530
|
|
|
|
|
|
|
# src-revision: 174d3f716d0a7defec42c5f81a7ffeae6bf4619e |
|
531
|
|
|
|
|
|
|
# revision-date: Fri Jan 27 12:04:52 2012 +0700 |
|
532
|
|
|
|
|
|
|
# generate-date: Fri Mar 23 14:28:20 2012 |
|
533
|
|
|
|
|
|
|
# generated-by: /mnt/home/s1/repos/gudang-data-interim/bin/gen-perl-meta-snippet |
|
534
|
|
|
|
|
|
|
our $meta = { |
|
535
|
|
|
|
|
|
|
"fields" => { |
|
536
|
|
|
|
|
|
|
bps_code => { |
|
537
|
|
|
|
|
|
|
"index" => 0, |
|
538
|
|
|
|
|
|
|
"schema" => ["int*", { max => 9999, min => 1101 }], |
|
539
|
|
|
|
|
|
|
"sortable" => 1, |
|
540
|
|
|
|
|
|
|
"summary" => "BPS 4-digit code containing 2-digit province code and 2-digit locality code", |
|
541
|
|
|
|
|
|
|
"summary.alt.lang.id_ID" => "Kode 4-digit BPS berisi 2-digit kode provinsi dan 2-digit kode kota/kabupaten", |
|
542
|
|
|
|
|
|
|
"unique" => 1, |
|
543
|
|
|
|
|
|
|
}, |
|
544
|
|
|
|
|
|
|
bps_prov_code => { |
|
545
|
|
|
|
|
|
|
"index" => 1, |
|
546
|
|
|
|
|
|
|
"schema" => ["int*", { max => 99, min => 11 }], |
|
547
|
|
|
|
|
|
|
"sortable" => 1, |
|
548
|
|
|
|
|
|
|
"summary" => "BPS 2-digit province code", |
|
549
|
|
|
|
|
|
|
"summary.alt.lang.id_ID" => "Kode provinsi 2-digit BPS", |
|
550
|
|
|
|
|
|
|
}, |
|
551
|
|
|
|
|
|
|
ind_name => { |
|
552
|
|
|
|
|
|
|
"index" => 2, |
|
553
|
|
|
|
|
|
|
"schema" => ["str*", {}], |
|
554
|
|
|
|
|
|
|
"sortable" => 1, |
|
555
|
|
|
|
|
|
|
"summary" => "Name (in Indonesian)", |
|
556
|
|
|
|
|
|
|
"summary.alt.lang.id_ID" => "Nama (bahasa Indonesia)", |
|
557
|
|
|
|
|
|
|
}, |
|
558
|
|
|
|
|
|
|
type => { |
|
559
|
|
|
|
|
|
|
"index" => 3, |
|
560
|
|
|
|
|
|
|
"schema" => ["int*", { in => [1, 2] }], |
|
561
|
|
|
|
|
|
|
"sortable" => 1, |
|
562
|
|
|
|
|
|
|
"summary" => "Type of locality (1=city, 2=regency)", |
|
563
|
|
|
|
|
|
|
"summary.alt.lang.id_ID" => "Tipe (1=kota, 2=kabupaten)", |
|
564
|
|
|
|
|
|
|
}, |
|
565
|
|
|
|
|
|
|
}, |
|
566
|
|
|
|
|
|
|
"pk" => "bps_code", |
|
567
|
|
|
|
|
|
|
"summary" => "Localities (cities & regencies) in Indonesia", |
|
568
|
|
|
|
|
|
|
"summary.alt.lang.id_ID" => "Kota/kabupaten di Indonesia", |
|
569
|
|
|
|
|
|
|
"table_aliases.alt.lang.id_ID" => ["kota_kabupaten_ind"], |
|
570
|
|
|
|
|
|
|
} |
|
571
|
|
|
|
|
|
|
; |
|
572
|
|
|
|
|
|
|
# END FRAGMENT id=meta |
|
573
|
|
|
|
|
|
|
|
|
574
|
|
|
|
|
|
|
my $res = gen_read_table_func( |
|
575
|
|
|
|
|
|
|
name => 'list_id_localities', |
|
576
|
|
|
|
|
|
|
table_data => $data, |
|
577
|
|
|
|
|
|
|
table_spec => $meta, |
|
578
|
|
|
|
|
|
|
default_fields => ['ind_name'], |
|
579
|
|
|
|
|
|
|
langs => ['en_US', 'id_ID'], |
|
580
|
|
|
|
|
|
|
); |
|
581
|
|
|
|
|
|
|
die "BUG: Can't generate func: $res->[0] - $res->[1]" unless $res->[0] == 200; |
|
582
|
|
|
|
|
|
|
|
|
583
|
|
|
|
|
|
|
1; |
|
584
|
|
|
|
|
|
|
|
|
585
|
|
|
|
|
|
|
=pod |
|
586
|
|
|
|
|
|
|
|
|
587
|
|
|
|
|
|
|
=encoding UTF-8 |
|
588
|
|
|
|
|
|
|
|
|
589
|
|
|
|
|
|
|
=head1 NAME |
|
590
|
|
|
|
|
|
|
|
|
591
|
|
|
|
|
|
|
Locale::ID::Locality - List of localities (cities/regencies) in Indonesia |
|
592
|
|
|
|
|
|
|
|
|
593
|
|
|
|
|
|
|
=head1 VERSION |
|
594
|
|
|
|
|
|
|
|
|
595
|
|
|
|
|
|
|
This document describes version 0.10 of Locale::ID::Locality (from Perl distribution Locale-ID-Locality), released on 2015-09-03. |
|
596
|
|
|
|
|
|
|
|
|
597
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
598
|
|
|
|
|
|
|
|
|
599
|
|
|
|
|
|
|
use Locale::ID::Locality qw(list_id_localities); |
|
600
|
|
|
|
|
|
|
my $res = list_id_localities(detail=>1); |
|
601
|
|
|
|
|
|
|
|
|
602
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
603
|
|
|
|
|
|
|
|
|
604
|
|
|
|
|
|
|
This module provides API access for list of localities (cities/regencies) in |
|
605
|
|
|
|
|
|
|
Indonesia. Data is currently retrieved from the B<gudang-data-interim> |
|
606
|
|
|
|
|
|
|
repository at |
|
607
|
|
|
|
|
|
|
https://github.com/sharyanto/gudang-data-interim/tree/master/data/ind_locality/ |
|
608
|
|
|
|
|
|
|
|
|
609
|
|
|
|
|
|
|
This module's functions have L<Rinci> specs. |
|
610
|
|
|
|
|
|
|
|
|
611
|
|
|
|
|
|
|
=head1 FUNCTIONS |
|
612
|
|
|
|
|
|
|
|
|
613
|
|
|
|
|
|
|
|
|
614
|
|
|
|
|
|
|
=head2 list_id_localities(%args) -> [status, msg, result, meta] |
|
615
|
|
|
|
|
|
|
|
|
616
|
|
|
|
|
|
|
Localities (cities & regencies) in Indonesia. |
|
617
|
|
|
|
|
|
|
|
|
618
|
|
|
|
|
|
|
REPLACE ME |
|
619
|
|
|
|
|
|
|
|
|
620
|
|
|
|
|
|
|
Arguments ('*' denotes required arguments): |
|
621
|
|
|
|
|
|
|
|
|
622
|
|
|
|
|
|
|
=over 4 |
|
623
|
|
|
|
|
|
|
|
|
624
|
|
|
|
|
|
|
=item * B<bps_code> => I<int> |
|
625
|
|
|
|
|
|
|
|
|
626
|
|
|
|
|
|
|
Only return records where the 'bps_code' field equals specified value. |
|
627
|
|
|
|
|
|
|
|
|
628
|
|
|
|
|
|
|
=item * B<bps_code.in> => I<array[int]> |
|
629
|
|
|
|
|
|
|
|
|
630
|
|
|
|
|
|
|
Only return records where the 'bps_code' field is in the specified values. |
|
631
|
|
|
|
|
|
|
|
|
632
|
|
|
|
|
|
|
=item * B<bps_code.is> => I<int> |
|
633
|
|
|
|
|
|
|
|
|
634
|
|
|
|
|
|
|
Only return records where the 'bps_code' field equals specified value. |
|
635
|
|
|
|
|
|
|
|
|
636
|
|
|
|
|
|
|
=item * B<bps_code.isnt> => I<int> |
|
637
|
|
|
|
|
|
|
|
|
638
|
|
|
|
|
|
|
Only return records where the 'bps_code' field does not equal specified value. |
|
639
|
|
|
|
|
|
|
|
|
640
|
|
|
|
|
|
|
=item * B<bps_code.max> => I<int> |
|
641
|
|
|
|
|
|
|
|
|
642
|
|
|
|
|
|
|
Only return records where the 'bps_code' field is less than or equal to specified value. |
|
643
|
|
|
|
|
|
|
|
|
644
|
|
|
|
|
|
|
=item * B<bps_code.min> => I<int> |
|
645
|
|
|
|
|
|
|
|
|
646
|
|
|
|
|
|
|
Only return records where the 'bps_code' field is greater than or equal to specified value. |
|
647
|
|
|
|
|
|
|
|
|
648
|
|
|
|
|
|
|
=item * B<bps_code.not_in> => I<array[int]> |
|
649
|
|
|
|
|
|
|
|
|
650
|
|
|
|
|
|
|
Only return records where the 'bps_code' field is not in the specified values. |
|
651
|
|
|
|
|
|
|
|
|
652
|
|
|
|
|
|
|
=item * B<bps_code.xmax> => I<int> |
|
653
|
|
|
|
|
|
|
|
|
654
|
|
|
|
|
|
|
Only return records where the 'bps_code' field is less than specified value. |
|
655
|
|
|
|
|
|
|
|
|
656
|
|
|
|
|
|
|
=item * B<bps_code.xmin> => I<int> |
|
657
|
|
|
|
|
|
|
|
|
658
|
|
|
|
|
|
|
Only return records where the 'bps_code' field is greater than specified value. |
|
659
|
|
|
|
|
|
|
|
|
660
|
|
|
|
|
|
|
=item * B<bps_prov_code> => I<int> |
|
661
|
|
|
|
|
|
|
|
|
662
|
|
|
|
|
|
|
Only return records where the 'bps_prov_code' field equals specified value. |
|
663
|
|
|
|
|
|
|
|
|
664
|
|
|
|
|
|
|
=item * B<bps_prov_code.in> => I<array[int]> |
|
665
|
|
|
|
|
|
|
|
|
666
|
|
|
|
|
|
|
Only return records where the 'bps_prov_code' field is in the specified values. |
|
667
|
|
|
|
|
|
|
|
|
668
|
|
|
|
|
|
|
=item * B<bps_prov_code.is> => I<int> |
|
669
|
|
|
|
|
|
|
|
|
670
|
|
|
|
|
|
|
Only return records where the 'bps_prov_code' field equals specified value. |
|
671
|
|
|
|
|
|
|
|
|
672
|
|
|
|
|
|
|
=item * B<bps_prov_code.isnt> => I<int> |
|
673
|
|
|
|
|
|
|
|
|
674
|
|
|
|
|
|
|
Only return records where the 'bps_prov_code' field does not equal specified value. |
|
675
|
|
|
|
|
|
|
|
|
676
|
|
|
|
|
|
|
=item * B<bps_prov_code.max> => I<int> |
|
677
|
|
|
|
|
|
|
|
|
678
|
|
|
|
|
|
|
Only return records where the 'bps_prov_code' field is less than or equal to specified value. |
|
679
|
|
|
|
|
|
|
|
|
680
|
|
|
|
|
|
|
=item * B<bps_prov_code.min> => I<int> |
|
681
|
|
|
|
|
|
|
|
|
682
|
|
|
|
|
|
|
Only return records where the 'bps_prov_code' field is greater than or equal to specified value. |
|
683
|
|
|
|
|
|
|
|
|
684
|
|
|
|
|
|
|
=item * B<bps_prov_code.not_in> => I<array[int]> |
|
685
|
|
|
|
|
|
|
|
|
686
|
|
|
|
|
|
|
Only return records where the 'bps_prov_code' field is not in the specified values. |
|
687
|
|
|
|
|
|
|
|
|
688
|
|
|
|
|
|
|
=item * B<bps_prov_code.xmax> => I<int> |
|
689
|
|
|
|
|
|
|
|
|
690
|
|
|
|
|
|
|
Only return records where the 'bps_prov_code' field is less than specified value. |
|
691
|
|
|
|
|
|
|
|
|
692
|
|
|
|
|
|
|
=item * B<bps_prov_code.xmin> => I<int> |
|
693
|
|
|
|
|
|
|
|
|
694
|
|
|
|
|
|
|
Only return records where the 'bps_prov_code' field is greater than specified value. |
|
695
|
|
|
|
|
|
|
|
|
696
|
|
|
|
|
|
|
=item * B<detail> => I<bool> (default: 0) |
|
697
|
|
|
|
|
|
|
|
|
698
|
|
|
|
|
|
|
Return array of full records instead of just ID fields. |
|
699
|
|
|
|
|
|
|
|
|
700
|
|
|
|
|
|
|
By default, only the key (ID) field is returned per result entry. |
|
701
|
|
|
|
|
|
|
|
|
702
|
|
|
|
|
|
|
=item * B<fields> => I<array[str]> (default: ["ind_name"]) |
|
703
|
|
|
|
|
|
|
|
|
704
|
|
|
|
|
|
|
Select fields to return. |
|
705
|
|
|
|
|
|
|
|
|
706
|
|
|
|
|
|
|
=item * B<ind_name> => I<str> |
|
707
|
|
|
|
|
|
|
|
|
708
|
|
|
|
|
|
|
Only return records where the 'ind_name' field equals specified value. |
|
709
|
|
|
|
|
|
|
|
|
710
|
|
|
|
|
|
|
=item * B<ind_name.contains> => I<str> |
|
711
|
|
|
|
|
|
|
|
|
712
|
|
|
|
|
|
|
Only return records where the 'ind_name' field contains specified text. |
|
713
|
|
|
|
|
|
|
|
|
714
|
|
|
|
|
|
|
=item * B<ind_name.in> => I<array[str]> |
|
715
|
|
|
|
|
|
|
|
|
716
|
|
|
|
|
|
|
Only return records where the 'ind_name' field is in the specified values. |
|
717
|
|
|
|
|
|
|
|
|
718
|
|
|
|
|
|
|
=item * B<ind_name.is> => I<str> |
|
719
|
|
|
|
|
|
|
|
|
720
|
|
|
|
|
|
|
Only return records where the 'ind_name' field equals specified value. |
|
721
|
|
|
|
|
|
|
|
|
722
|
|
|
|
|
|
|
=item * B<ind_name.isnt> => I<str> |
|
723
|
|
|
|
|
|
|
|
|
724
|
|
|
|
|
|
|
Only return records where the 'ind_name' field does not equal specified value. |
|
725
|
|
|
|
|
|
|
|
|
726
|
|
|
|
|
|
|
=item * B<ind_name.max> => I<str> |
|
727
|
|
|
|
|
|
|
|
|
728
|
|
|
|
|
|
|
Only return records where the 'ind_name' field is less than or equal to specified value. |
|
729
|
|
|
|
|
|
|
|
|
730
|
|
|
|
|
|
|
=item * B<ind_name.min> => I<str> |
|
731
|
|
|
|
|
|
|
|
|
732
|
|
|
|
|
|
|
Only return records where the 'ind_name' field is greater than or equal to specified value. |
|
733
|
|
|
|
|
|
|
|
|
734
|
|
|
|
|
|
|
=item * B<ind_name.not_contains> => I<str> |
|
735
|
|
|
|
|
|
|
|
|
736
|
|
|
|
|
|
|
Only return records where the 'ind_name' field does not contain specified text. |
|
737
|
|
|
|
|
|
|
|
|
738
|
|
|
|
|
|
|
=item * B<ind_name.not_in> => I<array[str]> |
|
739
|
|
|
|
|
|
|
|
|
740
|
|
|
|
|
|
|
Only return records where the 'ind_name' field is not in the specified values. |
|
741
|
|
|
|
|
|
|
|
|
742
|
|
|
|
|
|
|
=item * B<ind_name.xmax> => I<str> |
|
743
|
|
|
|
|
|
|
|
|
744
|
|
|
|
|
|
|
Only return records where the 'ind_name' field is less than specified value. |
|
745
|
|
|
|
|
|
|
|
|
746
|
|
|
|
|
|
|
=item * B<ind_name.xmin> => I<str> |
|
747
|
|
|
|
|
|
|
|
|
748
|
|
|
|
|
|
|
Only return records where the 'ind_name' field is greater than specified value. |
|
749
|
|
|
|
|
|
|
|
|
750
|
|
|
|
|
|
|
=item * B<query> => I<str> |
|
751
|
|
|
|
|
|
|
|
|
752
|
|
|
|
|
|
|
Search. |
|
753
|
|
|
|
|
|
|
|
|
754
|
|
|
|
|
|
|
=item * B<random> => I<bool> (default: 0) |
|
755
|
|
|
|
|
|
|
|
|
756
|
|
|
|
|
|
|
Return records in random order. |
|
757
|
|
|
|
|
|
|
|
|
758
|
|
|
|
|
|
|
=item * B<result_limit> => I<int> |
|
759
|
|
|
|
|
|
|
|
|
760
|
|
|
|
|
|
|
Only return a certain number of records. |
|
761
|
|
|
|
|
|
|
|
|
762
|
|
|
|
|
|
|
=item * B<result_start> => I<int> (default: 1) |
|
763
|
|
|
|
|
|
|
|
|
764
|
|
|
|
|
|
|
Only return starting from the n'th record. |
|
765
|
|
|
|
|
|
|
|
|
766
|
|
|
|
|
|
|
=item * B<sort> => I<str> |
|
767
|
|
|
|
|
|
|
|
|
768
|
|
|
|
|
|
|
Order records according to certain field(s). |
|
769
|
|
|
|
|
|
|
|
|
770
|
|
|
|
|
|
|
A list of field names separated by comma. Each field can be prefixed with '-' to |
|
771
|
|
|
|
|
|
|
specify descending order instead of the default ascending. |
|
772
|
|
|
|
|
|
|
|
|
773
|
|
|
|
|
|
|
=item * B<type> => I<int> |
|
774
|
|
|
|
|
|
|
|
|
775
|
|
|
|
|
|
|
Only return records where the 'type' field equals specified value. |
|
776
|
|
|
|
|
|
|
|
|
777
|
|
|
|
|
|
|
=item * B<type.in> => I<array[int]> |
|
778
|
|
|
|
|
|
|
|
|
779
|
|
|
|
|
|
|
Only return records where the 'type' field is in the specified values. |
|
780
|
|
|
|
|
|
|
|
|
781
|
|
|
|
|
|
|
=item * B<type.is> => I<int> |
|
782
|
|
|
|
|
|
|
|
|
783
|
|
|
|
|
|
|
Only return records where the 'type' field equals specified value. |
|
784
|
|
|
|
|
|
|
|
|
785
|
|
|
|
|
|
|
=item * B<type.isnt> => I<int> |
|
786
|
|
|
|
|
|
|
|
|
787
|
|
|
|
|
|
|
Only return records where the 'type' field does not equal specified value. |
|
788
|
|
|
|
|
|
|
|
|
789
|
|
|
|
|
|
|
=item * B<type.max> => I<int> |
|
790
|
|
|
|
|
|
|
|
|
791
|
|
|
|
|
|
|
Only return records where the 'type' field is less than or equal to specified value. |
|
792
|
|
|
|
|
|
|
|
|
793
|
|
|
|
|
|
|
=item * B<type.min> => I<int> |
|
794
|
|
|
|
|
|
|
|
|
795
|
|
|
|
|
|
|
Only return records where the 'type' field is greater than or equal to specified value. |
|
796
|
|
|
|
|
|
|
|
|
797
|
|
|
|
|
|
|
=item * B<type.not_in> => I<array[int]> |
|
798
|
|
|
|
|
|
|
|
|
799
|
|
|
|
|
|
|
Only return records where the 'type' field is not in the specified values. |
|
800
|
|
|
|
|
|
|
|
|
801
|
|
|
|
|
|
|
=item * B<type.xmax> => I<int> |
|
802
|
|
|
|
|
|
|
|
|
803
|
|
|
|
|
|
|
Only return records where the 'type' field is less than specified value. |
|
804
|
|
|
|
|
|
|
|
|
805
|
|
|
|
|
|
|
=item * B<type.xmin> => I<int> |
|
806
|
|
|
|
|
|
|
|
|
807
|
|
|
|
|
|
|
Only return records where the 'type' field is greater than specified value. |
|
808
|
|
|
|
|
|
|
|
|
809
|
|
|
|
|
|
|
=item * B<with_field_names> => I<bool> |
|
810
|
|
|
|
|
|
|
|
|
811
|
|
|
|
|
|
|
Return field names in each record (as hash/associative array). |
|
812
|
|
|
|
|
|
|
|
|
813
|
|
|
|
|
|
|
When enabled, function will return each record as hash/associative array |
|
814
|
|
|
|
|
|
|
(field name => value pairs). Otherwise, function will return each record |
|
815
|
|
|
|
|
|
|
as list/array (field value, field value, ...). |
|
816
|
|
|
|
|
|
|
|
|
817
|
|
|
|
|
|
|
=back |
|
818
|
|
|
|
|
|
|
|
|
819
|
|
|
|
|
|
|
Returns an enveloped result (an array). |
|
820
|
|
|
|
|
|
|
|
|
821
|
|
|
|
|
|
|
First element (status) is an integer containing HTTP status code |
|
822
|
|
|
|
|
|
|
(200 means OK, 4xx caller error, 5xx function error). Second element |
|
823
|
|
|
|
|
|
|
(msg) is a string containing error message, or 'OK' if status is |
|
824
|
|
|
|
|
|
|
200. Third element (result) is optional, the actual result. Fourth |
|
825
|
|
|
|
|
|
|
element (meta) is called result metadata and is optional, a hash |
|
826
|
|
|
|
|
|
|
that contains extra information. |
|
827
|
|
|
|
|
|
|
|
|
828
|
|
|
|
|
|
|
Return value: (any) |
|
829
|
|
|
|
|
|
|
|
|
830
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
831
|
|
|
|
|
|
|
|
|
832
|
|
|
|
|
|
|
L<list-id-localities> |
|
833
|
|
|
|
|
|
|
|
|
834
|
|
|
|
|
|
|
Gudang Data Interim project, https://github.com/sharyanto/gudang-data-interim/ |
|
835
|
|
|
|
|
|
|
|
|
836
|
|
|
|
|
|
|
This API will also be available on GudangAPI, http://gudangapi.com/ |
|
837
|
|
|
|
|
|
|
|
|
838
|
|
|
|
|
|
|
=head1 HOMEPAGE |
|
839
|
|
|
|
|
|
|
|
|
840
|
|
|
|
|
|
|
Please visit the project's homepage at L<https://metacpan.org/release/Locale-ID-Locality>. |
|
841
|
|
|
|
|
|
|
|
|
842
|
|
|
|
|
|
|
=head1 SOURCE |
|
843
|
|
|
|
|
|
|
|
|
844
|
|
|
|
|
|
|
Source repository is at L<https://github.com/perlancar/perl-Locale-ID-Locality>. |
|
845
|
|
|
|
|
|
|
|
|
846
|
|
|
|
|
|
|
=head1 BUGS |
|
847
|
|
|
|
|
|
|
|
|
848
|
|
|
|
|
|
|
Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=Locale-ID-Locality> |
|
849
|
|
|
|
|
|
|
|
|
850
|
|
|
|
|
|
|
When submitting a bug or request, please include a test-file or a |
|
851
|
|
|
|
|
|
|
patch to an existing test-file that illustrates the bug or desired |
|
852
|
|
|
|
|
|
|
feature. |
|
853
|
|
|
|
|
|
|
|
|
854
|
|
|
|
|
|
|
=head1 AUTHOR |
|
855
|
|
|
|
|
|
|
|
|
856
|
|
|
|
|
|
|
perlancar <perlancar@cpan.org> |
|
857
|
|
|
|
|
|
|
|
|
858
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
|
859
|
|
|
|
|
|
|
|
|
860
|
|
|
|
|
|
|
This software is copyright (c) 2015 by perlancar@cpan.org. |
|
861
|
|
|
|
|
|
|
|
|
862
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
|
863
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
|
864
|
|
|
|
|
|
|
|
|
865
|
|
|
|
|
|
|
=cut |
|
866
|
|
|
|
|
|
|
|
|
867
|
|
|
|
|
|
|
__END__ |
|
868
|
|
|
|
|
|
|
# ABSTRACT: List of localities (cities/regencies) in Indonesia |
|
869
|
|
|
|
|
|
|
|