| process_gps_data_into_gps_epochs {walkboutr} | R Documentation |
Convert GPS data into GPS epochs
Description
The input schema for the accelerometry data is time, latitude, longitude, and speed.
-
timeshould be a column in date-time format, in the UTC time zone, with no null values. -
latitudeshould be a numeric, non-null latitude coordinate between -90 and 90 -
longitudeshould be a numeric, non-null longitude coordinate between -180 and 180 -
speedshould be a numeric, non-null value in kilometers per hour
Usage
process_gps_data_into_gps_epochs(gps_data, ..., collated_arguments = NULL)
Arguments
gps_data |
A data frame containing GPS data. Must have columns "Latitude", "Longitude" |
... |
Additional arguments to be passed to the function. |
collated_arguments |
A named list of arguments, used to avoid naming conflicts when calling this function as part of a pipeline. Optional. |
Details
This function processes GPS data into GPS epochs, with each epoch having a duration specified by epoch_length.
Value
A data frame with columns latitude, longitude, time, and speed, where time is now the nearest epoch start time