powered by
Fetch multiple tables and bind (PXWeb)
nso_package( requests, labels = c("none", "en", "mn", "both"), parallel = getOption("mongolstats.parallel", FALSE), value_name = getOption("mongolstats.value_name", "value") )
A tibble combining data from all requested tables, with a tbl_id column identifying the source table.
tbl_id
A list of records, each with tbl_id and selections (named list)
selections
Label handling as in nso_data()
nso_data()
If TRUE, use future.apply to fetch tables in parallel.
Name of the numeric value column in the result (default: "value").
reqs <- list( list(tbl_id = "DT_NSO_0300_001V2", selections = list(Year = "2023")) ) combined <- nso_package(reqs)
Run the code above in your browser using DataLab