Returns the child cells of a single cell. By default returns the 4 immediate children (one resolution finer). Optionally target a specific finer resolution.
Arguments
- cell
A single a5_cell value.
- resolution
Integer scalar target child resolution, or
NULLfor immediate children.
Value
An a5_cell vector of child cells.
Examples
cell <- a5_lonlat_to_cell(-3.19, 55.95, resolution = 5)
a5_cell_to_children(cell)
#> <a5_cell[4]>
#> [1] 633c800000000000 633d800000000000 633e800000000000 633f800000000000