highest_concentration()
now uses focal calculations instead of geohashes to calculate the sum per cellplot_points()
now usesmapview::mapview()
to plot the map
plot_points()
now returns a warning when a specific provider tile is not available
neighborhood_gh_search()
now returns a more precise outcome when the radius of the circle is not equal to 200msf::st_crs()
is used forsf
objects to not show the message that old crs is detected anymore
highest_concentration()
now returns correct highest concentration when the circle of the highest concentration overlaps more than one geohashplot.concentration()
now handles many lon/lat pairs better
highest_concentration()
is added to do a fast search for the coordinates of the highest concentrationneighborhood_gh_search()
is added to look for even higher concentrations in the neighborhood of the coordinates found byhighest_concentration()
- A package website is added using pkgdown.
concentration()
andpoints_in_circle()
now return error messages when the data does not contain columns forlon
andlat
.concentration()
andpoints_in_circle()
have updated documentation.haversine()
now returns NA when coordinates are missing.
points_to_polygon()
is updated to keep spatialrisk and a new version of dplyr working together smoothly.
knmi_historic_data()
andknmi_stations()
are added to retrieve data from weather stations in the Netherlands.
interpolate_krige()
andinterpolate_spline()
are added for interpolation and smoothing on the sphere.
- Data sets
nl_corop()
,nl_gemeente()
,nl_postcode1()
,nl_postcode2()
,nl_postcode3()
,nl_postcode4()
, andnl_provincie()
now contain columnslongitude
andlatitude
for the centroid of the polygons.
- Non UTF-8 character removed from column
areaname
in data setnl_gemeente()
. - In
choropleth()
,n
specifies the number of clusters in a map. - In data sets
nl_corop()
,nl_gemeente()
,nl_postcode1()
,nl_postcode2()
,nl_postcode3()
,nl_postcode4()
, andnl_provincie
, columnareaname
now refers to the region.
- In
points_to_polygon()
,outside_print
shows the points that are not within any polygon.
points_to_polygon()
is added.- Data sets
europe_countries()
andworld_countries()
are added.
- In
concentration()
the algorithm for testing if a point is inside a circle is updated by testing whether the point is inside a square diamond inside the square.
NEWS.md
is added to track changes to the package.