Skip to contents

Find Tables

nso_search()
Search NSO tables
nso_tables()
List NSO tables
nso_itms_by_sector()
List tables under a sector or sub-sector (PXWeb path)
nso_sectors()
List top-level categories (PXWeb NSO root)
nso_subsectors()
List children for a given path (PXWeb)
nso_catalogue_status()
Inspect the freshness and coverage of the table catalogue

Statistical Concepts and Portal Data

Reviewed PXWeb templates and experimental public portal services.

nso_indicators()
Discover reviewed statistical concepts or portal indicators
nso_indicator()
Look up a reviewed concept or a source-qualified portal indicator
nso_indicator_query()
Build a PXWeb query from a reviewed statistical concept
nso_portal_data() experimental
Fetch a statistical series from the government data portal
nso_portal_datamarts() experimental
Discover public aggregate datamarts

Government Metadata

Experimental access to official definitions and collection context.

nso_metadata()
Retrieve a typed record from the government metadata catalogue
nso_metadata_search()
Search or browse the government metadata catalogue
nso_related()
Inspect relationships in a metadata record
nso_forms()
List collection forms embedded in a metadata database record
nso_classification()
Retrieve a versioned metadata classification codebook
nso_metadata_dictionary()
Retrieve official metadata category dictionaries

Provenance and Data Quality

nso_provenance()
Retrieve a data result's provenance manifest
nso_table_info()
Inspect table source information
nso_citation()
Generate source citations for fetched statistics
nso_write_manifest() nso_read_manifest()
Save or reload a provenance sidecar
nso_value_status()
Inspect source values and observation status
nso_check_data()
Inspect statistical results for analytical concerns

Inspect Tables

nso_dims()
List dimensions for a PXWeb table
nso_dim_values()
List values for a table dimension
nso_variables()
Variables and values of a table
nso_table_meta()
Table metadata as per-dimension codebooks

Periods

nso_table_periods()
Periods available in a table
nso_latest_periods()
Most recent periods of a table
nso_period_seq()
Create a sequence of periods
nso_period_date()
Convert NSO period labels to dates

Fetch Data

nso_data()
Fetch statistical data for a table (PXWeb)
nso_package()
Fetch multiple tables and bind (PXWeb)
nso_query()
Create a PXWeb query object
as_px_query()
Convert a query to a PXWeb body
nso_fetch()
Fetch a query and return a tibble

Options, Caching and Offline Mode

nso_options()
Set or get mongolstats options
nso_api_config()
Inspect PXWeb server configuration
nso_cache_enable()
Enable or configure caching
nso_cache_disable()
Disable caching
nso_cache_clear()
Clear cached entries
nso_cache_status()
Cache status
nso_offline_enable()
Enable offline mode
nso_offline_disable()
Disable offline mode
nso_rebuild_px_index()
Rebuild PXWeb index and optionally write to a file

Superseded

Older names that keep working; new code should use the functions above.

nso_itms() nso_itms_detail() nso_itms_search() superseded
Superseded discovery functions

Deprecated

geoBoundaries helpers, replaced by the mongolmaps package.

mn_boundaries() deprecated
Mongolia administrative boundaries (sf)
mn_boundary_keys() deprecated
Boundary keys/crosswalk helper
mn_boundaries_normalize() deprecated
Add normalized name columns to boundaries
mn_join_by_name() deprecated
Join data to boundaries by (normalized) names
mn_fuzzy_join_by_name() deprecated
Fuzzy join data to boundaries by name