% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hex_compact.R
\name{hex_uncompact}
\alias{hex_uncompact}
\title{Uncompact Hex Cells}
\usage{
hex_uncompact(cell_ids, grid, target_resolution)
}
\arguments{
\item{cell_ids}{Character vector of (possibly mixed-resolution) cell IDs.}

\item{grid}{A HexGridInfo object specifying the grid.}

\item{target_resolution}{Integer. The resolution to expand all cells to.}
}
\value{
A character vector of cell IDs, all at \code{target_resolution}.
}
\description{
Expands compacted cells to a target resolution. All cells in the output
share the same resolution.
}
\details{
\strong{H3 backend:} Uses the vendored H3 \code{uncompactCells} function.

\strong{ISEA backend (aperture 7, Z7 index):} Appends digits 0-6 to expand
each cell to its 7 children, repeating until the target resolution is
reached.
}
\examples{
\donttest{
g <- hex_grid(resolution = 3, type = "h3")
parent <- "832830fffffffff"
hex_uncompact(parent, g, target_resolution = 4L)
}
}
\seealso{
\code{\link[=hex_compact]{hex_compact()}} for the inverse operation
}
