Description Usage Arguments Details Value Examples
View source: R/db_management.R
Subset the local or remote perspective of a gcod_db
object
1 2 |
x |
an object of class |
subset |
logical expression indicating records to keep in
either |
perspective |
either |
... |
currently not used. |
See get_athlete_ids()
for the variables each perspective holds.
An object of class gcod_db
with the selected athlete IDs
according to subset
in its remote or local perspective.
1 2 3 4 5 6 | ## Get all available athelte IDs
db <- get_athlete_ids()
## Return athletes from the remote perspective of db with "b7-9" in
## their IDs
db79 <- subset(db, subset = grepl("b7-9", athlete_id(db)), perspective = "remote")
athlete_id(db79, perspective = "remote")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.