## read raw data
filepath <- system.file("extdata/tcx", "2013-06-08-090442.TCX.gz", package = "trackeR")
run0 <- readTCX(file = filepath, timezone = "GMT")
## turn into trackeRdata object
units0 <- generate_units()
run0 <- trackeRdata(run0, units = units0)
## alternatively
if (FALSE) {
run0 <- read_container(filepath, type = "tcx", timezone = "GMT")
}
Run the code above in your browser using DataLab