Skip to contents

Returns a tibble with one row per species, aggregated across the supplied cell set with pct_covered weighting. Column shape matches the inline query in the mapgl app's drawn-polygon path.

Usage

species_for_cells(con, cells)

Arguments

con

a DBI connection (e.g. from sdm_db_con())

cells

a tibble from cells_in_polygon()

Value

tibble