Navigates one level deeper in the PXWeb catalogue hierarchy. Pass in a
path id obtained from nso_sectors() or a previous nso_subsectors()
call to list its children (sub-sectors or tables).
Arguments
- subid
Path id from
nso_sectors()/nso_subsectors()(e.g., 'Population, household' or 'Population, household/1_Population, household').
Value
A tibble with columns: id, type, text. In offline mode
(see nso_offline_enable()) an empty tibble is returned; failed
requests raise an error of class mongolstats_http_error.
Examples
if (FALSE) { # identical(Sys.getenv("NOT_CRAN"), "true") && curl::has_internet()
sectors <- nso_sectors()
nso_subsectors(sectors$id[1])
}