Fetch multiple tables and bind (PXWeb)
Arguments
- requests
A list of records, each with
tbl_idandselections(named list)- labels
Label handling as in
nso_data()- parallel
If TRUE, fetch tables in parallel with
purrr::in_parallel()(requires the mirai and carrier packages). Start background workers first withmirai::daemons(2); without them the tables are fetched one at a time. Workers load the installed copy of mongolstats. Defaults to themongolstats.paralleloption (FALSE).- value_name
Name of the numeric value column in the result (default: "value").
- strict
If TRUE, error when any table fails to fetch. The error has class
mongolstats_package_errorplus the package classes of the first failure, such asmongolstats_http_errorormongolstats_selection_error. If FALSE (default), failed tables are dropped from the result with a warning naming them. Offline mode always raisesmongolstats_offline_error, as innso_data().
Value
A tibble combining data from all requested tables, with a tbl_id column
identifying the source table. Tables that failed to fetch are omitted
(with a warning) unless strict = TRUE. nso_provenance() retains a
record per successful table plus explicit failure records;
nso_value_status() identifies each source observation by tbl_id.