is_valid_edge: Check H3 unidirectional edge index

View source: R/unidirectional_edges.R

is_valid_edgeR Documentation

Check H3 unidirectional edge index

Description

This function checks whether an H3 unidirectional edge index is valid.

Usage

is_valid_edge(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, a logical vector of length(h3_edge).

Examples

# is the following unidirectional edge index valid?
is_valid_edge(h3_edge = '166be8d12fffffff')


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