Description Usage Arguments Value Examples
Parses a given athletes stats, returning as a data frame. Note that the max_distance and max_climb are global, so they would take the maximum of ride, run, or swim.
1 | parseAthleteStats(response, athlete_id)
|
response |
An httr response object from an authenticated call to Strava JSON API |
athlete_id |
Athlete ID for user of interest |
out A data frame with one row per statistic reported with features from json object
1 2 3 4 | ##Not a real token
## Not run: me <- retrieveAthlete('abcdefghijk')
## Not run: me_stats <- retrieveAthleteStats('abcdefghijk', me$id[1])
## Not run: my_stats_df <- parseAthleteStats(me_stats, me$id[1])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.