Understanding and mapping the time to travel among locations is useful for many activities from urban planning to public health and myriad others. Here we present a software package - traveltime - written in and for the language R. traveltime enables a user to create a raster map of the travel time over an area of interest from a user-specified set of locations defined by geographic coordinates. The result is a raster of the area of interest where the value in each cell is the lowest travel time in minutes to the nearest of the supplied locations. We envisage this software having diverse applications including: estimating sampling bias, allocating defibrillators, setting health districts, or mapping access to vehicle chargers and agricultural facilities. The work-flow requires two key steps: preparing a friction surface for the area of interest, and then calculating travel time over that surface for the points of interest. traveltime is available from R-Universe and GitHub, and documented at https://idem-lab.github.io/traveltime/.
Keywords: R; geographic information systems; spatial analysis.
Copyright: © 2025 Ryan GE et al.