powered by
Get the position of the cell within an ordered list of all children of the cell's parent at the specified resolution.
cell_to_childpos(h3_address = NULL, parent_res = NULL, simple = TRUE)
Numeric, Position of child within parent at `parent_res`.
Character; 15-character index generated by H3.
numeric; resolution of reference parent cell.
Logical; whether to return a vector or a data frame containing both inputs and outputs.
# example address has resolution 7 cell_to_childpos('872830b82ffffff', c(3,4,5,6), simple = FALSE)
Run the code above in your browser using DataLab