Package: spatialrisk 0.8.1

spatialrisk: Spatial Concentration and Radius-Based Risk Calculations

Provides methods for spatial concentration and radius-based risk calculations. The package focuses on efficient determination of the sum of observations within a given radius, identifying areas of high local concentration, and aggregating point data to polygon geometries. These methods are useful for applications such as insurance, urban analytics, environmental exposure analysis, and other spatial point pattern workflows. The underlying maximum covering problem is described by Church (1974) <doi:10.1007/BF01942293>.

Authors:Martin Haringa [aut, cre]

spatialrisk_0.8.1.tar.gz
spatialrisk_0.8.1.zip(r-4.7)spatialrisk_0.8.1.zip(r-4.6)spatialrisk_0.8.1.zip(r-4.5)
spatialrisk_0.8.1.tgz(r-4.6-x86_64)spatialrisk_0.8.1.tgz(r-4.6-arm64)spatialrisk_0.8.1.tgz(r-4.5-x86_64)spatialrisk_0.8.1.tgz(r-4.5-arm64)
spatialrisk_0.8.1.tar.gz(r-4.7-arm64)spatialrisk_0.8.1.tar.gz(r-4.7-x86_64)spatialrisk_0.8.1.tar.gz(r-4.6-arm64)spatialrisk_0.8.1.tar.gz(r-4.6-x86_64)
spatialrisk_0.8.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
spatialrisk/json (API)

# Install 'spatialrisk' in R:
install.packages('spatialrisk', repos = c('https://mharinga.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mharinga/spatialrisk/issues

Pkgdown/docs site:https://mharinga.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

actuarial-scienceinsurancesolvency-iispatialcpp

6.72 score 21 stars 63 scripts 654 downloads 21 exports 31 dependencies

Last updated from:9b2281a76b. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK315
linux-devel-x86_64OK297
source / vignettesOK368
linux-release-arm64OK309
linux-release-x86_64OK288
macos-release-arm64OK190
macos-release-x86_64OK358
macos-oldrel-arm64OK197
macos-oldrel-x86_64OK422
windows-develOK273
windows-releaseOK320
windows-oldrelOK287
wasm-releaseOK179

Exports:choroplethchoropleth_ggplot2concentrationconcentration_hotspotconvert_crs_dffind_highest_concentrationhaversinehighest_concentrationinterpolate_splineknmi_historic_datamap_pointsneighborhood_gh_searchoptimize_hotspotplot_pointspoints_in_circlepoints_to_polygonpoints_within_radiusprepare_spatialriskradius_sumselect_candidatessummarise_points_by_polygon

Dependencies:classclassIntclidata.tableDBIdplyre1071fsgenericsglueKernSmoothlifecyclemagrittrMASSpillarpkgconfigproxyR6RcppRcppProgressrlangs2sfterratibbletidyselectunitsutf8vctrswithrwk

Fixed-radius concentration analysis
Motivation | Example portfolio | Inspect observations within a radius | Calculate fixed-radius sums around target locations | Identify a concentration hotspot | Reporting by polygon | Practical considerations | Relation to circle placement problems

Last update: 2026-06-16
Started: 2026-05-04

Choropleth visualisation
Introduction | Data | Join values to geometries | Choropleth map | Relation to concentration analysis | Summary

Last update: 2026-05-04
Started: 2026-05-04