powered by
Get the number of children for a cell at a given resolution.
cell_to_children_size(h3_address = NULL, child_res = NULL, simple = TRUE)
numeric; number of children at the requested resolution
Character; 15-character index generated by H3.
numeric; child resolution to report on.
Logical; whether to return a vector or a data frame containing both inputs and outputs.
# example address has resolution 7: cell_to_children_size('872830b82ffffff', c(8,9,10,11), simple = FALSE)
Run the code above in your browser using DataLab