get_colombia_native_communities: Get Native Communities of Colombia

View source: R/get_colombia_native_communities.R

get_colombia_native_communitiesR Documentation

Get Native Communities of Colombia

Description

Retrieves information about Colombia's native communities from the API Colombia. This function fetches only selected fields: id, name, description, and languages.

Usage

get_colombia_native_communities()

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: Community identifier (integer)

  • name: Community name (character)

  • description: Community description (character)

  • languages: Languages spoken by the community (list)

Returns NULL if the API request fails.

Note

Requires internet connection.

Source

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

See Also

GET, fromJSON, tibble

Examples

if (interactive()) {
  get_colombia_native_communities()
}


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