VPSPulse Mirrors

High-Performance Open-Source Archive

Help for package tcxr

Package {tcxr}


Title: Parse and Analyze TCX Files
Version: 0.1.0
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.
Depends: R (≥ 3.5.0)
License: MIT + file LICENSE
Imports: XML
Suggests: testthat
Encoding: UTF-8
RoxygenNote: 7.2.3
NeedsCompilation: no
Packaged: 2025-03-10 20:08:05 UTC; iztok
Author: Iztok Jr. Fister ORCID iD [aut, cre, cph]
Maintainer: Iztok Jr. Fister <iztok@iztok.space>
Repository: CRAN
Date/Publication: 2025-03-12 17:30:02 UTC

Read and Parse a TCX File

Description

Parses a TCX file to extract key activity metrics such as speed, distance, time, altitude, power, cadence, heart rate, and activity type.

Usage

TCXRead(file_path)

Arguments

file_path

A character string specifying the path to the TCX file.

Value

A list containing the computed activity metrics, including the activity type.


Parse a Lap from a TCX File

Description

Extracts data from a lap within a TCX file, including time, distance, altitude, speed, power, cadence, and heart rate.

Usage

parse_lap(lap)

Arguments

lap

An XML node representing a lap in a TCX file.

Value

A dataframe containing the lap metrics.


Parse a Trackpoint from a TCX File

Description

Extracts data from a trackpoint, including altitude, distance, speed, power, cadence, and heart rate.

Usage

parse_trackpoint(trackpoint)

Arguments

trackpoint

An XML node representing a trackpoint.

Value

A list of parsed trackpoint metrics.

Need mirroring services?
Contact our team at info@vpspulse.com.

Mirror powered by VPSpulse

Infrastructure sponsored by VPSPulse & Secure Payments by ArionPay.