Retrieves comprehensive information about Colombia's six natural regions from the API Colombia service. This function fetches data including region names, descriptions, and identifiers for all Colombian regions: Caribe, Pacífico, Orinoquía, Amazonía, Andina, and Insular.
Source
API Colombia: https://api-colombia.com/api/v1/Region
Value
A tibble with the following columns:
id
: Region identifier (integer)name
: Region name (character)description
: Detailed description of the region (character)
Details
This function sends a GET request to the API Colombia service.
If the API request fails or returns an error status code,
the function returns NULL
with an informative message.
Examples
if (interactive()) {
get_colombia_regions()
}