Skip to content

MexicoDataAPI

0.3.0Package record

Access Mexican Data via APIs and Curated Datasets

0packages depend
5.3Kdownloads / year
71.6%test coverage
13/13flavors OK

Overview

About

Provides functions to access data from public RESTful APIs including 'World Bank API', and 'Nager.Date API', covering Mexico's economic indicators, population statistics, literacy rates, and official public holidays. The package also includes curated datasets related to Mexico such as air quality monitoring stations, pollution zones, income surveys, postal abbreviations, election studies, forest productivity and demographic data by state. It supports research and analysis focused on Mexico by integrating reliable global APIs with structured national datasets drawn from open and academic sources. For more information on the APIs, see: 'World Bank API' https://datahelpdesk.worldbank.org/knowledgebase/articles/889392, and 'Nager.Date API' https://date.nager.at/Api.

Changes in 0.3.0

Breaking Changes

  • get_country_info_mx() was removed from the package. The 'REST Countries API' v3.1 endpoint it depended on was deprecated by its provider. The replacement v5 endpoint now requires an API key, which is incompatible with CRAN's policy on packages using Internet resources (they must work without user-provided credentials). As a consequence, the 'REST Countries API' is no longer used by MexicoDataAPI.

---

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.1 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-09
  • ERROR12 OK, 1 ERROR2026-06-12
  • OK13 OK2026-05-05
Show 4 earlier changesHide 4 earlier changes
  • ERROR12 OK, 1 ERROR2026-04-30
  • OK13 OK2026-04-29
  • ERROR13 OK, 1 ERROR2026-04-24
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.0
READMEYes · 326 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.3.0Citation fileYes · software entry onlyWebsiteYes · pkgdown
Help pages
18includes a package overview page
Examples that run
75%6 run in a plain check (5 of them under a condition) · 2 never run
Exported functions with examples
47%
Documented parameters
10%
Return-value docs
47%
Help pages citing references
0%

Downloads

5.3K
CRAN downloads in the past year
Rank #11,215 · ~15/day · ~443/mo
Daily download trend is not available in this view yet.
32630 days
95590 days
5.3K1 year
Compare downloads with other packages →
Also on60 r2u4 autocran

Repository

4Stars
0Forks
0Open issues
0Open PRs
0Releases
5Commits
1Commit identities
5 commits · Last activity 2026-07-01 · 0% stars, 30d
Responsiveness
not measured

Stars over time

2025-08-29 · 32026-07-07 · 4
PracticesBeta

3 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/lightbluetitan/mexicodataapi on 2026-10-22.

Docs source (2)
pkgdown

GitHub Pages site last deployed 2026-07-01

pkgdown site last built 2026-07-01, before release 0.3.0 (2026-07-02)

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing MexicoDataAPI adds 27 packages (16 with compiled code, 11 MB of source tarballs). Heaviest: farver 1.2 MB, viridisLite 1.2 MB, openssl 1.1 MB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.1.0 (2025)
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.3.0Latest
    record
    2025-09-13 · current release · diff ↗ ·
    removed 1 export
    get_country_info_mx
  • 0.2.0
    record
    2025-09-14 · diff ↗ ·
    removed 1 export
    get_country_info
    added 2 exports
    get_country_info_mx, get_mexico_holidays
  • 0.1.0
    record
    2025-07-16
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-07-16
Total releases
3 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 4.1.0
Bundled data
123 KB / 9 files
Download size
303 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("MexicoDataAPI")

The package provides a citation file, so citation() returns the authors' own entry.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for MexicoDataAPI version 0.3.0 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy