{
  "_id": "6a1044c2acfb0bcc41c9e50f",
  "Package": "MexicoDataAPI",
  "Type": "Package",
  "Title": "Access Mexican Data via APIs and Curated Datasets",
  "Version": "0.2.0",
  "Maintainer": "Renzo Caceres Rossi <arenzocaceresrossi@gmail.com>",
  "Description": "Provides functions to access data from public RESTful APIs\nincluding 'REST Countries API', 'World Bank API', and\n'Nager.Date API', covering Mexico's economic indicators,\npopulation statistics, literacy rates, international\ngeopolitical information and official public holidays. The\npackage also includes curated datasets related to Mexico such\nas air quality monitoring stations, pollution zones, income\nsurveys, postal abbreviations, election studies, forest\nproductivity and demographic data by state. It supports\nresearch and analysis focused on Mexico by integrating reliable\nglobal APIs with structured national datasets drawn from open\nand academic sources. For more information on the APIs, see:\n'REST Countries API' <https://restcountries.com/>, 'World Bank\nAPI'\n<https://datahelpdesk.worldbank.org/knowledgebase/articles/889392>,\nand 'Nager.Date API' <https://date.nager.at/Api>.",
  "License": "GPL-3",
  "URL": "https://github.com/lightbluetitan/mexicodataapi,\nhttps://lightbluetitan.github.io/mexicodataapi/",
  "BugReports": "https://github.com/lightbluetitan/mexicodataapi/issues",
  "Encoding": "UTF-8",
  "Authors@R": "person(\ngiven = \"Renzo\",\nfamily = \"Caceres Rossi\",\nrole = c(\"aut\", \"cre\"),\nemail = \"arenzocaceresrossi@gmail.com\",\ncomment = c(ORCID = \"0009-0005-0744-854X\")\n)",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://lightbluetitan.r-universe.dev",
  "Date/Publication": "2025-09-12 23:41:50 UTC",
  "RemoteUrl": "https://github.com/lightbluetitan/mexicodataapi",
  "RemoteRef": "HEAD",
  "RemoteSha": "cc7d3f47eae41bf0e90002f0dfaf32578bf6af8e",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-11 06:23:42 UTC",
    "User": "root"
  },
  "Author": "Renzo Caceres Rossi [aut, cre] (ORCID:\n<https://orcid.org/0009-0005-0744-854X>)",
  "MD5sum": "ae7da18f80ff3bb7ddbf369def433e42",
  "_user": "lightbluetitan",
  "_type": "src",
  "_file": "MexicoDataAPI_0.2.0.tar.gz",
  "_fileid": "651daa06ab895e48c13f1c7e404e8deb27f75713e27c13aca311df160657c62f",
  "_filesize": 638647,
  "_sha256": "651daa06ab895e48c13f1c7e404e8deb27f75713e27c13aca311df160657c62f",
  "_created": "2026-05-11T06:23:42.000Z",
  "_published": "2026-05-22T11:57:54.289Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77374736662,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6911647941"
    },
    {
      "job": 77374736753,
      "time": 121,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6911644119"
    },
    {
      "job": 77374736612,
      "time": 86,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6911636236"
    },
    {
      "job": 77374736693,
      "time": 103,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6911640112"
    },
    {
      "job": 77374736083,
      "time": 211,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6911615573"
    },
    {
      "job": 77374736070,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159911934"
    },
    {
      "job": 77374736360,
      "time": 106,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6911640942"
    },
    {
      "job": 77374736621,
      "time": 92,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6911637438"
    },
    {
      "job": 77374736518,
      "time": 88,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6911636663"
    }
  ],
  "_buildurl": "https://github.com/r-universe/lightbluetitan/actions/runs/25653785331",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/lightbluetitan/mexicodataapi",
  "_commit": {
    "id": "cc7d3f47eae41bf0e90002f0dfaf32578bf6af8e",
    "author": "Renzo Caceres Rossi <arenzocaceresrossi@gmail.com>",
    "committer": "Renzo Caceres Rossi <arenzocaceresrossi@gmail.com>",
    "message": "Update pkgdown MexicoDataAPI website\n",
    "time": 1757720510
  },
  "_maintainer": {
    "name": "Renzo Caceres Rossi",
    "email": "arenzocaceresrossi@gmail.com",
    "login": "lightbluetitan",
    "linkedin": "in/andrescaceresrossi",
    "uuid": 13672461
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "lightbluetitan",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-28",
      "n": 2
    },
    {
      "week": "2025-37",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "lightbluetitan",
      "count": 4,
      "uuid": 13672461
    }
  ],
  "_userbio": {
    "uuid": 13672461,
    "type": "user",
    "name": "Renzo Cáceres Rossi",
    "description": "Soy un fanatico del Lenguaje de programación R ,  desarrollador de paquetes y metapaquetes para R y Python 🐍📦"
  },
  "_downloads": {
    "count": 565,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/MexicoDataAPI"
  },
  "_devurl": "https://github.com/lightbluetitan/mexicodataapi",
  "_pkgdown": "https://lightbluetitan.github.io/mexicodataapi/",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/MexicoDataAPI.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/lightbluetitan/mexicodataapi",
  "_realowner": "lightbluetitan",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-07-16"
    },
    {
      "version": "0.2.0",
      "date": "2025-09-13"
    }
  ],
  "_exports": [
    "chiapas_dry_forests_df",
    "get_country_info_mx",
    "get_mexico_cpi",
    "get_mexico_gdp",
    "get_mexico_holidays",
    "get_mexico_life_expectancy",
    "get_mexico_literacy_rate",
    "get_mexico_population",
    "get_mexico_unemployment",
    "mex_income_2008_tbl_df",
    "mex_income_2016_tbl_df",
    "mexico_abb_chr",
    "mexico_elections_df",
    "mexico_states_df",
    "pollution_stations_df",
    "pollution_zones_df",
    "stations_sinaica_df",
    "view_datasets_MexicoDataAPI"
  ],
  "_datasets": [
    {
      "name": "chiapas_dry_forests_df",
      "title": "Productivity in Chiapas Dry Forests",
      "object": "chiapas_dry_forests_df",
      "file": "chiapas_dry_forests_df.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "richness",
        "ndvi"
      ],
      "rows": 96,
      "table": true,
      "tojson": true
    },
    {
      "name": "mex_income_2008_tbl_df",
      "title": "Mexican Income Data (2008)",
      "object": "mex_income_2008_tbl_df",
      "file": "mex_income_2008_tbl_df.rda",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "hh_number",
        "factor",
        "income",
        "hh_structure",
        "education",
        "domicile_size",
        "age",
        "age_cat"
      ],
      "rows": 5000,
      "table": true,
      "tojson": true
    },
    {
      "name": "mex_income_2016_tbl_df",
      "title": "Mexican Income Data (2016)",
      "object": "mex_income_2016_tbl_df",
      "file": "mex_income_2016_tbl_df.rda",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "hh_number",
        "factor",
        "income",
        "hh_structure",
        "education",
        "domicile_size",
        "age",
        "age_cat"
      ],
      "rows": 5000,
      "table": true,
      "tojson": true
    },
    {
      "name": "mexico_abb_chr",
      "title": "Postal Abbreviations for Mexico",
      "object": "mexico_abb_chr",
      "file": "mexico_abb_chr.rda",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "mexico_elections_df",
      "title": "2012 Mexico Elections Panel Study",
      "object": "mexico_elections_df",
      "file": "mexico_elections_df.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "mex.t",
        "mex.male",
        "mex.age",
        "mex.education",
        "mex.y.all",
        "mex.vote",
        "mex.age2",
        "mex.interest",
        "mex.married",
        "mex.pidpanw2",
        "mex.pidprdw2",
        "mex.pidpriw2",
        "mex.votecard",
        "mex.urban",
        "mex.cleanelections",
        "mex.metro",
        "mex.centralregion",
        "mex.northregion",
        "mex.wealth",
        "mex.epnapprove",
        "mex.havepropoganda",
        "mex.concurrent",
        "mex.cleanelectionsmiss",
        "mex.loyal",
        "mex.direct"
      ],
      "rows": 1004,
      "table": true,
      "tojson": true
    },
    {
      "name": "mexico_states_df",
      "title": "Mexican States Demographics (2020)",
      "object": "mexico_states_df",
      "file": "mexico_states_df.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "region",
        "state_name",
        "state_name_official",
        "state_abbr",
        "state_abbr_official",
        "year",
        "pop",
        "pop_male",
        "pop_female",
        "afromexican",
        "indigenous_language"
      ],
      "rows": 32,
      "table": true,
      "tojson": true
    },
    {
      "name": "pollution_stations_df",
      "title": "Pollution Measuring Stations in Mexico City",
      "object": "pollution_stations_df",
      "file": "pollution_stations_df.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "station_code",
        "station_name",
        "lon",
        "lat",
        "altitude",
        "comment",
        "station_id"
      ],
      "rows": 70,
      "table": true,
      "tojson": true
    },
    {
      "name": "pollution_zones_df",
      "title": "Pollution Zones in Mexico City",
      "object": "pollution_zones_df",
      "file": "pollution_zones_df.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "region",
        "state_code",
        "state_abbr",
        "municipio_code",
        "municipio_name",
        "zone"
      ],
      "rows": 36,
      "table": true,
      "tojson": true
    },
    {
      "name": "stations_sinaica_df",
      "title": "Air Quality Measuring Stations in Mexico (SINAICA)",
      "object": "stations_sinaica_df",
      "file": "stations_sinaica_df.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "station_id",
        "station_name",
        "station_code",
        "network_id",
        "network_name",
        "network_code",
        "street",
        "ext",
        "interior",
        "colonia",
        "zip",
        "state_code",
        "municipio_code",
        "year_started",
        "altitude",
        "address",
        "date_validated",
        "date_validated2",
        "passed_validation",
        "video",
        "lat",
        "lon",
        "date_started",
        "timezone",
        "street_view",
        "video_interior"
      ],
      "rows": 365,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "chiapas_dry_forests_df",
      "title": "Productivity in Chiapas Dry Forests",
      "topics": [
        "chiapas_dry_forests_df"
      ]
    },
    {
      "page": "get_country_info_mx",
      "title": "Get Country Information for Mexico",
      "topics": [
        "get_country_info_mx"
      ]
    },
    {
      "page": "get_mexico_cpi",
      "title": "Get Mexico's Consumer Price Index (2010 = 100) from World Bank",
      "topics": [
        "get_mexico_cpi"
      ]
    },
    {
      "page": "get_mexico_gdp",
      "title": "Get Mexico's GDP (Current US$) from World Bank",
      "topics": [
        "get_mexico_gdp"
      ]
    },
    {
      "page": "get_mexico_holidays",
      "title": "Get Official Public Holidays in Mexico for a Given Year",
      "topics": [
        "get_mexico_holidays"
      ]
    },
    {
      "page": "get_mexico_life_expectancy",
      "title": "Get Mexico's Life Expectancy from World Bank",
      "topics": [
        "get_mexico_life_expectancy"
      ]
    },
    {
      "page": "get_mexico_literacy_rate",
      "title": "Get Mexico's Literacy Rate (Age 15+) from World Bank",
      "topics": [
        "get_mexico_literacy_rate"
      ]
    },
    {
      "page": "get_mexico_population",
      "title": "Get Mexico's Population (Total) from World Bank",
      "topics": [
        "get_mexico_population"
      ]
    },
    {
      "page": "get_mexico_unemployment",
      "title": "Get Mexico's Unemployment Rate from World Bank",
      "topics": [
        "get_mexico_unemployment"
      ]
    },
    {
      "page": "mex_income_2008_tbl_df",
      "title": "Mexican Income Data (2008)",
      "topics": [
        "mex_income_2008_tbl_df"
      ]
    },
    {
      "page": "mex_income_2016_tbl_df",
      "title": "Mexican Income Data (2016)",
      "topics": [
        "mex_income_2016_tbl_df"
      ]
    },
    {
      "page": "mexico_abb_chr",
      "title": "Postal Abbreviations for Mexico",
      "topics": [
        "mexico_abb_chr"
      ]
    },
    {
      "page": "mexico_elections_df",
      "title": "2012 Mexico Elections Panel Study",
      "topics": [
        "mexico_elections_df"
      ]
    },
    {
      "page": "mexico_states_df",
      "title": "Mexican States Demographics (2020)",
      "topics": [
        "mexico_states_df"
      ]
    },
    {
      "page": "MexicoDataAPI",
      "title": "MexicoDataAPI: Access Mexican Data via APIs and Curated Datasets",
      "topics": [
        "MexicoDataAPI-package",
        "MexicoDataAPI"
      ]
    },
    {
      "page": "pollution_stations_df",
      "title": "Pollution Measuring Stations in Mexico City",
      "topics": [
        "pollution_stations_df"
      ]
    },
    {
      "page": "pollution_zones_df",
      "title": "Pollution Zones in Mexico City",
      "topics": [
        "pollution_zones_df"
      ]
    },
    {
      "page": "stations_sinaica_df",
      "title": "Air Quality Measuring Stations in Mexico (SINAICA)",
      "topics": [
        "stations_sinaica_df"
      ]
    },
    {
      "page": "view_datasets_MexicoDataAPI",
      "title": "View Available Datasets in MexicoDataAPI",
      "topics": [
        "view_datasets_MexicoDataAPI"
      ]
    }
  ],
  "_pkglogo": "https://github.com/lightbluetitan/mexicodataapi/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/lightbluetitan/mexicodataapi/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "dplyr",
    "farver",
    "generics",
    "glue",
    "httr",
    "jsonlite",
    "labeling",
    "lifecycle",
    "magrittr",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "R6",
    "RColorBrewer",
    "rlang",
    "scales",
    "sys",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "MexicoDataAPI_vignette.Rmd",
      "filename": "MexicoDataAPI_vignette.html",
      "title": "MexicoDataAPI: Access Mexican Data via APIs and Curated Datasets",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Functions for MexicoDataAPI",
        "Mexico's GDP (Current US$) from World Bank 2022 - 2017",
        "Mexico's Life Expectancy from World Bank 2022 - 2017",
        "Mexico's Population (Total) from World Bank 2022 - 2017",
        "Average Household Income by Education Level (2008)",
        "Dataset Suffixes",
        "Datasets Included in MexicoDataAPI",
        "Conclusion"
      ],
      "created": "2025-07-12 03:03:27",
      "modified": "2025-09-12 23:35:01",
      "commits": 3
    }
  ],
  "_score": 4.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "mexicodataapi",
  "_universes": [
    "lightbluetitan"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-11T06:25:54.000Z",
      "distro": "noble",
      "commit": "cc7d3f47eae41bf0e90002f0dfaf32578bf6af8e",
      "fileid": "e4aff1b4addf72b9e77cbe9dd808f2d42d4e384af58ced4c04f61c497d563f6e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lightbluetitan/actions/runs/25653785331"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-11T06:25:41.000Z",
      "distro": "noble",
      "commit": "cc7d3f47eae41bf0e90002f0dfaf32578bf6af8e",
      "fileid": "6ba7349d4c66890656f539666a23369052bbd8e74ebd415259a42784f07d04e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lightbluetitan/actions/runs/25653785331"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-11T06:25:14.000Z",
      "commit": "cc7d3f47eae41bf0e90002f0dfaf32578bf6af8e",
      "fileid": "eadcb536049ec0d12f8a0abe66f8e67251788a1b24fd0d8bdafdd592af16b6cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lightbluetitan/actions/runs/25653785331"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-11T06:25:23.000Z",
      "commit": "cc7d3f47eae41bf0e90002f0dfaf32578bf6af8e",
      "fileid": "ff01c469b83e89321d753b27c70150ab43b3b74b306e3b3c81b56cf95020d7a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lightbluetitan/actions/runs/25653785331"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-11T06:25:12.000Z",
      "commit": "cc7d3f47eae41bf0e90002f0dfaf32578bf6af8e",
      "fileid": "b8ddfc1de95adf940e95c2d3f55a81fec4f9f1c0e702514dcb736152933f3403",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lightbluetitan/actions/runs/25653785331"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-11T06:25:00.000Z",
      "commit": "cc7d3f47eae41bf0e90002f0dfaf32578bf6af8e",
      "fileid": "c2a38bc4c6ecc92e6b0b88c3a14bfbeb821344919722182d96a9fa0fdaa0d1d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lightbluetitan/actions/runs/25653785331"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-11T06:24:59.000Z",
      "commit": "cc7d3f47eae41bf0e90002f0dfaf32578bf6af8e",
      "fileid": "427c369c4376b32199db994727203336359d8f90827fd7926a660f6fde6e1180",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lightbluetitan/actions/runs/25653785331"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-05-22T11:57:38.000Z",
      "commit": "cc7d3f47eae41bf0e90002f0dfaf32578bf6af8e",
      "fileid": "44e7efab9c56e3791fc4792d1b7b27c7db90a802610be62ecf265581ec381e96",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lightbluetitan/actions/runs/25653785331"
    }
  ]
}