Skip to contents

Retrieves information about radio stations in Colombia from the API Colombia. This function fetches only the following fields: id, name, frequency, and band.

Usage

get_colombia_radios()

Value

A tibble with the following columns:

  • id: Radio station identifier (integer)

  • name: Radio station name (character)

  • frequency: Broadcast frequency (numeric)

  • band: Frequency band (e.g., AM, FM) (character)

Returns NULL if the API request fails.

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.

Note

Requires internet connection.

See also

Examples

if (interactive()) {
  get_colombia_radios()
}