List the administrative area in Jawa Barat.
jabr_area(level, code_bps)
level | Level of administrative division. Valid values are "district" for Kota/Kabupaten, "subdistrict" for Kecamatan and "village" for Desa/Kelurahan. |
---|---|
code_bps | BPS code of the upper administrative division. Note that BPS code for "district" level is "32". To get "subdistrict" level area, you have to supply the BPS code of the district (Kota/Kabupaten). To get "village" level area, you have to supply the BPS code of the subdistrict (Kecamatan). |
A tibble.
#> # A tibble: 27 x 4 #> name_bps code_bps name_kemendagri code_kemendagri #> <chr> <chr> <chr> <chr> #> 1 BOGOR 3201 KAB. BOGOR 32.01 #> 2 SUKABUMI 3202 KAB. SUKABUMI 32.02 #> 3 CIANJUR 3203 KAB. CIANJUR 32.03 #> 4 BANDUNG 3204 KAB. BANDUNG 32.04 #> 5 GARUT 3205 KAB. GARUT 32.05 #> 6 TASIKMALAYA 3206 KAB. TASIKMALAYA 32.06 #> 7 CIAMIS 3207 KAB. CIAMIS 32.07 #> 8 KUNINGAN 3208 KAB. KUNINGAN 32.08 #> 9 CIREBON 3209 KAB. CIREBON 32.09 #> 10 MAJALENGKA 3210 KAB. MAJALENGKA 32.10 #> # … with 17 more rows# fetch subdistrict area in Kab. Cirebon jabr_area(level = "subdistrict", code_bps = "3209")#> # A tibble: 40 x 4 #> name_bps code_bps name_kemendagri code_kemendagri #> <chr> <chr> <chr> <chr> #> 1 WALED 3209010 WALED 32.09.01 #> 2 PASALEMAN 3209011 PASALEMAN 32.09.32 #> 3 CILEDUG 3209020 CILEDUG 32.09.02 #> 4 PABUARAN 3209021 PABUARAN 32.09.33 #> 5 LOSARI 3209030 LOSARI 32.09.03 #> 6 PABEDILAN 3209031 PABEDILAN 32.09.04 #> 7 BABAKAN 3209040 BABAKAN 32.09.05 #> 8 GEBANG 3209041 GEBANG 32.09.30 #> 9 KARANGSEMBUNG 3209050 KARANGSEMBUNG 32.09.06 #> 10 KARANGWARENG 3209051 KARANGWARENG 32.09.34 #> # … with 30 more rows# }