Learn R Programming

spatialrisk (version 0.7.1)

Calculating Spatial Risk

Description

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. See Church (1974) for a description of the problem.

Copy Link

Version

Install

install.packages('spatialrisk')

Monthly Downloads

388

Version

0.7.1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Martin Haringa

Last Published

February 21st, 2024

Functions in spatialrisk (0.7.1)

points_in_circle

Points in circle
reexports

Objects exported from other packages
points_to_polygon

Aggregate attributes of coordinates to area level
nl_postcode4

Object of class sf for 4-digit postcode regions in the Netherlands
plot.concentration

Automatically create a plot for objects obtained from highest_concentration()
plot.neighborhood

Automatically create a plot for objects obtained from neighborhood_gh_search()
plot_points

Create map with points
nl_postcode3

Object of class sf for 3-digit postcode regions in the Netherlands
nl_provincie

Object of class sf for provinces in the Netherlands
haversine

Haversine great circle distance
add_gh_bbox_sum

Determine total sum for each geohash with buffer of 200m
highest_concentration

Highest concentration risk
interpolate_krige

Ordinary kriging
concentration

Concentration risk
choropleth_ggplot2

Map object of class sf using ggplot2
choropleth

Create choropleth map
neighborhood_gh_search

Search for coordinates with higher concentrations within geohash
interpolate_spline

Splines on the sphere
knmi_historic_data

Retrieve historic weather data for the Netherlands
insurance

Sum insured per postal code in the Netherlands
Groningen

Coordinates of houses in Groningen
nl_gemeente

Object of class sf for municipalities in the Netherlands
knmi_stations

KNMI stations
add_gh_nghbrs_sum

Determine total insured sum of all neighbours (including hash itself) df should contain a column called hash and a column with sum per hash
lower_bound_fn

Determine a lower bound for highest concentration Calculate concentration for the coordinates of the highest insured sums
nl_postcode2

Object of class sf for 2-digit postcode regions in the Netherlands
nl_corop

Object of class sf for COROP regions in the Netherlands