Giter Site home page Giter Site logo

stravastats's Introduction

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

stravastats's People

Contributors

bldavies avatar lukebandy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.