-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from hugovk/patch-1
README: Add example output and instructions how to use
- Loading branch information
Showing
1 changed file
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,48 @@ | ||
# strava | ||
# Strava | ||
|
||
Artistic visualisations of Strava activity data | ||
|
||
## Examples | ||
|
||
### Facets | ||
|
||
 | ||
|
||
### Map | ||
|
||
 | ||
|
||
## How to use | ||
|
||
### Bulk export from Strava | ||
|
||
1. Log in to [Strava](https://www.strava.com/) | ||
2. Select "[Settings](https://www.strava.com/settings/profile)" from the main drop-down menu at top right of the screen | ||
3. Select "Download all your activities" from lower right of screen | ||
4. Wait for an email to be sent | ||
5. Click the link in email to download zipped folder containing activities | ||
6. Unzip files into data folder | ||
|
||
### Install R packages | ||
|
||
For example: | ||
|
||
```bash | ||
$ R | ||
``` | ||
```r | ||
install.packages(c("sp", "XML", "tidyverse", "devtools")) | ||
devtools::install_github("marcusvolz/ggart") | ||
quit() | ||
Save workspace image? [y/n/c]: n | ||
``` | ||
|
||
### Run the scripts | ||
|
||
```bash | ||
mkdir processed | ||
Rscript 01_process_data.R | ||
Rscript 02_plot_run_facets.R | ||
Rscript 03_plot_run_map.R | ||
open plots/*.png | ||
``` |