Package: spatialrisk 0.8.4.9000

spatialrisk: Spatial Concentration and Radius-Based Risk Calculations

Provides computational building blocks for fixed-radius spatial aggregation, weighted circle-placement problems, hotspot detection, and polygon-based spatial summaries. 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 fixed-radius circle placement problem is discussed by Chazelle and Lee (1986) <doi:10.1007/BF02238188>, and related maximum covering problems are described by Church (1974) <doi:10.1007/BF01942293>.

Authors:Martin Haringa [aut, cre]

spatialrisk_0.8.4.9000.tar.gz
spatialrisk_0.8.4.9000.zip(r-4.7-x86_64)spatialrisk_0.8.4.9000.zip(r-4.7-arm64)spatialrisk_0.8.4.9000.zip(r-4.6-x86_64)spatialrisk_0.8.4.9000.zip(r-4.6-arm64)spatialrisk_0.8.4.9000.zip(r-4.5-x86_64)
spatialrisk_0.8.4.9000.tgz(r-4.6-x86_64)spatialrisk_0.8.4.9000.tgz(r-4.6-arm64)spatialrisk_0.8.4.9000.tgz(r-4.5-x86_64)spatialrisk_0.8.4.9000.tgz(r-4.5-arm64)
spatialrisk_0.8.4.9000.tar.gz(r-4.7-arm64)spatialrisk_0.8.4.9000.tar.gz(r-4.7-x86_64)spatialrisk_0.8.4.9000.tar.gz(r-4.6-arm64)spatialrisk_0.8.4.9000.tar.gz(r-4.6-x86_64)
spatialrisk_0.8.4.9000.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.82 score 21 stars 39 scripts 700 downloads 21 exports 30 dependencies

Last updated from:94b6ccd25e. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK268
linux-devel-x86_64OK299
source / vignettesOK330
linux-release-arm64OK288
linux-release-x86_64OK305
macos-release-arm64OK259
macos-release-x86_64OK415
macos-oldrel-arm64OK260
macos-oldrel-x86_64OK1118
windows-devel-arm64OK429
windows-devel-x86_64OK337
windows-release-arm64OK439
windows-release-x86_64OK202
windows-oldrel-x86_64OK282
wasm-releaseOK149

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.tableDBIdplyre1071fsgenericsglueKernSmoothlifecyclemagrittrpillarpkgconfigproxyR6RcppRcppProgressrlangs2sfterratibbletidyselectunitsutf8vctrswithrwk

Visualising spatial exposure
Introduction | From point exposures to reporting areas | Aggregate exposure by polygon | Create a choropleth | Interpreting the map | Relation to fixed-radius concentration | Summary

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

Fixed-radius concentration analysis
Motivation | Example portfolio | Quick example: find the largest concentration | Understanding the result | Inspecting contributing locations | Calculating sums at specified locations | Continuous vs observed centres | Multiple hotspots | How the search works | Polygon reporting | Practical considerations | Mathematical background | Reference

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