Skip to contents

Convert an H3 cell (64-bit hexidecimal string) into a "split long" - a pair of 32-bit integers.

Usage

cell_to_splitlong(h3_address, simple = TRUE)

Arguments

h3_address

Character; 15-character index generated by H3.

simple

Logical; whether to return a vector or a data frame containing both inputs and outputs.

Value

list of integer pairs, one for each address supplied.

Examples

cell_to_splitlong(h3_address = '8abe8d12acaffff')
#> [[1]]
#> [1] 717946879 145483985
#>