% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sdg.R
\name{sdg_targets}
\alias{sdg_targets}
\title{List SDG Targets}
\usage{
sdg_targets(include_children = FALSE)
}
\arguments{
\item{include_children}{Logical. Include indicators nested under
each target? Default \code{FALSE}.}
}
\value{
A list (or \link[tibble:tibble]{tibble}) of SDG targets, or
\code{NULL} when the service is unreachable.
}
\description{
Fetches the list of SDG targets from the UN SDG API.
}
\examples{
\donttest{
sdg_targets()
}
}
\seealso{
\code{\link[=sdg_goals]{sdg_goals()}}, \code{\link[=sdg_indicators]{sdg_indicators()}}.
}
