osm_summarise | R Documentation |
Generally you will do this after querying the OSM features, binding the results, intersecting with an irregular polygon (e.g. a burnscar).
osm_summarise(osm_sf, ..., .f, units = NULL)
osm_sf |
( |
... |
(unquoted character; optional) columns to group by |
.f |
(character) summary function. At the moment only "length", "area" or "count". Assumes the underlying data are additive. |
units |
(character, default = NULL) units to summarise to, usually "km" or "km^2. If left blank it will use some variant of meters. |
Requires the geometry column to be called geometry (and not geos or some-such).
a simple tibble with the grouped columns and an additional summary column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.