TCX.jl

TCX parses TCX/XML sports file.
Author xue35
Popularity
1 Star
Updated Last
4 Years Ago
Started In
March 2019

Build Status Coverage Status

TCX.jl

TCX.jl intends to provide an list of Julia modules to access Training Center XML(TCX) files. This project is inspired by vkurup/python-tcxparser.

Installation

julia> using Pkg; Pkg.add("TCX");

Usage

Basic usage

using TCX

err, tcx = TCX.parse_tcx_file("my_marathon.tcx")
println(getDistance(tcx)) # Static distance record in TCX activity header.
println(getDistance2(tcx)) # Distance calculated out of tackpoints using Geodesty
println(getDuration(tcx))
println(getAverageSpeed(tcx))
println(getAveragePace(tcx))

Load multiple TCX for analysis

using TCX, DataFrames
err, tcxArray = TCX.parse_tcx_dir("/my_running_logs/")
get_DataFrame(tcxArray)

License

MIT License

Contact

Please contact me if any question or comment.

Ref

Used By Packages

No packages found.