Get all hexagons in a k-ring around a given center ordered by distance from the origin.

k_ring_distances(h3_index, radius = 1)

Arguments

h3_index

character vector of H3 indexes

radius

number of rings around the given center

Value

tibble with 2 variables: h3_index and distance

Note

The order of the hexagons within each ring is undefined.