get_bins | R Documentation |
Generates H3 bins for the provided shapes at the specified resolution.
get_bins(shapes, resol)
shapes |
[mandatory] (sf) A simple features object containing geometries used for generating H3 bins. |
resol |
[mandatory] (integer) An integer specifying the resolution of the H3 grid. |
A data frame containing the H3 bins with columns for region ISO 3166 codes, bin IDs, and geometry.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.