morph_gps | R Documentation |
Standardize GPS data to collar format
morph_gps(
x,
id_col = NULL,
dt_col = NULL,
dt_format = "%Y-%m-%d %H:%M:%S",
lon_col = NULL,
lat_col = NULL,
meta = list(),
extra = character()
)
x |
data.frame of GPS data with at least columns ID, Latitude, Longitude and Date-Time. |
id_col |
Unquoted name of the ID column that signals the unique identifier for this collar. |
dt_col |
Unquoted name of the date time column that represents the acquisition time. |
dt_format |
character string giving a date-time format as used by strptime. |
lon_col |
Unquoted name of the column containing Longitude location information. See Details. |
lat_col |
Unquoted name of the column containing Latitude location information. See Details. |
meta |
Key-value pairs supplied as a named list specifying new columns and values to be added to data. See Details. |
extra |
Unquoted column names of those columns beyond id, datetime, lon and lat that you wish to retain in the data set. |
stuff
inherits from data.frame tbl_df
2+2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.