Skip to contents

Get all directed edge indexes for a given H3 cell index.

Usage

get_udedges(h3_address = NULL, simple = TRUE)

Arguments

h3_address

Character; 15-character index generated by H3.

simple

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

Value

By default, list of length(h3_address). Each list contains a character vector of H3 edge indexes.

Examples

# Get all the edge indexes for this cell
get_udedges(h3_address = '86be8d12fffffff')
#> [[1]]
#> [1] "116be8d12fffffff" "126be8d12fffffff" "136be8d12fffffff" "146be8d12fffffff"
#> [5] "156be8d12fffffff" "166be8d12fffffff"
#>