CRAN Task View: Handling and Analyzing Spatio-Temporal Data

Maintainer:Edzer Pebesma, Roger Bivand
Contact:edzer.pebesma at
Contributions:Suggestions and improvements for this task view are very welcome and can be made through issues or pull requests on GitHub or via e-mail to the maintainer address. For further details see the Contributing guide.
Citation:Edzer Pebesma, Roger Bivand (2022). CRAN Task View: Handling and Analyzing Spatio-Temporal Data. Version 2022-10-01. URL
Installation:The packages from this task view can be installed automatically using the ctv package. For example, ctv::install.views("SpatioTemporal", coreOnly = TRUE) installs all the core packages or ctv::update.views("SpatioTemporal") installs all packages that are not yet installed and up-to-date. See the CRAN Task View Initiative for more details.

This task view aims at presenting R packages that are useful for the analysis of spatio-temporal data.

If something is inaccurate or missing, please send an e-mail to the maintainer or submit an issue or pull request in the GitHub repository linked above.

The following people contributed to this task view: Roger Bivand, Achim Zeileis, Michael Sumner, Ping Yang.

Although one could argue that all data are spatio-temporal, as they must have been taken somewhere and at some point in time, in many cases the spatial locations or times of observation are not registered, and irrelevant to the purpose of the study. Here, we will address the cases where both location and time of observation are registered, and relevant for the analysis of the data. The Spatial and TimeSeries task views shed light on spatial, and temporal data handling and analysis, individually.

Representing data

Analyzing data


Data sets

Retrieving data

Packages for retrieving data are:

CRAN packages

Core:adehabitatLT, gstat, raster, sp, spacetime, stars, surveillance, terra, trip, xts.
Regular:anipaths, bcpa, bsam, CARBayesST, caribou, crawl, cshapes, ctmcmove, ctmm, cubble, EMbC, eyelinker, gapfill, googleVis, IDE, lme4, marcher, mdftracks, mlr3spatiotempcv, momentuHMM, mousetrap, move, movecost, moveHMM, moveWindSpeed, mvtsplot, ncdf4, nlme, oce, openair, pastecs, plm, rasterVis, rerddapXtracto, rgl, riverdist, rmatio, RNetCDF, rstac, sdmTMB, sf, sftime, SimilarityMeasures, SiMRiv, smam, solaR, spatstat, spBayes, sphet, splancs, splm, spTimer, stampr, trackdem, trackdf, trackeR, trackeRapp, TrackReconstruction, trajectories, trajr, tripEstimation, wildlifeDI.

Related links

Other resources