make_gpx | R Documentation |
Save collar locations to disk as a GPX file
make_gpx(x, file, lon_col = lon, lat_col = lat, dt_col, name_col, desc_col)
x |
a data frame containing collar data with latitude and longitude location data |
file |
the file path where the output GPX file should be saved |
lon_col |
unquoted name of column containing longitude coordinates |
lat_col |
unquoted name of column containing longitude coordinates |
dt_col |
unquoted name of column containing date and time of location. The format of date_time must follow YYYY-MM-DD HH:MM:SS or YYYY-MM-DDTHH:MM:SS. |
name_col |
unquoted name of column containing the name to be assigned to the GPS location |
desc_col |
unquoted name of column containing a a description to be assigned to the GPS location |
The original data frame passed to the function.
## Not run:
make_gpx(collar_data)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.