Learn R Programming

h3jsr (version 1.3.1)

get_udends: Get origin and destination indexes of directed edge

Description

Get H3 cell indexes representing the origin and destination of a directed edge index.

Usage

get_udends(h3_edge = NULL, simple = TRUE)

Value

By default, character matrix of h3 cell indexes.

Arguments

h3_edge

Character; address of unidirectional edge.

simple

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

Examples

Run this code
# Get the origin and destination of this directed edge
get_udends(h3_edge = '166be8d12fffffff')

Run the code above in your browser using DataLab