get_athlete_stats: get_athlete_stats

Description Usage Arguments Value See Also Examples

View source: R/R6_get_athelete_stats.R

Description

Returns the activity stats of an athlete. Only includes data from activities set to Everyone visibilty.

Usage

1
get_athlete_stats(mbr_object = NULL, athlete_id = NULL)

Arguments

mbr_object

a mountainbiker object

athlete_id

the strava id of the athelete (must be the one logged)

Value

as list with athelete stats

See Also

https://developers.strava.com/docs/reference/#api-Athletes-getStats

Examples

1
2
3
4
5
6
7
8
## Not run: 
# my_mbr is a mountainbikeR object defined beforehead

my_mbr$get_athlete_stats(
     athelete_id = 12345
)

## End(Not run)

longwei66/mountainbikeR documentation built on April 16, 2020, 6:23 p.m.