get_udorigin {h3jsr} | R Documentation |
Get origin cell index from directed edge
Description
Get an H3 cell index representing the origin of a directed edge.
Usage
get_udorigin(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 vector of H3 indexes.
Examples
# Get the origin cell of this directed edge
get_udorigin(h3_edge = '166be8d12fffffff')
[Package h3jsr version 1.3.1 Index]