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.
julia> using Pkg; Pkg.add("TCX");
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))
using TCX, DataFrames
err, tcxArray = TCX.parse_tcx_dir("/my_running_logs/")
get_DataFrame(tcxArray)
MIT License
Please contact me if any question or comment.
- Garmin's Training Center Database XML (TCX) Schema
- User profile extension Schema
- [Activity extension schema](Activity extension Schema)