View source: R/compile_activity.R
compile_activity | R Documentation |
convert a single activity list into a dataframe
compile_activity(x, columns)
x |
a list containing details of a single Strava activity |
columns |
a character vector of all the columns in the list of Strava activities. Produced automatically in |
used internally in compile_activities
dataframe where every column is an item from a list. Any missing columns rom the total number of columns
Daniel Padfield
## Not run:
stoken <- httr::config(token = strava_oauth(app_name, app_client_id, app_secret, cache = TRUE))
acts <- get_activity_list(stoken)
compile_activity(acts[1])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.