Coercion function for use in Golden Cheetah
GC2trackeRdata(gc, cycling = TRUE, correct_distances = FALSE,
country = NULL, mask = TRUE, from_distances = FALSE, lgap = 30,
lskip = 5, m = 11, silent = FALSE)
Output of GC.activity
.
Logical. Does the data stem from cycling?
Logical. Should the distances be corrected
for elevation? Default is FALSE
.
ISO3 country code for downloading altitude data. If
NULL
, country is derived from longitude and latitude
Logical. Passed on to
getData
. Should only the altitudes for
the specified country
be extracted (TRUE
) or also
those for the neighboring countries (FALSE
)?
Logical. Should the speeds be calculated from the distance recordings instead of taken from the speed recordings directly?
Time in seconds corresponding to the minimal sampling rate.
Time in seconds between the last observation before a small break and the first imputed speed or the last imputed speed and the first observation after a small break.
Number of imputed observations in each small break.
Logical. Should warnings be generated if any of the sanity checks on the data are triggered?
trackeRdata