ColombiAPI 0.3.1
Bug Fixes
Test Corrections for CRAN Compliance
Fixed
get_colombia_literacy_rate()tests: Corrected data type expectations for thevaluecolumn fromintegertonumeric. The World Bank API returns literacy rates as decimal percentages (e.g., 95.68%), which are naturally of typenumeric/double, notinteger.-
Fixed
get_colombia_life_expectancy()tests:- Added
skip_on_cran()to all tests to properly handle offline environments during CRAN checks - Improved error handling by adding
User-Agentheaders to HTTP requests - Added explicit
NULLchecks before structure validation to prevent test failures - Enhanced robustness of API error handling with better
tryCatch()implementation
- Added
ColombiAPI 0.3.0
CRAN release: 2025-09-29
Breaking Changes
This release significantly expands the scope of ColombiAPI with 12 new curated datasets.
These additions cover diverse domains such as indigenous languages, education, biodiversity, digital transformation, mobility, tourism, connectivity, and economic projections.
Newly Added Datasets
indigenous_vocabulary_df: Comparative Vocabulary for Colombia’s Indigenous Languagesadmitted_students_df: Admitted Students to the Science Faculty, UNAL (2013-I)school_levels_df: Departments by Levels of Schools in Colombiadead_lianas_df: Mortality of lianas (vines) in tropical forestsmunicipalities_tbl_df: Municipalities of ColombiaBucaramanga_wifi_tbl_df: WiFi Connectivity Zones in BucaramangaCartagena_wifi_tbl_df: Connected Devices in WiFi Zones of Cartagenadigital_graduates_tbl_df: “Advancing in Digital” Program Graduatesvehicle_count_tbl_df: Vehicle Count: Cars and Motorcyclesforeign_visitors_tbl_df: Non-Resident Foreign Visitors to Colombiadigital_centers_tbl_df: Digital Centers in Sucregdp_departments_tbl_df: Departmental GDP Projection
ColombiAPI 0.2.0
CRAN release: 2025-09-17
Breaking Changes
view_datasets()was renamed toview_datasets_ColombiAPI()to avoid naming conflicts with other packages and improve function identification.get_airports_list()was renamed toget_colombia_airports()to avoid naming conflicts with other packages and improve function identification.get_Colombia_info()was renamed toget_country_info_co()to avoid naming conflicts with other packages and improve function identification.get_country_info_co()Not only was the function name changed, but its data source also shifted fromAPI-Colombiato theREST CountriesAPI.get_departments_list()was renamed toget_colombia_departments()to avoid naming conflicts with other packages and improve function identification.get_presidents_list()was renamed toget_colombia_presidents()to avoid naming conflicts with other packages and improve function identification.get_regions_list()was renamed toget_colombia_regions()to avoid naming conflicts with other packages and improve function identification.
The following APIs were added to the ColombiAPI package:
Nager.Date https://date.nager.at/Api.
World Bank API https://datahelpdesk.worldbank.org/knowledgebase/articles/889392
REST Countries API https://restcountries.com/
The following functions were added to the ColombiAPI package powered by API-Colombia:
The following function was added to the ColombiAPI package powered by Nager.Date:
The following functions were added to the ColombiAPI package powered by World Bank API:
ColombiAPI 0.1.1
CRAN release: 2025-02-16
Fixed function
- Fix
get_airports_list()latitud and longitud error, now that function is namedget_colombia_airports()
