sched_pp_fixes: Lotek PinPoint schedule creation

Description Usage Arguments Value Examples

View source: R/sched_pp_fixes.R

Description

This function generates a **discrete** GPS sampling/fix schedule for PinPoint tags in the appropriate .ASF XML format. The resulting file can then be loaded to the tag via the PinPoint Host software (see that manual for details on scheduling).

Usage

1
sched_pp_fixes(date_times, tz = "GMT", out_file = "./discrete_pp")

Arguments

date_times

either character or POSIXct vector of date times for which to schedule an attempted GPS fix

tz

character string indicating the timezone of *input* datetimes. These will be converted to GMT as required by the PinPoint tags.

out_file

character path to output XML file containing the discrete rule schedule. The .ASF extension need not be specified.

Value

writes an XML file (*.ASF extension) that can be loaded to a PinPoint tag via the PinPoint Hose software from Lotek

Examples

1
2
3
4
5
now <- Sys.time()
dt_seq <- seq(from = now, length.out = 5, by = "6 hours")

# Generate schedule 'test.ASF' in current directory
sched_pp_fixes(dt_seq, tz = "America/New_York", out_file = "./test")

adamdsmith/pinpoint documentation built on Aug. 12, 2021, 12:53 a.m.