Package: trackeR 1.6.0

Ioannis Kosmidis

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

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) <doi:10.18637/jss.v082.i07>, 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.

Authors:Ioannis Kosmidis [aut, cre], Hannah Frick [aut], Robin Hornak [aut]

trackeR_1.6.0.tar.gz
trackeR_1.6.0.zip(r-4.5)trackeR_1.6.0.zip(r-4.4)trackeR_1.6.0.zip(r-4.3)
trackeR_1.6.0.tgz(r-4.4-any)trackeR_1.6.0.tgz(r-4.3-any)
trackeR_1.6.0.tar.gz(r-4.5-noble)trackeR_1.6.0.tar.gz(r-4.4-noble)
trackeR_1.6.0.tgz(r-4.4-emscripten)trackeR_1.6.0.tgz(r-4.3-emscripten)
trackeR.pdf |trackeR.html
trackeR/json (API)
NEWS

# Install 'trackeR' in R:
install.packages('trackeR', repos = c('https://trackerproject.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/trackerproject/tracker/issues

Datasets:
  • run - Training session.
  • runs - Training sessions.

On CRAN:

171 exports 90 stars 4.06 score 108 dependencies 1 dependents 59 scripts 350 downloads

Last updated 8 months agofrom:1090d4eee9. Checks:ERROR: 1 WARNING: 6. Indexed: yes.

TargetResultDate
Doc / VignettesFAILAug 22 2024
R-4.5-winWARNINGAug 22 2024
R-4.5-linuxWARNINGAug 22 2024
R-4.4-winWARNINGAug 22 2024
R-4.4-macWARNINGAug 22 2024
R-4.3-winWARNINGAug 22 2024
R-4.3-macWARNINGAug 22 2024

Exports:appendbpm2bpmC2CC2Fchange_unitschangeUnitscollect_unitscompute_breakscompute_limitsconcentration_profileconcentrationProfiledecreasing_smootherdecreasingSmootherdegree2degreedistribution_profiledistributionProfileF2CF2Ffind_unit_reference_sportfortify_conProfilefortify_distrProfilefortify_trackeRdatafortify_trackeRdataSummaryfortify_trackeRWprimeft_per_min2ft_per_minft_per_min2ft_per_sft_per_min2km_per_hft_per_min2km_per_minft_per_min2m_per_sft_per_min2mi_per_hft_per_min2mi_per_minft_per_s2ft_per_minft_per_s2ft_per_sft_per_s2km_per_hft_per_s2km_per_minft_per_s2m_per_sft_per_s2mi_per_hft_per_s2mi_per_minft2ftft2kmft2mft2mifunPCAGC2trackeRdatagenerate_thresholdsgenerate_unitsgenerateBaseUnitsgenerateDefaultThresholdsget_operationsget_profileget_resting_periodsget_sportget_unitsgetOperationsgetUnitsh_per_km2min_per_kmh_per_km2min_per_mih_per_mi2min_per_kmh_per_mi2min_per_mih2hh2minh2simputeSpeedskm_per_h2ft_per_minkm_per_h2ft_per_skm_per_h2km_per_hkm_per_h2km_per_minkm_per_h2m_per_skm_per_h2mi_per_hkm_per_h2mi_per_minkm_per_min2ft_per_minkm_per_min2ft_per_skm_per_min2km_per_hkm_per_min2km_per_minkm_per_min2m_per_skm_per_min2mi_per_hkm_per_min2mi_per_minkm2ftkm2kmkm2mkm2mikW2kWkW2Wleaflet_routeleafletRoutem_per_min2m_per_minm_per_min2m_per_sm_per_s2ft_per_minm_per_s2ft_per_sm_per_s2km_per_hm_per_s2km_per_minm_per_s2m_per_minm_per_s2m_per_sm_per_s2mi_per_hm_per_s2mi_per_minm2ftm2kmm2mm2mimi_per_h2ft_per_minmi_per_h2ft_per_smi_per_h2km_per_hmi_per_h2km_per_minmi_per_h2m_per_smi_per_h2mi_per_hmi_per_h2mi_per_minmi_per_min2ft_per_minmi_per_min2ft_per_smi_per_min2km_per_hmi_per_min2km_per_minmi_per_min2m_per_smi_per_min2mi_per_hmi_per_min2mi_per_minmi2ftmi2kmmi2mmi2mimin_per_ft2min_per_kmmin_per_ft2min_per_mimin_per_km2min_per_kmmin_per_km2min_per_mimin_per_km2s_per_mmin_per_mi2min_per_kmmin_per_mi2min_per_mimin_per_mi2s_per_mmin2hmin2minmin2snsessionsplot_routeplotRouteprepare_routeprettifyUnitprettifyUnitsprofile2fdread_containerread_directoryreadContainerreadDB3readDirectoryreadGPXreadJSONreadTCXrestingPeriodsrev_per_min2rev_per_minrev_per_min2steps_per_minridgess_per_m2min_per_kms_per_m2min_per_mis_per_m2s_per_ms2hs2mins2sscaledsession_durationsession_timessmoothersmoother_control.distrProfilesmoother_control.trackeRdatasmootherControl.distrProfilesmootherControl.trackeRdatasteps_per_min2rev_per_minsteps_per_min2steps_per_minthresholdtimelinetrackeRdataW2kWW2WWexpWprimezones

Dependencies:ashaskpassbase64encbitbit64bitopsblobbslibcachemcliclustercodetoolscolorspacecpp11crosstalkcurlDBIdeSolvedigestdplyrevaluatefansifarverfastmapfdafdsFNNfontawesomeforeachfsgenericsggmapggplot2ggridgesgluegridExtragtablehdrcdehighrhtmltoolshtmlwidgetshttrisobanditeratorsjpegjquerylibjsonlitekernlabKernSmoothknitrkslabelinglatticelazyevalleafletleaflet.providerslifecyclelocfitmagrittrMASSMatrixmclustmemoisemgcvmimemulticoolmunsellmvtnormnlmeopensslpcaPPpillarpkgconfigplogrplyrpngpracmapurrrR6rainbowrappdirsrasterRColorBrewerRcppRCurlrlangrmarkdownRSQLitesassscalesscamspstringistringrsysterratibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunxml2yamlzoo

Readme and manuals

Help Manual

Help pageTopics
Generic function for appending data to existing filesappend
Append training sessions to existing fileappend.trackeRdata
Transform concentration profile to distribution profile.c2d
Generic function for changing the units of measurementchangeUnits change_units
Change the units of the variables in an 'conProfile' objectchange_units.conProfile
Change the units of the variables in an 'distrProfile' objectchange_units.distrProfile
Change the units of the variables in an 'trackeRdata' objectchange_units.trackeRdata
Change the units of the variables in an 'trackeRdataSummary' objectchange_units.trackeRdataSummary
Change the units of the variables in an 'trackeRdataZones' objectchange_units.trackeRdataZones
Change the units of the variables in an 'trackeRthresholds' objectchange_units.trackeRthresholds
Change the units of the variables in an 'trackeRWprime' objectchange_units.trackeRWprime
Collect units from the result of 'generate_units'collect_units
Compute a grid of breakpoints per variable from a 'trackeRdata' object.compute_breaks
Compute variable limits from a 'trackeRdata' object.compute_limits
Generic method for concentration profilesconcentrationProfile concentration_profile
Generate training concentration profiles.concentration_profile.distrProfile concentration_profile.trackeRdata conProfile
Auxiliary conversion functionsbpm2bpm C2C C2F conversions degree2degree F2C F2F ft2ft ft2km ft2m ft2mi ft_per_min2ft_per_min ft_per_min2ft_per_s ft_per_min2km_per_h ft_per_min2km_per_min ft_per_min2mi_per_h ft_per_min2mi_per_min ft_per_min2m_per_s ft_per_s2ft_per_min ft_per_s2ft_per_s ft_per_s2km_per_h ft_per_s2km_per_min ft_per_s2mi_per_h ft_per_s2mi_per_min ft_per_s2m_per_s h2h h2min h2s h_per_km2min_per_km h_per_km2min_per_mi h_per_mi2min_per_km h_per_mi2min_per_mi km2ft km2km km2m km2mi km_per_h2ft_per_min km_per_h2ft_per_s km_per_h2km_per_h km_per_h2km_per_min km_per_h2mi_per_h km_per_h2mi_per_min km_per_h2m_per_s km_per_min2ft_per_min km_per_min2ft_per_s km_per_min2km_per_h km_per_min2km_per_min km_per_min2mi_per_h km_per_min2mi_per_min km_per_min2m_per_s kW2kW kW2W m2ft m2km m2m m2mi mi2ft mi2km mi2m mi2mi min2h min2min min2s min_per_ft2min_per_km min_per_ft2min_per_mi min_per_km2min_per_km min_per_km2min_per_mi min_per_km2s_per_m min_per_mi2min_per_km min_per_mi2min_per_mi min_per_mi2s_per_m mi_per_h2ft_per_min mi_per_h2ft_per_s mi_per_h2km_per_h mi_per_h2km_per_min mi_per_h2mi_per_h mi_per_h2mi_per_min mi_per_h2m_per_s mi_per_min2ft_per_min mi_per_min2ft_per_s mi_per_min2km_per_h mi_per_min2km_per_min mi_per_min2mi_per_h mi_per_min2mi_per_min mi_per_min2m_per_s m_per_min2m_per_min m_per_min2m_per_s m_per_s2ft_per_min m_per_s2ft_per_s m_per_s2km_per_h m_per_s2km_per_min m_per_s2mi_per_h m_per_s2mi_per_min m_per_s2m_per_min m_per_s2m_per_s rev_per_min2rev_per_min rev_per_min2steps_per_min s2h s2min s2s steps_per_min2rev_per_min steps_per_min2steps_per_min s_per_m2min_per_km s_per_m2min_per_mi s_per_m2s_per_m W2kW W2W
Smooth a decreasing function.decreasingSmoother decreasing_smoother
Convert distance to speed.distance2speed
Generate training distribution profiles.distributionProfile distribution_profile distrProfile
Find the most frequent sport in an 'object'find_unit_reference_sport
Fortify a 'conProfile' object for plotting with ggplot2.fortify.conProfile fortify_conProfile
Fortify a distrProfile object for plotting with ggplot2.fortify.distrProfile fortify_distrProfile
Fortify a trackeRdata object for plotting with ggplot2fortify.trackeRdata fortify_trackeRdata
Fortify a trackeRdataSummary object for plotting with ggplot2.fortify.trackeRdataSummary fortify_trackeRdataSummary
Fortify a trackeRWprime object for plotting with ggplot2.fortify.trackeRWprime fortify_trackeRWprime
Functional principal components analysis of distribution or concentration profiles.funPCA funPCA.conProfile funPCA.distrProfile
Coercion function for use in Golden CheetahGC2trackeRdata
Generate default thresholds.generateDefaultThresholds generate_thresholds
Generate and set base units.generateBaseUnits generate_units
(Cumulative) Elevation gain.get_elevation_gain
Generic function for retrieving the operation settingsgetOperations get_operations
Get the operation settings of an 'conProfile' objectget_operations.conProfile
Get the operation settings of an 'distrProfile' objectget_operations.distrProfile
Get the operation settings of an 'trackeRdata' objectget_operations.trackeRdata
Generic function to subset distribution and concentration profilesget_profile get_profile.conProfile get_profile.distrProfile
Extract resting period characteristicsget_resting_periods restingPeriods
Generic function for extracting sportsget_sport get_sport.conProfile get_sport.distrProfile get_sport.trackeRdata get_sport.trackeRdataSummary get_sport.trackeRWprime
Generic function for extracting the units of measurementgetUnits get_units
Get the units of the variables in an 'conProfile' objectget_units.conProfile
Get the units of the variables in an 'distrProfile' objectget_units.distrProfile
Get the units of the variables in an 'trackeRdata' objectget_units.trackeRdata
Get the units of the variables in an 'trackeRdataSummary' objectget_units.trackeRdataSummary
Get the units of the variables in an 'trackeRdataZones' objectget_units.trackeRdataZones
Get the units of the variables in an 'trackeRfpca' objectget_units.trackeRfpca
Get the units of the variables in an 'trackeRthresholds' objectget_units.trackeRthresholds
Get the units of the variables in an 'trackeRWprime' objectget_units.trackeRWprime
Impute speedsimputeSpeeds impute_speeds
Plot routes for training sessionsleafletRoute leaflet_route
Generic function for calculating number of sessionsnsessions nsessions.conProfile nsessions.distrProfile nsessions.trackeRdataSummary nsessions.trackeRWprime
Plot routes for training sessionsplotRoute plot_route
Plot concentration profiles.plot.conProfile
Plot distribution profiles.plot.distrProfile
Plot training sessions in form of trackeRdata objectsplot.trackeRdata
Plot an object of class 'trackeRdataSummary'.plot.trackeRdataSummary
Plot training zones.plot.trackeRdataZones
Plot function for functional principal components analysis of distribution and concentration profiles.plot.trackeRfpca
Plot W'.plot.trackeRWprime
Prepare a 'data.frame' for use in 'leaflet_route' and 'plot_route'prepare_route
Returns 'pretty' units for use for plotting or printingprettifyUnit prettifyUnits
'print' method for 'trackeRdata' objectsprint.trackeRdata
Print method for session summaries.print.trackeRdataSummary
Transform distribution and concentration profiles to functional data objects of class fd.profile2fd
Read a GPS container file.readContainer read_container
Read all supported container files from a supplied directoryreadDirectory read_directory
Read a training file in tcx, gpx, db3 or Golden Cheetah's JSON formatreadDB3 readGPX readJSON readTCX readX
Generic function for ridgeline plotsridges
Ridgeline plots for 'distrProfile' objectsridges.conProfile
Ridgeline plots for 'distrProfile' objectsridges.distrProfile
Ridgeline plots for 'trackeRdata' objectsridges.trackeRdata
Training session.run
Training sessions.runs
Sanity checks for tracking datasanity_checks
Generic function for scalingscaled
Scale the distribution profile relative to its maximum value.scaled.distrProfile
Generic function for calculating session durationssession_duration session_duration.trackeRdata session_duration.trackeRdataSummary
Generic function for calculating session timessession_times session_times.trackeRdata session_times.trackeRdataSummary
Generic function for smoothingsmoother
Auxiliary function for 'smoother.distrProfile'. Typically used to construct a control argument for 'smoother.distrProfile'.smootherControl.distrProfile smoother_control.distrProfile
Auxiliary function for 'smoother.trackeRdata'. Typically used to construct a control argument for 'smoother.trackeRdata'.smootherControl.trackeRdata smoother_control.trackeRdata
Smoother for concentration profiles.smoother.conProfile
Smoother for distribution profiles.smoother.distrProfile
Smoother for 'trackeRdata' objects.smoother.trackeRdata
Sort sessions in 'trackeRdata' objectssort.trackeRdata
Convert speed to distance.speed2distance
Summary of training sessionssummary.trackeRdata trackeRdataSummary
Thresholding for variables in 'trackeRdata' objectsthreshold threshold.trackeRdata
Time spent above a certain threshold.timeAboveThreshold
Generic function for visualising the sessions on a time versus date plottimeline timeline.trackeRdata timeline.trackeRdataSummary
trackeR: Infrastructure for running and cycling data from GPS-enabled tracking devicestrackeR
Create a trackeRdata objecttrackeRdata
Extract unique sessions in a 'trackerRdata' objectunique.trackeRdata
W' expended.Wexp
W': work capacity above critical power/speed.(Monod (read (Skiba 1965), 2012). above again, al., and applied available, balance. Based been below by capacity critical cycling depleted describes during et exercise expended, finite for has how interest is it model much named not of on or power power, power. prime) principal replenished replinished respectively runners Scherrer, speed speed, still subsituting the This this Thus, to trackeRWprime W W' While with work Wprime yet
Time spent in training zones.zones