Skip to content

MexicoDataAPI

0.3.0

Access Mexican Data via APIs and Curated Datasets

0packages depend
5.3Kdownloads / year
71.6%test coverage
13/13checks pass

Overview

About
Maintained by Renzo Caceres RossiFirst published 2025-07-163 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 4.9 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 1.18
71.6%
Coverage · measured lines
100%
Documentation · exports
6
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-12
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 4 earlier snapshots
  • ERROR2026-04-30
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-29
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-24
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 326 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
75%
Documented parameters
10%
Return-value docs
47%
References docs
0%

Downloads

5.3K
CRAN downloads in the past year
Rank #8,511 · ~14/day · ~440/mo
Daily download trend is not available in this view yet.
14230 days
1.1K90 days
5.3K1 year
Compare downloads with other packages →
Also on93 r2u13 autocran

Repository

Repository
4Stars
0Forks
0Open issues
0Open PRs
0Releases
5Commits
1Contributors
5 commits · Last activity 2026-07-01 · 0% stars, 30d

Stars over time

2025-08-28 · 12026-07-07 · 4

Repository practices

Upstream repositoryBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/lightbluetitan/mexicodataapi on 2026-08-03.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.3.0Latest
    2026-07-02 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.0
    2025-09-14 · diff ↗
  • 0.1.0
    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
305 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("MexicoDataAPI")
Caceres Rossi, R. (2026). MexicoDataAPI: Access Mexican Data via APIs and Curated Datasets (Version 0.3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.MexicoDataAPI

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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-08-08. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-08, 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