MexicoDataAPI: Access Mexican Data via APIs and Curated Datasets

Provides functions to access data from the 'World Bank API' and the 'REST Countries API', related to Mexico's economic indicators, population statistics, literacy rates, and international geopolitical information. Additionally, the package includes curated datasets related to Mexico, including air quality monitoring stations, pollution zones, income surveys, postal abbreviations, election studies, forest productivity, and demographic data by state. The package supports research and analysis focused on Mexico by integrating reliable global APIs with structured national datasets drawn from open and academic sources. For more details on the 'World Bank API', see <https://datahelpdesk.worldbank.org/knowledgebase/articles/889392>, and for the 'REST Countries API', see <https://restcountries.com/>.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: utils, httr, jsonlite, dplyr, scales
Suggests: ggplot2, testthat (≥ 3.0.0), knitr, rmarkdown
Published: 2025-07-16
DOI: 10.32614/CRAN.package.MexicoDataAPI
Author: Renzo Caceres Rossi ORCID iD [aut, cre]
Maintainer: Renzo Caceres Rossi <arenzocaceresrossi at gmail.com>
BugReports: https://github.com/lightbluetitan/mexicodataapi/issues
License: GPL-3
URL: https://github.com/lightbluetitan/mexicodataapi, https://lightbluetitan.github.io/mexicodataapi/
NeedsCompilation: no
Citation: MexicoDataAPI citation info
Materials: README
CRAN checks: MexicoDataAPI results

Documentation:

Reference manual: MexicoDataAPI.html
Vignettes: MexicoDataAPI: Access Mexican Data via APIs and Curated Datasets (source, R code)

Downloads:

Package source: MexicoDataAPI_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): MexicoDataAPI_0.1.0.tgz, r-oldrel (x86_64): MexicoDataAPI_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=MexicoDataAPI to link to this page.