Learn R Programming

trackeR (version 1.6.0)

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

305

Version

1.6.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Ioannis Kosmidis

Last Published

January 11th, 2024

Functions in trackeR (1.6.0)

append.trackeRdata

Append training sessions to existing file
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.conProfile

Change the units of the variables in an conProfile object
change_units.trackeRWprime

Change the units of the variables in an trackeRWprime object
Wexp

W' expended.
c2d

Transform concentration profile to distribution profile.
concentration_profile.distrProfile

Generate training concentration profiles.
fortify.conProfile

Fortify a conProfile object for plotting with ggplot2.
conversions

Auxiliary conversion functions
fortify.trackeRdataSummary

Fortify a trackeRdataSummary object for plotting with ggplot2.
funPCA

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

Change the units of the variables in an trackeRdata object
get_operations.conProfile

Get the operation settings of an conProfile object
distribution_profile

Generate training distribution profiles.
find_unit_reference_sport

Find the most frequent sport in an object
get_operations.distrProfile

Get the operation settings of an distrProfile object
change_units.trackeRdataZones

Change the units of the variables in an trackeRdataZones object
get_units.trackeRdataZones

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

Change the units of the variables in an trackeRthresholds object
compute_limits

Compute variable limits from a trackeRdata object.
collect_units

Collect units from the result of generate_units
fortify.trackeRWprime

Fortify a trackeRWprime object for plotting with ggplot2.
fortify.trackeRdata

Fortify a trackeRdata object for plotting with ggplot2
get_resting_periods

Extract resting period characteristics
threshold.trackeRdata

Thresholding for variables in trackeRdata objects
compute_breaks

Compute a grid of breakpoints per variable from a trackeRdata object.
get_units.trackeRfpca

Get the units of the variables in an trackeRfpca object
get_units

Generic function for extracting the units of measurement
change_units.trackeRdataSummary

Change the units of the variables in an trackeRdataSummary object
fortify.distrProfile

Fortify a distrProfile object for plotting with ggplot2.
plot.trackeRWprime

Plot W'.
get_sport.trackeRWprime

Generic function for extracting sports
get_elevation_gain

(Cumulative) Elevation gain.
get_units.conProfile

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

Plot training sessions in form of trackeRdata objects
print.trackeRdata

print method for trackeRdata objects
get_operations

Generic function for retrieving the operation settings
get_units.trackeRdata

Get the units of the variables in an trackeRdata object
get_operations.trackeRdata

Get the operation settings of an trackeRdata object
get_units.trackeRdataSummary

Get the units of the variables in an trackeRdataSummary object
read_container

Read a GPS container file.
read_directory

Read all supported container files from a supplied directory
plot.trackeRdataSummary

Plot an object of class trackeRdataSummary.
scaled.distrProfile

Scale the distribution profile relative to its maximum value.
session_duration

Generic function for calculating session durations
timeline

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

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

Generic method for concentration profiles
plot.conProfile

Plot concentration profiles.
print.trackeRdataSummary

Print method for session summaries.
sanity_checks

Sanity checks for tracking data
scaled

Generic function for scaling
get_profile.distrProfile

Generic function to subset distribution and concentration profiles
get_units.distrProfile

Get the units of the variables in an distrProfile object
readX

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

Plot training zones.
plot_route

Plot routes for training sessions
profile2fd

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

trackeR: Infrastructure for running and cycling data from GPS-enabled tracking devices
get_units.trackeRWprime

Get the units of the variables in an trackeRWprime object
smoother.trackeRdata

Smoother for trackeRdata objects.
decreasing_smoother

Smooth a decreasing function.
distance2speed

Convert distance to speed.
leaflet_route

Plot routes for training sessions
ridges.trackeRdata

Ridgeline plots for trackeRdata objects
nsessions.trackeRWprime

Generic function for calculating number of sessions
ridges.distrProfile

Ridgeline plots for distrProfile objects
smoother.conProfile

Smoother for concentration profiles.
timeAboveThreshold

Time spent above a certain threshold.
generate_thresholds

Generate default thresholds.
smoother.distrProfile

Smoother for distribution profiles.
zones

Time spent in training zones.
prepare_route

Prepare a data.frame for use in leaflet_route and plot_route
prettifyUnit

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

Generate and set base units.
run

Training session.
runs

Training sessions.
smoother_control.trackeRdata

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

Get the units of the variables in an trackeRthresholds object
impute_speeds

Impute speeds
smoother_control.distrProfile

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

Sort sessions in trackeRdata objects
trackeRdata

Create a trackeRdata object
plot.distrProfile

Plot distribution profiles.
ridges

Generic function for ridgeline plots
ridges.conProfile

Ridgeline plots for distrProfile objects
session_times

Generic function for calculating session times
smoother

Generic function for smoothing
speed2distance

Convert speed to distance.
summary.trackeRdata

Summary of training sessions
unique.trackeRdata

Extract unique sessions in a trackerRdata object
change_units

Generic function for changing the units of measurement
Wprime

W': work capacity above critical power/speed.