Skip to contents

sftime provides time extension for simple features in R. sftime is an extension to the sf package. It allows to store spatial features which are accompanied by time information, similar to the stars package.

sftime is a complement to the stars package: Whereas stars is dedicated to handle regular spatiotemporal data, where space and time represent array dimensions of data cubes, sftime provides a generic data format which can also handle irregular spatiotemporal data.

Examples for such data include earthquakes, accidents, disease or death cases, lightning strikes, but also movement data which have further constraints.


You can install the CRAN version of the package with:

You can install the development version of sftime from GitHub with:



  • Contributions of all sorts are most welcome, issues and pull requests are the preferred ways of sharing them.
  • Please note that the sftime project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.


This project gratefully acknowledges financial support from the