get_udends: Get origin and destination indexes of directed edge

View source: R/unidirectional_edges.R

get_udendsR Documentation

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)

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.

Value

By default, character matrix of h3 cell indexes.

Examples

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


obrl-soil/h3jsr documentation built on Jan. 27, 2024, 4:33 a.m.