{
  "_id": "6a101fd5acfb0bcc41c8b5d3",
  "Package": "PeruAPIs",
  "Type": "Package",
  "Title": "Access Peruvian Data via Public APIs and Curated Datasets",
  "Version": "0.1.0",
  "Maintainer": "Renzo Caceres Rossi <arenzocaceresrossi@gmail.com>",
  "Description": "Provides functions to access data from public RESTful APIs\nincluding 'Nager.Date', 'World Bank API', and 'REST Countries\nAPI', retrieving real-time or historical data related to Peru,\nsuch as holidays, economic indicators, and international\ndemographic and geopolitical indicators. Additionally, the\npackage includes curated datasets focused on Peru, covering\ntopics such as administrative divisions, electoral data,\ndemographics, biodiversity and educational classifications. The\npackage supports reproducible research and teaching by\nintegrating reliable international APIs and structured datasets\nfrom public, academic, and government sources. For more\ninformation on the APIs, see: 'Nager.Date'\n<https://date.nager.at/Api>, 'World Bank API'\n<https://datahelpdesk.worldbank.org/knowledgebase/articles/889392>,\nand 'REST Countries API' <https://restcountries.com/>.",
  "License": "MIT + file LICENSE",
  "Language": "en",
  "URL": "https://github.com/lightbluetitan/peruapis,\nhttps://lightbluetitan.github.io/peruapis/",
  "BugReports": "https://github.com/lightbluetitan/peruapis/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "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-09 14:48:43 UTC",
  "RemoteUrl": "https://github.com/lightbluetitan/peruapis",
  "RemoteRef": "HEAD",
  "RemoteSha": "305ce77557f1b5023f01e777467ae06a2ba8a445",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 06:38:35 UTC",
    "User": "root"
  },
  "Author": "Renzo Caceres Rossi [aut, cre] (ORCID:\n<https://orcid.org/0009-0005-0744-854X>)",
  "MD5sum": "a88c703824d4afffafa0843cc3936ffc",
  "_user": "lightbluetitan",
  "_type": "src",
  "_file": "PeruAPIs_0.1.0.tar.gz",
  "_fileid": "d177e4c7bf05988c95c51685ee70dcf7d066fdf127140ffa0eaf5f6550c23bee",
  "_filesize": 718679,
  "_sha256": "d177e4c7bf05988c95c51685ee70dcf7d066fdf127140ffa0eaf5f6550c23bee",
  "_created": "2026-05-14T06:38:35.000Z",
  "_published": "2026-05-22T09:20:21.406Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77351523675,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "6988720321"
    },
    {
      "job": 77351523494,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6988720480"
    },
    {
      "job": 77351523792,
      "time": 93,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "6988709425"
    },
    {
      "job": 77351523676,
      "time": 96,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6988709944"
    },
    {
      "job": 77351522653,
      "time": 185,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988688518"
    },
    {
      "job": 77351522886,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157114382"
    },
    {
      "job": 77351523359,
      "time": 83,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "6988707348"
    },
    {
      "job": 77351523834,
      "time": 94,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "6988709643"
    },
    {
      "job": 77351523276,
      "time": 85,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6988707825"
    }
  ],
  "_buildurl": "https://github.com/r-universe/lightbluetitan/actions/runs/25845804373",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/lightbluetitan/peruapis",
  "_commit": {
    "id": "305ce77557f1b5023f01e777467ae06a2ba8a445",
    "author": "Renzo Caceres Rossi <arenzocaceresrossi@gmail.com>",
    "committer": "Renzo Caceres Rossi <arenzocaceresrossi@gmail.com>",
    "message": "Initial commit PeruAPIs Package\n",
    "time": 1757429323
  },
  "_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": 1,
  "_updates": [
    {
      "week": "2025-37",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "lightbluetitan",
      "count": 1,
      "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": 477,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PeruAPIs"
  },
  "_devurl": "https://github.com/lightbluetitan/peruapis",
  "_pkgdown": "https://lightbluetitan.github.io/peruapis/",
  "_searchresults": 6,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/PeruAPIs.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/lightbluetitan/peruapis",
  "_realowner": "lightbluetitan",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-09-15"
    }
  ],
  "_exports": [
    "andean_migrants_health_df",
    "birds_peru_tbl_df",
    "get_country_info_pe",
    "get_peru_child_mortality",
    "get_peru_cpi",
    "get_peru_energy_use",
    "get_peru_gdp",
    "get_peru_holidays",
    "get_peru_hospital_beds",
    "get_peru_life_expectancy",
    "get_peru_literacy_rate",
    "get_peru_population",
    "get_peru_unemployment",
    "iscd_education_tbl_df",
    "peru_blank_votes_df",
    "peru_coastline_df",
    "view_datasets_PeruAPIs"
  ],
  "_datasets": [
    {
      "name": "andean_migrants_health_df",
      "title": "Peruvian Andean migrants health study",
      "object": "andean_migrants_health_df",
      "class": [
        "data.frame"
      ],
      "fields": [
        "age",
        "years",
        "weight",
        "height",
        "BP"
      ],
      "rows": 39,
      "table": true,
      "tojson": true
    },
    {
      "name": "birds_peru_tbl_df",
      "title": "Bird species recorded in Peru",
      "object": "birds_peru_tbl_df",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "order_name",
        "family_name",
        "scientific_name",
        "english_name",
        "spanish_name",
        "status"
      ],
      "rows": 1914,
      "table": true,
      "tojson": true
    },
    {
      "name": "iscd_education_tbl_df",
      "title": "Peru's educational programs under ISCED classification",
      "object": "iscd_education_tbl_df",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Education_COD",
        "Education",
        "Specific_COD",
        "Specific",
        "AcademicLevel",
        "AcademicLevel_COD",
        "EducationProgram",
        "EducationProgram_Lemma"
      ],
      "rows": 8357,
      "table": true,
      "tojson": true
    },
    {
      "name": "peru_blank_votes_df",
      "title": "Peru blank votes",
      "object": "peru_blank_votes_df",
      "class": [
        "data.frame"
      ],
      "fields": [
        "votes",
        "HDI"
      ],
      "rows": 194,
      "table": true,
      "tojson": true
    },
    {
      "name": "peru_coastline_df",
      "title": "Peruvian coastline coordinates",
      "object": "peru_coastline_df",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Long",
        "Lat"
      ],
      "rows": 23481,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "andean_migrants_health_df",
      "title": "Peruvian Andean migrants health study",
      "topics": [
        "andean_migrants_health_df"
      ]
    },
    {
      "page": "birds_peru_tbl_df",
      "title": "Bird species recorded in Peru",
      "topics": [
        "birds_peru_tbl_df"
      ]
    },
    {
      "page": "get_country_info_pe",
      "title": "Get Country Information for Peru",
      "topics": [
        "get_country_info_pe"
      ]
    },
    {
      "page": "get_peru_child_mortality",
      "title": "Get Peru's Under-5 Mortality Rate from World Bank",
      "topics": [
        "get_peru_child_mortality"
      ]
    },
    {
      "page": "get_peru_cpi",
      "title": "Get Peru's Consumer Price Index (2010 = 100) from World Bank",
      "topics": [
        "get_peru_cpi"
      ]
    },
    {
      "page": "get_peru_energy_use",
      "title": "Get Peru's Energy Use (kg of oil equivalent per capita) from World Bank",
      "topics": [
        "get_peru_energy_use"
      ]
    },
    {
      "page": "get_peru_gdp",
      "title": "Get Peru's GDP (current US$) from World Bank",
      "topics": [
        "get_peru_gdp"
      ]
    },
    {
      "page": "get_peru_holidays",
      "title": "Get Official Public Holidays in Peru for a Given Year",
      "topics": [
        "get_peru_holidays"
      ]
    },
    {
      "page": "get_peru_hospital_beds",
      "title": "Get Peru's Hospital Beds (per 1,000 people) from World Bank",
      "topics": [
        "get_peru_hospital_beds"
      ]
    },
    {
      "page": "get_peru_life_expectancy",
      "title": "Get Peru's Life Expectancy at Birth (Total, Years) from World Bank",
      "topics": [
        "get_peru_life_expectancy"
      ]
    },
    {
      "page": "get_peru_literacy_rate",
      "title": "Get Peru's Adult Literacy Rate",
      "topics": [
        "get_peru_literacy_rate"
      ]
    },
    {
      "page": "get_peru_population",
      "title": "Get Peru's Total Population from World Bank",
      "topics": [
        "get_peru_population"
      ]
    },
    {
      "page": "get_peru_unemployment",
      "title": "Get Peru's Unemployment Rate (Total) from World Bank",
      "topics": [
        "get_peru_unemployment"
      ]
    },
    {
      "page": "iscd_education_tbl_df",
      "title": "Peru's educational programs under ISCED classification",
      "topics": [
        "iscd_education_tbl_df"
      ]
    },
    {
      "page": "peru_blank_votes_df",
      "title": "Peru blank votes",
      "topics": [
        "peru_blank_votes_df"
      ]
    },
    {
      "page": "peru_coastline_df",
      "title": "Peruvian coastline coordinates",
      "topics": [
        "peru_coastline_df"
      ]
    },
    {
      "page": "PeruAPIs",
      "title": "PeruAPIs: Access Peruvian Data via Public APIs and Curated Datasets",
      "topics": [
        "PeruAPIs-package",
        "PeruAPIs"
      ]
    },
    {
      "page": "view_datasets_PeruAPIs",
      "title": "View Available Datasets in PeruAPIs",
      "topics": [
        "view_datasets_PeruAPIs"
      ]
    }
  ],
  "_pkglogo": "https://github.com/lightbluetitan/peruapis/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/lightbluetitan/peruapis/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": "PeruAPIs_vignette.Rmd",
      "filename": "PeruAPIs_vignette.html",
      "title": "PeruAPIs: Access Peruvian Data via Public APIs and Curated Datasets",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Functions for PeruAPIs",
        "Peru's GDP (Current US$) from World Bank 2022 - 2017",
        "Peru's Life Expectancy at Birth from World Bank 2022 - 2017",
        "Peru's Total Population from World Bank 2022 - 2017",
        "Relationship between Blank Votes and Human Development Index in Peru",
        "Dataset Suffixes",
        "Datasets Included in PeruAPIs",
        "Conclusion"
      ],
      "created": "2025-09-09 14:48:43",
      "modified": "2025-09-09 14:48:43",
      "commits": 1
    }
  ],
  "_score": 4.176091259055681,
  "_indexed": true,
  "_nocasepkg": "peruapis",
  "_universes": [
    "lightbluetitan"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-14T06:40:53.000Z",
      "distro": "noble",
      "commit": "305ce77557f1b5023f01e777467ae06a2ba8a445",
      "fileid": "50d239cad8712bcd57e343b4f38e15af651cdd3efe56bffb75694c92bf021695",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lightbluetitan/actions/runs/25845804373"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-14T06:40:54.000Z",
      "distro": "noble",
      "commit": "305ce77557f1b5023f01e777467ae06a2ba8a445",
      "fileid": "7332b3e8088016133b4f570d60663486ac283d2c9af2700d89a586341b4ca9bd",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lightbluetitan/actions/runs/25845804373"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-14T06:40:13.000Z",
      "commit": "305ce77557f1b5023f01e777467ae06a2ba8a445",
      "fileid": "7f5378a0c35ab45935294c6fac7b420fd85c067573b14482abb1cc29158717be",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lightbluetitan/actions/runs/25845804373"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-14T06:40:14.000Z",
      "commit": "305ce77557f1b5023f01e777467ae06a2ba8a445",
      "fileid": "de1dda144192fc2122ab16ff24e42d0354ea2d1b4d42ed1b2739f3a7d43bae9e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lightbluetitan/actions/runs/25845804373"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-14T06:39:49.000Z",
      "commit": "305ce77557f1b5023f01e777467ae06a2ba8a445",
      "fileid": "b94cc911db1d030cc274d59478d884de99f4d139361349b51a0fb6e78ee592cf",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lightbluetitan/actions/runs/25845804373"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-14T06:40:00.000Z",
      "commit": "305ce77557f1b5023f01e777467ae06a2ba8a445",
      "fileid": "367e96c44792b508405c3deced19ec1d00e391a3a842383e07108891892ee701",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lightbluetitan/actions/runs/25845804373"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-14T06:39:53.000Z",
      "commit": "305ce77557f1b5023f01e777467ae06a2ba8a445",
      "fileid": "ab14db9466baea4e8905e25ff597dc9de0cd82c70eb08c8413a4613495dd497b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lightbluetitan/actions/runs/25845804373"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-05-22T09:20:04.000Z",
      "commit": "305ce77557f1b5023f01e777467ae06a2ba8a445",
      "fileid": "fa829b03d4cf6b6d783205070143f49f0555f3dd981329ab355911ebae7c7fae",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lightbluetitan/actions/runs/25845804373"
    }
  ]
}