Skip to contents

Travel Time

Functions to calculate travel time maps using geospatial data.

friction()
Download and downscale a friction surface layer
traveltime()
Generate a travel time map

Maximal Coverage Location-Allocation (MCLA)

Functions to solve Maximal Coverage Location-Allocation problems using geospatial data.

allocation()
Compute the maximal coverage location-allocation for continuous problems
allocation_discrete()
Compute the maximal coverage location-allocation for discrete problems

Statistics

Functions to compute statistics from location-allocation model results.

traveltime_stats()
Summarize results of the traveltime() function

Plots

Functions to visualize results from location-allocation models.

allocation_plot()
Plot results of the allocation() and allocation_discrete() functions
traveltime_plot()
Plot results of the traveltime() function

Data

Datasets included in the package for examples and testing.

naples_shape
Administrative boundary of the city of Naples, Italy
naples_fountains
Water fountains in the city of Naples, Italy
naples_population
Population density in the city of Naples, Italy
naples_hot_days
Hot days in the city of Naples, Italy

Utilities

Utility functions to help with data manipulation.

mask_raster_to_polygon()
Mask a RasterLayer object to a sf object