readContainer(file, type = c("tcx", "db3", "json"), table = "gps_data", timezone = "", sessionThreshold = 2, correctDistances = FALSE, country = NULL, mask = TRUE, fromDistances = NULL, speedunit = NULL, distanceunit = NULL, cycling = FALSE, lgap = 30, lskip = 5, m = 11, parallel = FALSE, cores = getOption("mc.cores", 2L))
tcx
, db3
, and json
.type
is set to db3
,
ignored otherwise.as.POSIXct
.
Ignored for JSON files.NULL
, country is derived from
longitude and latitude.getData
. Should only the altitudes for the specified
country
be extracted (TRUE
) or also those for the neighboring countries (FALSE
)?TRUE
for tcx
and Golden Cheetah's json files and to FALSE
for db3
files.m_per_s
when type
is
tcx
and km_per_h
when type
is db3
or json
. See Details.m
when type
is
tcx
and km
when type
is db3
or json
. See Details.rev_per_min
instead of steps_per_min
.trackeRdata
.
speedunit
currently are km_per_h
, m_per_s
,
mi_per_h
, ft_per_min
and ft_per_s
.
Available options for distanceunit
currently are km
, m
, mi
and
ft
.Reading Golden Cheetah's JSON files is experimental.
trackeRdata
, readTCX
, readDB3
, readJSON
## Not run:
# filepath <- system.file("extdata", "2013-06-08-090442.TCX", package = "trackeR")
# run <- readContainer(filepath, type = "tcx", timezone = "GMT")
# ## End(Not run)
Run the code above in your browser using DataLab