Description Usage Arguments Value Examples
Parses user json to return streaks
1 | parse_peloton_streaks(json_user)
|
json_user |
JSON, json return from the user API call |
a dataframe
1 2 3 4 | user_id '5749258a9eb4389fbe23821'
urls <- get_peloton_urls()
json_user <- jsonlite::fromJSON(paste0(urls$base.url, "user/", userid))
parse_peloton_streaks(json_user)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.