forceCompliance: Function to ensure dates and times are in order with trip ID

Description Usage Arguments Value Note See Also

View source: R/trip.R

Description

A convenience function, that removes duplicate rows, sorts by the date-times within ID, and removes duplicates from a data frame or SpatialPointsDataFrame.

Usage

1

Arguments

x

data.frame or SpatialPointsDataFrame-class

tor

character vector of names of date-times and trip ID columns

Value

data.frame or SpatialPointsDataFrame-class.

Note

It's really important that data used are of a given quality, but this function makes the most common trip problems easy to apply.

See Also

trip


trip documentation built on March 16, 2021, 9:08 a.m.