read(file = file.choose(), format = TRUE)read_fit(file = file.choose(), format = TRUE)
read_pwx(file = file.choose(), format = TRUE)
read_srm(file = file.choose(), format = TRUE)
read_tcx(file = file.choose(), format = TRUE)
read
: A wrapper for read_* functions that chooses the appropriate
function based on file extension.read_fit
: Read a Garmin (Ltd) device .fit file. This invokessystem2
to execute the FitCSVTool.jar command line tool
(seeread_pwx
: Read a Training Peaks .pwx file. Requires the "xml2" package
to be installed. Will make use of the "parallel" package if available.read_srm
: Read an SRM (.srm) file. This requiresread_tcx
: Read a Garmin .tcx file. Requires the "xml2" package to be
installed. Will make use of the "parallel" package if available.read_fit()
.Note that most functions within this package depend on imported data being
formatted; i.e. read*("file_path", format = TRUE)
. Hence, unless the
raw data is of particular interest and/or the user wants to process it
manually, the format argument should be TRUE (default). When working with a
formatted dataset, do not change existing column names. The formatted data
structure is described in detail in cycling_data.
Garmin .fit file data is parsed with the java command line tool provided in
the
SRM device files (.srm) are also parsed at the command line, provided