This vignette shows how polygon data included in
spatialrisk can be used to display aggregated values. The
emphasis is on reporting and visualisation after a spatial aggregation
step.
Choropleth maps are useful for showing variation across administrative areas. They should not be interpreted as a substitute for fixed-radius concentration analysis on point-level data.
The object nl_gemeente contains municipal geometries for
the Netherlands as a simple feature object. For illustration, we create
a small table with one value per municipality. In applied work, this
table would typically contain observed or modelled values aggregated at
municipality level.
The values are joined back to the municipal geometries before plotting.
The choropleth() function uses tmap. The
id argument identifies the column used for polygon labels
in interactive maps.
A choropleth map represents values attached to predefined polygons. Fixed-radius concentration analysis answers a different question: what is the total value within a circle of a specified radius around a possible centre?
In insurance applications, both views can be useful. The fixed-radius calculation identifies local accumulation of exposure, while the choropleth map can be used to communicate summaries by municipality, province, or another reporting unit.
This vignette demonstrated how to: