{"id":26246034,"url":"https://github.com/firefly-cpp/tcxr","last_synced_at":"2025-03-13T13:17:18.557Z","repository":{"id":279950506,"uuid":"937080994","full_name":"firefly-cpp/tcxr","owner":"firefly-cpp","description":"A parser for TCX files written in R","archived":false,"fork":false,"pushed_at":"2025-03-10T16:10:42.000Z","size":813,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T17:25:48.567Z","etag":null,"topics":["data-science","garmin-connect","sport-analytics","tcx-parser"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/firefly-cpp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-22T09:36:41.000Z","updated_at":"2025-03-10T16:10:45.000Z","dependencies_parsed_at":"2025-02-28T18:02:05.522Z","dependency_job_id":"f1636ed2-ce5c-451c-8b60-4a08b1f636b3","html_url":"https://github.com/firefly-cpp/tcxr","commit_stats":null,"previous_names":["firefly-cpp/tcxr"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firefly-cpp%2Ftcxr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firefly-cpp%2Ftcxr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firefly-cpp%2Ftcxr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firefly-cpp%2Ftcxr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/firefly-cpp","download_url":"https://codeload.github.com/firefly-cpp/tcxr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243410453,"owners_count":20286403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-science","garmin-connect","sport-analytics","tcx-parser"],"created_at":"2025-03-13T13:17:17.962Z","updated_at":"2025-03-13T13:17:18.549Z","avatar_url":"https://github.com/firefly-cpp.png","language":"R","funding_links":[],"categories":["Software 💻"],"sub_categories":["Wrestling 🤼‍♀️"],"readme":"\u003ch1 align=\"center\"\u003e\n    tcxr\n\u003c/h1\u003e\n\n\u003ch2 align=\"center\"\u003e\n    A parser for TCX files written in R\n\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/firefly-cpp/tcxr/actions?workflow=R-CMD-check\"\u003e\n    \u003cimg alt=\"R build status\" src=\"https://github.com/firefly-cpp/tcxr/workflows/R-CMD-check/badge.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://CRAN.R-project.org/package=tcxr\"\u003e\n    \u003cimg alt=\"CRAN version\" src=\"https://www.r-pkg.org/badges/version/tcxr\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://cran.r-project.org/package=tcxr\"\u003e\n    \u003cimg alt=\"CRAN downloads\" src=\"https://cranlogs.r-pkg.org/badges/grand-total/tcxr?color=blue\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://doi.org/10.32614/CRAN.package.tcxr\"\u003e\n    \u003cimg alt=\"DOI\" src=\"https://img.shields.io/badge/DOI-10.32614/CRAN.package.tcxr-blue\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"#-installation\"\u003e📦 Installation\u003c/a\u003e •\n    \u003ca href=\"#-features\"\u003e✨ Features\u003c/a\u003e •\n    \u003ca href=\"#-usage\"\u003e🚀 Usage\u003c/a\u003e •\n    \u003ca href=\"#-datasets\"\u003e💾 Datasets\u003c/a\u003e •\n    \u003ca href=\"#-further-read\"\u003e📖 Further read\u003c/a\u003e •\n    \u003ca href=\"#-related-packagesframeworks\"\u003e🔗 Related packages/frameworks\u003c/a\u003e •\n    \u003ca href=\"#-license\"\u003e🔑 License\u003c/a\u003e\n\u003c/p\u003e\n\ntcxr 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](https://github.com/firefly-cpp/tcxread) was the inspiration for this R package.\n\n## 📦 Installation\n\n\nInstall CRAN release version:\n\n```R\ninstall.packages(\"tcxr\")\n```\n\n## ✨ Features\n\n- Parse TCX files to extract activity metrics\n- Compute total distance, duration, and calories burned\n- Analyze maximum altitude and power values\n- Works with TCX data exported from Garmin and similar devices\n\n## 🚀 Usage\n\n### Load the package\n\n```r\nlibrary(tcxr)\n```\n\n### Read a TCX file\n\n```r\n# Provide the path to a TCX file\nexample_tcx_file \u003c- \"example.tcx\"\n\n# Parse the TCX file and extract metrics\nresult \u003c- TCXRead(example_tcx_file)\n\n# Print the extracted data\nprint(result)\n```\n\n## 💾 Datasets\n\nDatasets available and used in the examples on the following links: [DATASET1](https://iztok-jr-fister.eu/static/publications/Sport5.zip), [DATASET2](https://iztok-jr-fister.eu/static/css/datasets/Sport.zip), [DATASET3](https://github.com/firefly-cpp/tcx-test-files).\n\n## 📖 Further read\n\n[1] [Awesome Computational Intelligence in Sports](https://github.com/firefly-cpp/awesome-computational-intelligence-in-sports)\n\n## 🔗 Related packages/frameworks\n\n[1] [tcxreader: Python reader/parser for Garmin's TCX file format.](https://github.com/alenrajsp/tcxreader)\n\n[2] [sport-activities-features: A minimalistic toolbox for extracting features from sports activity files written in Python](https://github.com/firefly-cpp/sport-activities-features)\n\n[3] [TCXReader.jl: Julia package designed for parsing TCX files](https://github.com/firefly-cpp/TCXReader.jl)\n\n[4] [TCXWriter: A Tiny Library for writing/creating TCX files on Arduino](https://github.com/firefly-cpp/tcxwriter)\n\n## 🔑 License\n\nThis package is distributed under the MIT License. This license can be found online at \u003chttp://www.opensource.org/licenses/MIT\u003e.\n\n## Disclaimer\n\nThis 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!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirefly-cpp%2Ftcxr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirefly-cpp%2Ftcxr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirefly-cpp%2Ftcxr/lists"}