Skip to content

ArgentinAPI

0.2.1Package record

Access Argentinian Data via APIs and Curated Datasets

1packages depend
5.9Kdownloads / year
72.0%test coverage
13/13flavors OK

Overview

About

Provides functions to access data from public RESTful APIs including the 'ArgentinaDatos API', 'REST Countries API', and 'World Bank API' related to Argentina's exchange rates, inflation, political figures, holidays, economic indicators, and general country-level statistics. Additionally, the package includes curated datasets related to Argentina, covering topics such as economic indicators, biodiversity, agriculture, human rights, genetic data, and consumer prices. The package supports research and analysis focused on Argentina by integrating open APIs with high-quality datasets from various domains. For more details on the APIs, see: 'ArgentinaDatos API' https://argentinadatos.com/, 'REST Countries API' https://restcountries.com/, and 'World Bank API' https://datahelpdesk.worldbank.org/knowledgebase/articles/889392.

Changes in 0.2.1

Bug Fixes

  • Fixed get_argentinian_holidays() to dynamically accept years up to the current year instead of being hardcoded to 2025, preventing validation errors in future years.
  • Improved error handling in get_argentinian_holidays() to fail gracefully with informative messages when the API is unavailable, as required by CRAN policy.
  • Improved error handling in get_argentine_senators() to fail gracefully with informative messages when the API is unavailable, as required by CRAN policy.
  • Fixed test for get_argentine_senators() to properly handle NA values in date fields when checking sort order.
  • Updated validation messages to use dynamic year limits based on current date.

Technical Changes

  • Added tryCatch() blocks to API calls in get_argentinian_holidays() and get_argentine_senators() to handle network errors gracefully.
  • Changed validation errors to warnings with NULL returns to comply with CRAN's requirement that packages using Internet resources must not generate check errors when resources are unavailable.

---

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.0 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.1
READMEYes · 446 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.2.1Citation fileYes · software entry onlyWebsiteYes · pkgdown
Help pages
22includes a package overview page
Examples that run
57%8 run in a plain check (8 of them under a condition) · 1 only when donttest examples are enabled (R CMD check --as-cran) · 5 never run
Exported functions with examples
67%
Documented parameters
13%
Return-value docs
67%
Help pages citing references
0%

Downloads

5.9K
CRAN downloads in the past year
Rank #9,177 · ~16/day · ~492/mo
Daily download trend is not available in this view yet.
34630 days
1.1K90 days
5.9K1 year
Compare downloads with other packages →
Also on195 r2u29 autocran

Repository

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

Stars over time

2025-10-16 · 32026-07-07 · 3
PracticesBeta

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

Checks run against github.com/lightbluetitan/argentinapi on 2026-10-21.

Docs source (2)
pkgdown

GitHub Pages site last deployed 2026-01-14

pkgdown site last built 2026-01-14

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

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing ArgentinAPI adds 30 packages (18 with compiled code, 12 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
1direct
0indirect
Depends 1
Depends, Imports or LinkingTo, most downloaded first

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.2.1Latest
    record
    2026-01-14 · current release · diff ↗
  • 0.2.0
    record
    2025-09-14 · diff ↗ ·
    removed 1 export
    get_country_info
    added 8 exports
    get_argentina_child_mortality, get_argentina_energy_use, get_argentina_gdp, get_argentina_hospital_beds, get_argentina_life_expectancy, get_argentina_population, get_argentina_unemployment, get_country_info_ar
  • 0.1.0
    record
    2025-07-08
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-07-08
Total releases
3 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 4.1.0
Bundled data
333 KB / 7 files
Download size
483 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("ArgentinAPI")

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 ArgentinAPI version 0.2.1 [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