Movement defined broadly plays a central role in fields as diverse as transportation, sport, ecology, music, medicine, and data science. Miniaturized tracking devices have become nearly ubiquitous, and resulted in an ever-increasing volume of localization data called tracking data, in the form of geographic (x,y,z) and temporal coordinates (t). In parallel, the use of R for movement studies has also increased sharply, representing more than 70% of studies in Movement Ecology, using as many as 58 R packages (reviewed in 2018). However, the landscape in R is also very fragmented, and many packages work in isolation, not being linked to any other tracking package. This is partly due to a lack of a standard and flexible infrastructure to deal with trajectories in R, compatible with simple and commonly used spatial objects like ‘sf’, the new standard for spatial data in R.
We introduce ‘sftrack’, a central package offering generic classes for movement data in R. The sole goal for the development of this package is to solve handling of tracking data in R, and in turn free up users and developers energy to focus more on analysis and functionality and less on overlapping classes and fundamental functions. ‘sftrack’ relies on a solid conceptual model for movement, which acknowledges the dual nature of tracking data (points) and trajectories (steps), and implements it in a natural way. Based on ‘sf’, ‘sftrack’ provides classes and basic functions to build, handle, summarize and plot movement data, and to support all stages of movement studies.
Watch the full video (with audio stream) below, or browse the slides directly (without audio).
Reference: Boone M., Joo R. & Basille M. (2020) Introducing sftrack: A framework for movement data in R. 104th Ecological Society of America Annual Meeting 2020, Virtual meeting.