Package: mongolstats 0.3.0

mongolstats: Tidy Client for the Mongolian 'NSO' 'PXWeb' Statistics API

A 'tidyverse'-friendly client for the 'PXWeb' API of the National Statistics Office of Mongolia <https://data.1212.mn/>. Discover tables and their dimensions, and fetch statistical data as tibbles with English or Mongolian labels. Periods are reported by their labels and can be selected in any of the office's period formats, tables that have moved within the catalogue are found automatically, and large requests are split to stay within the server's limits. Maps and joins by statistical code are provided by the companion package 'mongolmaps'.

Authors:Temuulen Enebish [aut, cre, cph]

mongolstats_0.3.0.tar.gz
mongolstats_0.3.0.zip(r-4.7-any)mongolstats_0.3.0.zip(r-4.6-any)mongolstats_0.3.0.zip(r-4.5-any)
mongolstats_0.3.0.tgz(r-4.6-any)mongolstats_0.3.0.tgz(r-4.5-any)
mongolstats_0.3.0.tar.gz(r-4.7-any)mongolstats_0.3.0.tar.gz(r-4.6-any)
mongolstats_0.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
mongolstats/json (API)

# Install 'mongolstats' in R:
install.packages('mongolstats', repos = c('https://temuulene.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/temuulene/mongolstats/issues

Pkgdown/docs site:https://temuulene.github.io

On CRAN:

Conda:

apimongoliansopxweb

5.60 score 1 stars 10 scripts 278 downloads 34 exports 24 dependencies

Last updated from:c5cbabe86e. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK152
source / vignettesOK300
linux-releaseOK195
macos-releaseOK97
macos-oldrelOK90
windows-develOK95
windows-releaseOK77
windows-oldrelOK97
wasm-releaseOK108

Exports:as_px_querymn_boundariesmn_boundaries_normalizemn_boundary_keysmn_fuzzy_join_by_namemn_join_by_namenso_cache_clearnso_cache_disablenso_cache_enablenso_cache_statusnso_datanso_dim_valuesnso_dimsnso_fetchnso_itmsnso_itms_by_sectornso_itms_detailnso_itms_searchnso_latest_periodsnso_offline_disablenso_offline_enablenso_optionsnso_packagenso_period_datenso_period_seqnso_querynso_rebuild_px_indexnso_searchnso_sectorsnso_subsectorsnso_table_metanso_table_periodsnso_tablesnso_variables

Dependencies:askpassclicurldplyrgenericsgluehttr2jsonlitelifecyclemagrittropensslpillarpkgconfigpurrrR6rlangstringistringrsystibbletidyselectutf8vctrswithr

Discovering Public Health Data
Overview | Finding Health Tables | Search by Keyword | Browse by Sector | Case Study: Cancer Incidence | Exploring the Table | Incidence by Site | Crude versus Age-Standardised Incidence | Finding Numerators and Denominators | Case Study: Tuberculosis Notifications | Tips for Epidemiological Research | Next Steps

Last update: 2026-10-03
Started: 2025-10-01

Environmental Data Analysis
Overview | Air Quality Monitoring | Most Polluted Stations | PM2.5: Monthly Trends | PM2.5: Days Above the Standard | Sulphur Dioxide (SO₂) | Annual Means Against the Standards | Water Quality Monitoring | The Tuul River Through Ulaanbaatar | Dust Days | Mapping Dust Days | Next Steps | Key Environmental Tables

Last update: 2026-10-03
Started: 2025-11-29

Getting Started
Installation | Your First Analysis: Infant Mortality | Step 1: Load Packages | Step 2: Find the Right Table | Step 3: Explore Table Metadata | Step 4: Fetch Data | Step 5: Visualize the Trend | Regional Comparison | Visualize Regional Differences | Adding Geographic Context | Key Functions Summary | Best Practices | Common Workflows | Time Series Analysis | Spatial Epidemiology | Next Steps | Quick Reference: Common Health Tables

Last update: 2026-10-03
Started: 2025-09-30

Spatial Epidemiology with mongolstats
Overview | Getting Boundary Data | Region codes in NSO tables | Case Study: Maternal Mortality | Check the counts before mapping | Pooled maternal mortality ratio | Choropleth and confidence intervals | Case Study: Infant Mortality | Funnel plot | Mapping the signals | Tips for Spatial Epidemiology | Next Steps

Last update: 2026-10-03
Started: 2025-09-30

Ulaanbaatar District-Level Analysis
Introduction | Districts and Their Codes | 1. Demographic Profile | Population Density | Population Growth Trends | 2. School Capacity | 3. Health Statistics by District: A Caution | 4. Air Quality Monitoring Network | Spatial Distribution | Coverage | Conclusion

Last update: 2026-10-02
Started: 2025-11-29