TimeOrderedRecords: Functions to specify and obtain DateTime and ID data from within (Spatial) data frames.
Description
Specifies the DateTime and ID data within a data frame for objects of class trip. Functions
also for obtaining the names of the columns used, and the data itself.
Character vector of 2-elements, specifying the data columns of DateTimes and IDs.
obj
trip object.
Value
TimeOrderedRecords returns an object with a 2-element character vector, specifying the columns names.
getTORnames obtains the column names from an object extending the class, and getTimeID returns the
data as a data frame from an object extending the class.
Details
These simple functions are for creating classes with TimeOrdered data. The main use is for
SpatialPointsDataFrames which are used with TimeOrderedRecords for the class trip.