to_cells.RdGiven a vector of sf geometries (class sfc) create a list of H3 vectors.
Each list element contains the vector of H3 cells that cover the geometry.
to_cells(x, resolution)for h3_from_points() an object of class sfc_POINT. For h3_from_strings() a character vector of H3 index IDs. For h3_from_xy() a numeric vector of longitudes.
an integer indicating the H3 cell resolution. Must be between 0 and 15 inclusive.
Note, use flatten_h3() to reduce the list to a single vector.