get_tracks.Rd
get_tracks()
extracts periods of mobile activity or tracks identified by
circleclust()
get_tracks(df, nested = TRUE, geometry = TRUE, summary = TRUE, dt_field = NULL)
a data frame created by circleclust()
containing cluster group (cluster_grp
)
logical; if TRUE, metadata for each track is nested in a list
column (t_data
)
logical; if TRUE, an sf
tibble with a corresponding geometry
column is returned. Tracks are converted into a LINESTRING
, which connect the
beginning and ending coordinate of each track.
logical; if TRUE, the returned data frame is appended with summary values for duration, start time, and end time for each track. The dominant bearing of each track is also calculated.
character; name of datetime field used to calculate summary information.
a data frame or sf
object
if (FALSE) {
get_tracks(df, nested = TRUE, geometry = TRUE, summary = TRUE, dt_field = NULL)
}