Huh / collar

Utilities for exploring telemetry data
Other
6 stars 9 forks source link

morph_gps should be able to combine multiple columns for date/time #48

Open foresthayes opened 5 years ago

foresthayes commented 5 years ago

Some data sources provide date and time in separate columns. The morph_gps function should be able to multiple columns to produce a single date/time column.

Data source examples: Vectronics csv: utc_date and utc_time ATS scrape function: year, julianday, hour, minute

Thus, the user should be able to use: morph_gps(data, dt = c(year, julianday, hour, minute), dt_format = "%y%j%H%M")

Huh commented 5 years ago

tidyr::unite is a clean way to accomplish this if you are looking for ideas

foresthayes commented 5 years ago

Thanks, I'll try to address this at some point.