Request the table of domains of BPS bureaus at the city or regency level, province level or both levels.
Usage
bps_domain(level = c("all", "province", "city"))
Arguments
- level
The level of BPS bureaus. Must be either "all", "province" or "city". Defaults to "all".
Examples
# See the list of domains of BPS bureaus at the province level
bps_domain(level = "province")
#> # A tibble: 34 × 3
#> domain_id domain_name domain_url
#> <chr> <chr> <chr>
#> 1 1100 Aceh https://aceh.bps.go.id
#> 2 1200 Sumatera Utara https://sumut.bps.go.id
#> 3 1300 Sumatera Barat https://sumbar.bps.go.id
#> 4 1400 Riau https://riau.bps.go.id
#> 5 1500 Jambi https://jambi.bps.go.id
#> 6 1600 Sumatera Selatan https://sumsel.bps.go.id
#> 7 1700 Bengkulu https://bengkulu.bps.go.id
#> 8 1800 Lampung https://lampung.bps.go.id
#> 9 1900 Kep. Bangka Belitung https://babel.bps.go.id
#> 10 2100 Kep. Riau https://kepri.bps.go.id
#> # ℹ 24 more rows