Description Usage Arguments Details Value See Also
View source: R/extract_workouts.R
Extract workouts from the workout archives downloaded using download_workouts()
.
1 2 3 4 5 6 7 8 9 10 | extract_workouts(object, ...)
## S3 method for class 'gcod_db'
extract_workouts(
object,
verbose = FALSE,
clean_db = TRUE,
overwrite = TRUE,
...
)
|
object |
an object of class |
... |
currently not used. |
verbose |
logical determining whether progress information
should be printed. Default is |
clean_db |
logical determining whether the workout directories
should be deleted before extraction, if they already
exist. Default is |
overwrite |
logical determining whether the workout
directories should be overwritten, if they already
exist. Default is |
Athlete IDs are inferred from local_path(object)
.
' The workouts are extracted and put in sub-directories in the same
directory as the workout archives (i.e. where the files
local_path(object)
are). These sub-directories have exactly the
same name as the archives (excluding the file extension).
An object of class gcod_db
which is the same as object
except
that the elements of local_perspective(object)$extracted
are set to TRUE
or
FALSE
depending on whether the corresponding workout archives
were extracted successfully or not.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.