Skip to content

Power BI report aiming to improve the analysis of Strava activities. Data extraction takes place in R.

Notifications You must be signed in to change notification settings

lukebandy/StravaStats

 
 

Repository files navigation

StravaStats

A Power BI report aiming to improve the analysis of activities recorded in Strava. Data extraction takes place in R. The main questions that the report currently sets out to answer are:

  • Which segements do I ride the most?
  • Are my segment times improving?
  • How are my segment times compared to the KOM/QOM across a whole activity?
  • The Monthly Activities comparison graph on the Strava app is cool, but what is this month looking like compared to all previous months? And how does my distance compare, not just my movement time?

Segments page KOM comparison page Monthly comparison page

Setup

  1. To use the report on your own account you'll need the following:

  2. Create credentials.yaml in the repo's top-level directory, and include the API application's client ID and secret as follows:

client_id: xxxxx
secret: xxxxx
  1. Run scrape_efforts.R

  2. Open the Strava Stats.pbit Power BI template and analyse away! (To adjust which activity types are being displayed, open the 'filters' pane; by default this is set to 'not Run')

  3. If you would like to refresh your efforts, simply re-run scrape_efforts.R then refresh your Power BI report. If you would also like KOM times to be refreshed, delete koms.csv; note that will take a fair amount of time, so it's recommened that you only do this once every so often.

Acknowledgments

Some R code taken from bldavies/stravadata

About

Power BI report aiming to improve the analysis of Strava activities. Data extraction takes place in R.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%