get_res0: Get resolution 0 indexes

View source: R/core_api.R

get_res0R Documentation

Get resolution 0 indexes

Description

Get all H3 cell indexes at resolution 0.

Usage

get_res0()

Value

length 122 character vector of top-level H3 cell indices.

Note

As every index at every resolution > 0 is the descendant of a res 0 index, this can be used with get_children to iterate over H3 indexes at any resolution.

Examples

res0 <- get_res0()
cell_area(res0[1], 'km2')

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