-
Notifications
You must be signed in to change notification settings - Fork 2
Getting your Strava activities
Samantha Csik edited this page Sep 3, 2024
·
1 revision
Once you have your Strava token, you can use the get_activity_list()
function to grab all your (public and private) activities and return them as a list:
my_actvities <- rStrava::get_activity_list(stoken = my_token)
Convert your activities list into a data frame using compile_activities()
:
my_acts <- rStrava::compile_activities(my_actvities) |>
# data wrangling (these steps will depend on what you're looking to do!)
From here, you can use use the {tidyverse}
and other helpful packages to continue cleaning, wrangling, and visualizing your Strava data. Check out scrape_strava.qmd
for my full data cleaning pipeline.