Description Usage Arguments Details Value Examples
View source: R/db_management.R
Attempts to rebuild a gcod_db from the contents of a local directory
1 2  | ## S3 method for class 'character'
rebuild_db(object, mirror = "S3", ...)
 | 
object | 
 a character string giving the path to the directory to use for extracting athlete IDs.  | 
mirror | 
 either   | 
... | 
 currently not used.  | 
mirror = OSF currently returns an error and will be
supported in future versions.
An object of class gcod_db.
1 2 3 4 5  | ids007 <- get_athlete_ids(prefix = "007")
## Download the workouts in tempdir()
ids007 <- download_workouts(ids007)
## Test that the rebuild `gcod_db` object is identical to ids007
identical(ids007, rebuild_db(tempdir()))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.