get_colombia_invasive_species: Get Invasive Species of Colombia

View source: R/get_colombia_invasive_species.R

get_colombia_invasive_speciesR Documentation

Get Invasive Species of Colombia

Description

Retrieves information about invasive species in Colombia from the API Colombia. This function fetches only selected fields: id, name, scientificName, commonNames, impact, manage, and riskLevel.

Usage

get_colombia_invasive_species()

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.

Value

A tibble with the following columns:

  • id: Species identifier (integer)

  • name: Species common name (character)

  • scientificName: Scientific name of the species (character)

  • commonNames: List of common names (list)

  • impact: Description of ecological impact (character)

  • manage: Management recommendations (character)

  • riskLevel: Risk level classification (character)

Returns NULL if the API request fails.

Note

Requires internet connection.

Source

API Colombia: https://api-colombia.com/api/v1/InvasiveSpecie

See Also

GET, fromJSON, tibble

Examples

if (interactive()) {
  get_colombia_invasive_species()
}


ColombiAPI documentation built on May 6, 2026, 9:07 a.m.