Skip to contents

Retrieves selected information about touristic attractions in Colombia from the API Colombia. This function fetches the attraction ID, name, description, latitude, longitude, and city ID.

Usage

get_colombia_attractions()

Value

A tibble with multiple rows, each representing a touristic attraction in Colombia, or NULL if the API is unavailable.

Examples

# \donttest{
attractions <- get_colombia_attractions()
print(attractions)
#> # A tibble: 41 × 6
#>       id name                           description    latitude longitude cityId
#>    <int> <chr>                          <chr>          <chr>    <chr>      <int>
#>  1    36 Hacienda napoles               La Hacienda N… 5.887894 -74.6418      88
#>  2    34 Santa fe de antioquia          Santa Fe de A… 6.556389 -75.8275     125
#>  3    17 La ventana del mundo           La Ventana al… 11.03308 -74.8314…    144
#>  4    20 Cerro de Monserrate            El cerro de M… 4.605833 -74.0563…    167
#>  5     1 Museo del oro                  El Museo del … 4.601919 -74.072      167
#>  6    19 Volcan del totumo              El volcán del… 10.7444… -75.2414…    191
#>  7    32 Ciudad amurallada              La Ciudad Amu… 10.4236… -75.5252…    210
#>  8    10 Castillo San Felipe de Barajas El Castillo S… 10.42222 -75.53806    210
#>  9     4 Lago de Tota                   El lago de To… 5.55     -72.9166…    219
#> 10    26 Nevado del cocuy               El Parque Nac… 6.433333 -72.2833…    247
#> # ℹ 31 more rows
# }