Title: | Parse and Analyze TCX Files |
---|---|
Description: | Framework provides functions to parse 'Training Center XML (TCX)' files and extract key activity metrics such as total distance, total time, calories burned, maximum altitude, and power values (watts). This package is useful for analyzing workout and training data from devices that export 'TCX' format. |
Authors: | Iztok Jr. Fister [aut, cre, cph]
|
Maintainer: | Iztok Jr. Fister <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.1.0 |
Built: | 2025-03-13 09:18:20 UTC |
Source: | https://github.com/firefly-cpp/tcxr |
Extracts data from a lap within a TCX file, including time, distance, altitude, speed, power, cadence, and heart rate.
parse_lap(lap)
parse_lap(lap)
lap |
An XML node representing a lap in a TCX file. |
A dataframe containing the lap metrics.
Extracts data from a trackpoint, including altitude, distance, speed, power, cadence, and heart rate.
parse_trackpoint(trackpoint)
parse_trackpoint(trackpoint)
trackpoint |
An XML node representing a trackpoint. |
A list of parsed trackpoint metrics.
Parses a TCX file to extract key activity metrics such as speed, distance, time, altitude, power, cadence, heart rate, and activity type.
TCXRead(file_path)
TCXRead(file_path)
file_path |
A character string specifying the path to the TCX file. |
A list containing the computed activity metrics, including the activity type.