| get_places | R Documentation | 
get_places() analyzes periods of stationary activity within a cluster
and transforms the coordinates into a single location or 'place'. The input data frame may include
spatiotemporal cluster groupings generated by the circleclust() function or
spatially joined clusters (i.e. merge_clusters()). get_places() also summarizes the
duration of time (hours) spent as well as the first and last timestamp recorded at each location.
get_places(
  df,
  cluster_col = "sp_temporal_cluster",
  nested = TRUE,
  geometry = TRUE,
  summary = FALSE,
  dt_field = NULL
)
df | 
 a data frame with spatiotemporal or merged cluster groupings.  | 
cluster_col | 
 character; name of column indicating cluster group (  | 
nested | 
 logical; if TRUE, metadata for each cluster is nested in a list
column (  | 
geometry | 
 logical; if TRUE, an   | 
summary | 
 logical; if TRUE, the returned data frame is appended with summary values for duration, start time, and end time for stationary activity recorded for each cluster  | 
dt_field | 
 character; name of datetime field used to calculate summary information  | 
a data frame or sf object
## Not run: 
get_places(df, cluster_col = NULL, nested = TRUE, geometry = TRUE, summary = TRUE, dt_field = NULL)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.