% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lookup.R
\name{island_lookup}
\alias{island_lookup}
\title{Look up rows in the islands reference list}
\usage{
island_lookup(x, fields = NULL)
}
\arguments{
\item{x}{A character vector of ISO codes or country names.}

\item{fields}{Optional character vector of column names to return. If
\code{NULL} (default) all columns of \code{islands} are returned.}
}
\value{
A data frame with one row per element of \code{x}. Rows that
  could not be resolved are filled with \code{NA}.
}
\description{
Returns the matching rows of \code{\link{islands}} for a vector of
country names or ISO codes. Useful when you want more than a single
classification and want to keep the original input order, including
\code{NA} rows for unresolved inputs.
}
\examples{
island_lookup(c("Aruba", "Bonaire", "Brazil"))
island_lookup(c("AW", "BQ-BO"), fields = c("name", "is_sids", "is_snij"))

}
