% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fetch.R
\name{get_lineage}
\alias{get_lineage}
\title{Retrieve the full taxonomic lineage of a taxon by name}
\usage{
get_lineage(taxon, clean = TRUE, verbose = FALSE)
}
\arguments{
\item{taxon}{A character string giving the taxon name.}

\item{clean}{Logical. If \code{TRUE} (default), removes philosophical root nodes
and cleans formatting markers.}

\item{verbose}{Logical. If \code{TRUE}, prints progress messages. Default \code{FALSE}.}
}
\value{
A character vector of clade names ordered from root to tip, or
\code{NULL} if the taxon cannot be found.
}
\description{
A convenience wrapper that combines \code{\link[=get_taxonomicon_id]{get_taxonomicon_id()}} and
\code{\link[=get_lineage_by_id]{get_lineage_by_id()}} into a single call. Given a taxon name, returns
its complete lineage from root to tip.
}
\examples{
\donttest{
get_lineage("Tyrannosaurus")
get_lineage("Homo sapiens")
get_lineage("Quercus robur")
}
}
