π¦ Installation β’ β¨ Features β’ π Usage β’ πΎ Datasets β’ π Further read β’ π Related packages/frameworks β’ π License
tcxr is an R package designed to parse Training Center XML (TCX) files and extract key activity metrics. This package helps analyze workout and training data from devices that export TCX format, providing insights such as total distance, duration, calories burned, altitude, and power values. The Ruby package tcxread was the inspiration for this R package.
# TODO
library(tcxr)
# Provide the path to a TCX file
<- "example.tcx"
example_tcx_file
# Parse the TCX file and extract metrics
<- TCXRead(example_tcx_file)
result
# Print the extracted data
print(result)
Datasets available and used in the examples on the following links: DATASET1, DATASET2, DATASET3.
[1] Awesome Computational Intelligence in Sports
[1] tcxreader: Python reader/parser for Garminβs TCX file format.
[3] TCXReader.jl: Julia package designed for parsing TCX files
[4] TCXWriter: A Tiny Library for writing/creating TCX files on Arduino
This package is distributed under the MIT License. This license can be found online at http://www.opensource.org/licenses/MIT.
This framework is provided as-is, and there are no guarantees that it fits your purposes or that it is bug-free. Use it at your own risk!