Learn R Programming

⚠️There's a newer version (1.6.0) of this package.Take me there.

trackeR (version 1.5.2)

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.5.2

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Ioannis Kosmidis

Last Published

May 15th, 2019

Functions in trackeR (1.5.2)

change_units

Generic function for changing the units of measurement
distance2speed

Convert distance to speed.
change_units.trackeRthresholds

Change the units of the variables in an trackeRthresholds object
generate_thresholds

Generate default thresholds.
GC2trackeRdata

Coercion function for use in Golden Cheetah
Wexp

W' expended.
generate_units

Generate and set base units.
distribution_profile

Generate training distribution profiles.
prettifyUnit

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

Plot routes for training sessions
nsessions.trackeRWprime

Generic function for calculating number of sessions
prepare_route

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

Collect units from the result of generate_units
compute_breaks

Compute a grid of breakpoints per variable from a trackeRdata object.
fortify.conProfile

Fortify a conProfile object for plotting with ggplot2.
fortify.distrProfile

Fortify a distrProfile object for plotting with ggplot2.
get_resting_periods

Extract resting period characteristics
find_unit_reference_sport

Find the most frequent sport in an object
plot.conProfile

Plot concentration profiles.
plot.distrProfile

Plot distribution profiles.
ridges.distrProfile

Ridgeline plots for distrProfile objects
get_sport.trackeRWprime

Generic function for extracting sports
get_units

Generic function for extracting the units of measurement
get_units.conProfile

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

Plot W'.
plot.trackeRdata

Plot training sessions in form of trackeRdata objects
ridges.trackeRdata

Ridgeline plots for trackeRdata objects
print.trackeRdata

print method for trackeRdata objects
print.trackeRdataSummary

Print method for session summaries.
run

Training session.
runs

Training sessions.
smoother_control.trackeRdata

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

Sort sessions in trackeRdata objects
smoother.conProfile

Smoother for concentration profiles.
trackeRdata

Create a trackeRdata object
smoother.distrProfile

Smoother for distribution profiles.
smoother.trackeRdata

Smoother for trackeRdata objects.
unique.trackeRdata

Exrtact unique sessions in a trackerRdata object
smoother_control.distrProfile

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

Time spent in training zones.
append.trackeRdata

Append training sessions to existing file
change_units.trackeRdata

Change the units of the variables in an trackeRdata object
append

Generic function for appending data to existing files
change_units.trackeRdataSummary

Change the units of the variables in an trackeRdataSummary object
Wprime

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

Transform concentration profile to distribution profile.
get_operations.conProfile

Get the operation settings of an conProfile object
get_operations.distrProfile

Get the operation settings of an distrProfile object
concentration_profile.distrProfile

Generate training concentration profiles.
conversions

Auxiliary conversion functions
get_units.distrProfile

Get the units of the variables in an distrProfile object
get_units.trackeRWprime

Get the units of the variables in an trackeRWprime object
fortify.trackeRdataSummary

Fortify a trackeRdataSummary object for plotting with ggplot2.
funPCA

Functional principal components analysis of distribution or concentration profiles.
get_operations

Generic function for retrieving the operation settings
get_elevation_gain

(Cumulative) Elevation gain.
get_units.trackeRdataZones

Get the units of the variables in an trackeRdataZones object
impute_speeds

Impute speeds
plot.trackeRfpca

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

Plot routes for training sessions
read_directory

Read all supported container files from a supplied directory
session_times

Generic function for calculating session times
read_container

Read a GPS container file.
smoother

Generic function for smoothing
threshold.trackeRdata

Thresholding for variables in trackeRdata objects
plot.trackeRdataSummary

Plot an object of class trackeRdataSummary.
timeAboveThreshold

Time spent above a certain threshold.
plot.trackeRdataZones

Plot training zones.
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.
scaled.distrProfile

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

Change the units of the variables in an distrProfile object
summary.trackeRdata

Summary of training sessions
session_duration

Generic function for calculating session durations
speed2distance

Convert speed to distance.
change_units.trackeRWprime

Change the units of the variables in an trackeRWprime object
compute_limits

Compute variable limits from a trackeRdata object.
concentration_profile

Generic method for concentration profiles
fortify.trackeRWprime

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

Fortify a trackeRdata object for plotting with ggplot2
get_operations.trackeRdata

Get the operation settings of an trackeRdata object
get_profile.distrProfile

Generic function to subset distribution and concentration profiles
get_units.trackeRdata

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

Get the units of the variables in an trackeRdataSummary object
ridges

Generic function for ridgeline plots
ridges.conProfile

Ridgeline plots for distrProfile objects
sanity_checks

Sanity checks for tracking data
scaled

Generic function for scaling
timeline

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

trackeR: Infrastructure for running and cycling data from GPS-enabled tracking devices
change_units.conProfile

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

Change the units of the variables in an trackeRdataZones object
decreasing_smoother

Smooth a decreasing function.