| childpos_to_cell | R Documentation | 
Get the child cell at a given position within an ordered list of all children at the specified resolution.
childpos_to_cell(
  child_pos = NULL,
  h3_address = NULL,
  child_res = NULL,
  simple = TRUE
)
child_pos | 
 numeric; position of the child cell to get.  | 
h3_address | 
 Character; 15-character index generated by H3.  | 
child_res | 
 numeric; resolution of the child cell to return.  | 
simple | 
 Logical; whether to return a vector or a data frame containing both inputs and outputs.  | 
Character, H3 address of child
'child_pos' is 0-indexed and capped at the maximum number of hexagons within the parent cell at the supplied resolution. This figure can be determined using cell_to_children_size.
# example address has resolution 7:
childpos_to_cell(0, '872830b82ffffff', 9, simple = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.