Create Linestrings from Points
to_linestrings.Rd
Converts a collection of points to a collection of linestrings, for faster plotting.
Points are grouped by date
, and are assumed to be ordered.
Note that input data will be dplyr::summarize()
'd by date
, i.e. output will probably be
much shorter than input. Additionally, summarizing gets rid of all other information, i.e.
return value only contains dates and linestrings and will have to be joined with any additional
desired information.
Value
A tibble with two columns: date
, and an sf geometry column, containing a linestring for each observation