cellToChildren | R Documentation |
Returns all the H3 indexes contained by the input cell
at the defined
child resolution
cellToChildren(cell, childRes)
cell |
vector of H3 cells |
childRes |
integer vector specifying the child resolution for each
|
a named list, where each element is the input cell
, and the values
of each element are the child H3 cells
cell <- "8cbe63562a54bff"
currentResolution <- getResolution(cell = cell)
cellToChildren(cell, childRes = currentResolution + 1L)
cellToChildren(cell, childRes = currentResolution + 2L)
res0 <- getRes0Cells()
cellToChildren(res0[1], 1L)
cellToChildren(res0[1], 2L)
cellToChildren(res0[1:5], 1L:5L)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.