Skip to contents

Fixed-radius aggregation

Core functions for selecting points and computing aggregated values within a fixed radius.

points_in_circle() points_within_radius()
Find points within radius around one or more center coordinates
concentration() radius_sum()
Sum values within a radius around target coordinates
haversine()
Haversine great-circle distance

Concentration and hotspot detection

Functions for identifying locations with high spatial concentration.

concentration_hotspot()
Identify fixed-radius concentration hotspots
plot(<hotspot>)
Plot concentration hotspot results

Visualisation

Functions for visualising spatial point data and aggregated spatial values.

plot_points() map_points()
Create interactive point map
choropleth()
Create choropleth map
points_to_polygon() summarise_points_by_polygon()
Summarise point values by polygon

Spatial data objects

Simple feature objects included with the package.

nl_gemeente
Municipalities in the Netherlands
nl_provincie
Provinces in the Netherlands
nl_corop
COROP regions in the Netherlands
nl_postcode2
Two-digit postcode regions in the Netherlands
nl_postcode3
Three-digit postcode regions in the Netherlands
nl_postcode4
Four-digit postcode regions in the Netherlands

Example data

Example datasets used in documentation and examples.

Groningen
Example addresses in Groningen
insurance
Example insurance portfolio

Weather data

knmi_historic_data()
Retrieve historic weather data for the Netherlands
knmi_stations
KNMI weather stations

Utilities

convert_crs_df()
Convert Coordinate Reference System (CRS)

Deprecated

concentration() radius_sum()
Sum values within a radius around target coordinates
find_highest_concentration()
Deprecated aliases
highest_concentration()
Highest concentration risk
neighborhood_gh_search()
Search for coordinates with higher concentrations within geohash
plot_points() map_points()
Create interactive point map
points_to_polygon() summarise_points_by_polygon()
Summarise point values by polygon
choropleth_ggplot2()
Choropleth map of an sf object with ggplot2
interpolate_spline()
Interpolate values using spherical splines
plot(<conc>)
Automatically create a plot for objects obtained from highest_concentration()
plot(<neighborhood>)
Automatically create a plot for objects obtained from neighborhood_gh_search()