Calculating Spatial Risk

Methods for spatial risk calculations. It offers an efficient approach to determine the sum of all observations within a circle of a certain radius. This might be beneficial for insurers who are required (by a recent European Commission regulation) to determine the maximum value of insured fire risk policies of all buildings that are partly or fully located within a circle of a radius of 200m.


spatialrisk 0.6.1

  • Several message functions are added when points are not within polygons.

spatialrisk 0.6.0

  • A function to join coordinates (in terms of longitude and latitude) to the polygon level is added. This is useful to shade the areas with the highest risks on a choropleth map.
  • Several maps are added to the data folder.

spatialrisk 0.5.1

  • Equation for testing if a point is inside a circle is extended with testing whether point is inside a square diamond inside the square.

spatialrisk 0.3.1

  • Added a file to track changes to the package.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.6.7 by Martin Haringa, 5 months ago,

Browse source code at

Authors: Martin Haringa [aut, cre]

Documentation:   PDF Manual  

GPL (>= 2) license

Imports automap, classInt, dplyr, fs, ggplot2, gstat, lubridate, methods, mgcv, Rcpp, RcppProgress, sf, sp, tmap, viridis, vroom

Suggests knitr, rmarkdown, testthat

Linking to Rcpp, RcppProgress

See at CRAN