Learn R Programming

trackeR (version 1.6.1)

Infrastructure for Running, Cycling and Swimming Data from GPS-Enabled Tracking Devices

Description

Provides infrastructure for handling running, cycling and swimming data from GPS-enabled tracking devices within R. The package provides methods to extract, clean and organise workout and competition data into session-based and unit-aware data objects of class 'trackeRdata' (S3 class). The information can then be visualised, summarised, and analysed through flexible and extensible methods. Frick and Kosmidis (2017) , which is updated and maintained as one of the vignettes, provides detailed descriptions of the package and its methods, and real-data demonstrations of the package functionality.

Copy Link

Version

Install

install.packages('trackeR')

Monthly Downloads

337

Version

1.6.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Ioannis Kosmidis

Last Published

August 29th, 2025

Functions in trackeR (1.6.1)

change_units.trackeRdataZones

Change the units of the variables in an trackeRdataZones object
fortify.conProfile

Fortify a conProfile object for plotting with ggplot2.
distribution_profile

Generate training distribution profiles.
distance2speed

Convert distance to speed.
decreasing_smoother

Smooth a decreasing function.
fortify.trackeRdataSummary

Fortify a trackeRdataSummary object for plotting with ggplot2.
funPCA

Functional principal components analysis of distribution or concentration profiles.
fortify.trackeRdata

Fortify a trackeRdata object for plotting with ggplot2
fortify.trackeRWprime

Fortify a trackeRWprime object for plotting with ggplot2.
concentration_profile

Generic method for concentration profiles
get_profile.distrProfile

Generic function to subset distribution and concentration profiles
get_operations.trackeRdata

Get the operation settings of an trackeRdata object
get_units.conProfile

Get the units of the variables in an conProfile object
get_units

Generic function for extracting the units of measurement
generate_thresholds

Generate default thresholds.
generate_units

Generate and set base units.
find_unit_reference_sport

Find the most frequent sport in an object
get_resting_periods

Extract resting period characteristics
get_sport.trackeRWprime

Generic function for extracting sports
impute_speeds

Impute speeds
get_units.trackeRthresholds

Get the units of the variables in an trackeRthresholds object
get_units.trackeRdataZones

Get the units of the variables in an trackeRdataZones object
get_units.trackeRfpca

Get the units of the variables in an trackeRfpca object
plot.trackeRWprime

Plot W'.
nsessions.trackeRWprime

Generic function for calculating number of sessions
get_elevation_gain

(Cumulative) Elevation gain.
fortify.distrProfile

Fortify a distrProfile object for plotting with ggplot2.
leaflet_route

Plot routes for training sessions
get_units.trackeRdata

Get the units of the variables in an trackeRdata object
plot.trackeRdataSummary

Plot an object of class trackeRdataSummary.
plot.trackeRdataZones

Plot training zones.
get_operations

Generic function for retrieving the operation settings
get_units.trackeRdataSummary

Get the units of the variables in an trackeRdataSummary object
plot.conProfile

Plot concentration profiles.
plot.distrProfile

Plot distribution profiles.
get_operations.conProfile

Get the operation settings of an conProfile object
get_operations.distrProfile

Get the operation settings of an distrProfile object
get_units.distrProfile

Get the units of the variables in an distrProfile object
ridges.conProfile

Ridgeline plots for distrProfile objects
ridges

Generic function for ridgeline plots
read_container

Read a GPS container file.
ridges.distrProfile

Ridgeline plots for distrProfile objects
read_directory

Read all supported container files from a supplied directory
ridges.trackeRdata

Ridgeline plots for trackeRdata objects
plot.trackeRdata

Plot training sessions in form of trackeRdata objects
plot_route

Plot routes for training sessions
plot.trackeRfpca

Plot function for functional principal components analysis of distribution and concentration profiles.
get_units.trackeRWprime

Get the units of the variables in an trackeRWprime object
readX

Read a training file in tcx, gpx, db3 or Golden Cheetah's JSON format
profile2fd

Transform distribution and concentration profiles to functional data objects of class fd.
session_times

Generic function for calculating session times
smoother

Generic function for smoothing
prettifyUnit

Returns 'pretty' units for use for plotting or printing
prepare_route

Prepare a data.frame for use in leaflet_route and plot_route
smoother.trackeRdata

Smoother for trackeRdata objects.
scaled.distrProfile

Scale the distribution profile relative to its maximum value.
smoother_control.distrProfile

Auxiliary function for smoother.distrProfile. Typically used to construct a control argument for smoother.distrProfile.
session_duration

Generic function for calculating session durations
threshold.trackeRdata

Thresholding for variables in trackeRdata objects
smoother_control.trackeRdata

Auxiliary function for smoother.trackeRdata. Typically used to construct a control argument for smoother.trackeRdata.
trackeRdata

Create a trackeRdata object
sort.trackeRdata

Sort sessions in trackeRdata objects
timeAboveThreshold

Time spent above a certain threshold.
unique.trackeRdata

Extract unique sessions in a trackerRdata object
print.trackeRdata

print method for trackeRdata objects
print.trackeRdataSummary

Print method for session summaries.
runs

Training sessions.
smoother.conProfile

Smoother for concentration profiles.
trackeR

trackeR: Infrastructure for running and cycling data from GPS-enabled tracking devices
run

Training session.
zones

Time spent in training zones.
timeline

Generic function for visualising the sessions on a time versus date plot
sanity_checks

Sanity checks for tracking data
speed2distance

Convert speed to distance.
summary.trackeRdata

Summary of training sessions
smoother.distrProfile

Smoother for distribution profiles.
scaled

Generic function for scaling
change_units.conProfile

Change the units of the variables in an conProfile object
c2d

Transform concentration profile to distribution profile.
change_units.distrProfile

Change the units of the variables in an distrProfile object
append

Generic function for appending data to existing files
GC2trackeRdata

Coercion function for use in Golden Cheetah
change_units.trackeRWprime

Change the units of the variables in an trackeRWprime object
Wexp

W' expended.
append.trackeRdata

Append training sessions to existing file
change_units

Generic function for changing the units of measurement
Wprime

W': work capacity above critical power/speed.
compute_limits

Compute variable limits from a trackeRdata object.
concentration_profile.distrProfile

Generate training concentration profiles.
change_units.trackeRthresholds

Change the units of the variables in an trackeRthresholds object
collect_units

Collect units from the result of generate_units
change_units.trackeRdataSummary

Change the units of the variables in an trackeRdataSummary object
change_units.trackeRdata

Change the units of the variables in an trackeRdata object
compute_breaks

Compute a grid of breakpoints per variable from a trackeRdata object.
conversions

Auxiliary conversion functions