get_argentinian_holidays() to dynamically accept
years up to the current year instead of being hardcoded to 2025,
preventing validation errors in future years.get_argentinian_holidays()
to fail gracefully with informative messages when the API is
unavailable, as required by CRAN policy.get_argentine_senators() to
fail gracefully with informative messages when the API is unavailable,
as required by CRAN policy.get_argentine_senators() to properly
handle NA values in date fields when checking sort order.tryCatch() blocks to API calls in
get_argentinian_holidays() and
get_argentine_senators() to handle network errors
gracefully.get_country_info() was renamed to
get_country_info_ar() to avoid naming conflicts with other
packages and improve function identification.The following API was added to the ArgentinAPI
package:
The following functions were added to the ArgentinAPI
package:
get_argentina_child_mortality(): Get Argentina’s
Under-5 Mortality Rate data from the World Bank.
get_argentina_energy_use(): Get Argentina’s Energy
Use (kg of oil equivalent per capita) data from the World Bank.
get_argentina_gdp(): Get Argentina’s GDP (current
US$) data from the World Bank.
get_argentina_hospital_beds(): Get Argentina’s
Hospital Beds (per 1,000 people) data from the World Bank.
get_argentina_life_expectancy(): Get Argentina’s
Life Expectancy at Birth data from the World Bank.
get_argentina_population(): Get Argentina’s Total
Population data from the World Bank.
get_argentina_unemployment(): Get Argentina’s Total
Unemployment Rate data from the World Bank.
ArgentinAPI package.view_datasets_ArgentinAPI() function to explore
available datasets.