Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_res0

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')

h3jsr

Access Uber's H3 Library

v1.2.2
Apache License (>= 2)
Authors
Lauren O'Brien [aut, cre] (<https://orcid.org/0000-0002-7336-2171>)
Initial release
2021-06-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.