make_gpx: Save collar locations to disk as a GPX file

View source: R/make_gpx.R

make_gpxR Documentation

Save collar locations to disk as a GPX file

Description

Save collar locations to disk as a GPX file

Usage

make_gpx(x, file, lon_col = lon, lat_col = lat, dt_col, name_col, desc_col)

Arguments

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

Value

The original data frame passed to the function.

Examples

## Not run: 
  make_gpx(collar_data)

## End(Not run)

Huh/collar documentation built on Aug. 5, 2022, 11:02 p.m.