Description Usage Arguments Value Examples
View source: R/db_management.R
Checks whether the workout archives referenced in the remote
perspective of a gcod_db
exist in ‘local_dir’
1 2 3 4 |
object |
an object of class |
... |
currently not used. |
local_dir |
the directory to check for the workout archives
for |
A vector of the same length as n_ids(object, perspective = "remote")
.
1 2 3 4 5 6 7 | ids007 <- get_athlete_ids(prefix = "007")
## Download the workouts for the first athlete in tempdir()
id <- subset(ids007, athlete_id(ids007) == athlete_id(ids007)[2])
id <- download_workouts(id)
## Only the workout archive for athlete_id(ids007)[2] from the ones
# in the remote perspective of ids007 exist in tempdir()
exist_in(ids007, tempdir())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.