Skip to contents

Retrieves comprehensive country information for Colombia from the REST Countries API. This function fetches data including official and common names, geographical information, capital, area, population, and languages.

Usage

get_country_info_co()

Value

A tibble with one row containing Colombia's country information, or NULL if the API is unavailable.

Examples

# \donttest{
co_info <- get_country_info_co()
print(co_info)
#> # A tibble: 1 × 8
#>   name_common name_official region subregion capital   area population languages
#>   <chr>       <chr>         <chr>  <chr>     <chr>    <dbl>      <int> <chr>    
#> 1 Colombia    Republic of … Ameri… South Am… Bogotá  1.14e6   50882884 Spanish  
# }