get_bins {geeLite} | R Documentation |
Get H3 Bins for Shapes
Description
Generates H3 bins for the provided shapes at the specified resolution.
Usage
get_bins(shapes, resol)
Arguments
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. |
Value
A data frame containing the H3 bins with columns for region ISO 3166 codes, bin IDs, and geometry.
[Package geeLite version 1.0.2 Index]