{"id":31556892,"url":"https://github.com/temuulene/mongolstats","last_synced_at":"2025-10-04T23:19:23.544Z","repository":{"id":317312047,"uuid":"1066869686","full_name":"temuulene/mongolstats","owner":"temuulene","description":"Tidy access to Mongolian NSO Open Data and admin boundaries","archived":false,"fork":false,"pushed_at":"2025-09-30T06:18:42.000Z","size":3221,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-30T06:23:54.095Z","etag":null,"topics":["api","mongolia","nso","opendata","r","r-package","rstats"],"latest_commit_sha":null,"homepage":"https://temuulene.github.io/mongolstats","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/temuulene.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-30T04:32:03.000Z","updated_at":"2025-09-30T06:18:46.000Z","dependencies_parsed_at":"2025-10-01T08:46:00.901Z","dependency_job_id":null,"html_url":"https://github.com/temuulene/mongolstats","commit_stats":null,"previous_names":["temuulene/mongolstats"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/temuulene/mongolstats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temuulene%2Fmongolstats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temuulene%2Fmongolstats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temuulene%2Fmongolstats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temuulene%2Fmongolstats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/temuulene","download_url":"https://codeload.github.com/temuulene/mongolstats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/temuulene%2Fmongolstats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278386413,"owners_count":25978166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","mongolia","nso","opendata","r","r-package","rstats"],"created_at":"2025-10-04T23:19:20.618Z","updated_at":"2025-10-04T23:19:23.534Z","avatar_url":"https://github.com/temuulene.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n# mongolstats\n\nTidy access to the National Statistics Office of Mongolia (NSO) statistics via the PXWeb API (data.1212.mn) and Mongolia administrative boundaries, inspired by tidycensus.\n\n## Installation\n\n`\n# install.packages(\"devtools\")\ndevtools::install_github(\"temuulene/mongolstats\")\n`\n\n## Quick start\n\n`\nlibrary(mongolstats)\nlibrary(dplyr)\n\n# Use PXWeb API (data.1212.mn)\nnso_options(mongolstats.lang = \"en\")\n\n# List available tables\nitms \u003c- nso_itms()\nitms %\u003e% select(tbl_id, tbl_eng_nm, strt_prd, end_prd) %\u003e% slice_head(n = 5)\n\n# Inspect variables (codebook) for a table\nvars \u003c- nso_itms_detail(\"DT_NSO_0300_001V2\")\nvars %\u003e% count(field)\n\n# Fetch data\ndat \u003c- nso_data(\n  tbl_id = \"DT_NSO_0300_001V2\",\n  selections = list(Sex = \"Total\", Age = \"Total\", Year = \"2024\")\n)\ndat %\u003e% slice_head(n = 6)\n`\n\n\u003c!-- NOTE: Knit this file to update README.md --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftemuulene%2Fmongolstats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftemuulene%2Fmongolstats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftemuulene%2Fmongolstats/lists"}