spatialrisk: Calculating Spatial Risk

Provides methods for spatial risk calculations, focusing on efficient determination of the sum of observations within a circle of a given radius. These methods are particularly relevant for applications such as insurance, where recent European Commission regulations require the calculation of the maximum insured value of fire risk policies for all buildings that are partly or fully located within a 200 m radius. The underlying problem is described by Church (1974) <doi:10.1007/BF01942293>.

Version: 0.7.3
Depends: R (≥ 4.1.0)
Imports: classInt, data.table, dplyr, fs, ggplot2, lifecycle, mapview, Rcpp, RcppProgress, rlang, sf, terra, tmap, units, viridis
LinkingTo: Rcpp, RcppProgress
Suggests: colourvalues, GenSA, geohashTools, knitr, leafem, leafgl, leaflet, mgcv, rmarkdown, testthat, vroom
Published: 2025-09-14
Author: Martin Haringa [aut, cre]
Maintainer: Martin Haringa <mtharinga at gmail.com>
BugReports: https://github.com/mharinga/spatialrisk/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/mharinga/spatialrisk, https://mharinga.github.io/spatialrisk/
NeedsCompilation: yes
Materials: NEWS
CRAN checks: spatialrisk results

Documentation:

Reference manual: spatialrisk.html , spatialrisk.pdf

Downloads:

Package source: spatialrisk_0.7.3.tar.gz
Windows binaries: r-devel: spatialrisk_0.7.2.zip, r-release: spatialrisk_0.7.2.zip, r-oldrel: spatialrisk_0.7.2.zip
macOS binaries: r-release (arm64): spatialrisk_0.7.2.tgz, r-oldrel (arm64): spatialrisk_0.7.2.tgz, r-release (x86_64): spatialrisk_0.7.3.tgz, r-oldrel (x86_64): spatialrisk_0.7.3.tgz
Old sources: spatialrisk archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=spatialrisk to link to this page.