% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_colombia_native_communities.R
\name{get_colombia_native_communities}
\alias{get_colombia_native_communities}
\title{Get Native Communities of Colombia}
\source{
API Colombia: \url{https://api-colombia.com/api/v1/NativeCommunity}
}
\usage{
get_colombia_native_communities()
}
\value{
A tibble with the following columns:
\itemize{
  \item \code{id}: Community identifier (integer)
  \item \code{name}: Community name (character)
  \item \code{description}: Community description (character)
  \item \code{languages}: Languages spoken by the community (list)
}
Returns \code{NULL} if the API request fails.
}
\description{
Retrieves information about Colombia's native communities from the API Colombia.
This function fetches only selected fields: id, name, description, and languages.
}
\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 \code{NULL} with an informative message.
}
\note{
Requires internet connection.
}
\examples{
if (interactive()) {
  get_colombia_native_communities()
}

}
\seealso{
\code{\link[httr]{GET}}, \code{\link[jsonlite]{fromJSON}}, \code{\link[tibble]{tibble}}
}
