View source: R/get_colombia_native_communities.R
| get_colombia_native_communities | R Documentation |
Retrieves information about Colombia's native communities from the API Colombia. This function fetches only selected fields: id, name, description, and languages.
get_colombia_native_communities()
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.
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.
Requires internet connection.
API Colombia: https://api-colombia.com/api/v1/NativeCommunity
GET, fromJSON, tibble
if (interactive()) {
get_colombia_native_communities()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.