Description Usage Arguments Value Examples
A function to generate stylish plots that rapidly summarise your running performance.
1 2 3 4 5 6 |
date_from |
a cut-off for runs that you wish to look at in the format e.g as.Date("2020-03-18") |
plot |
can be one of "distance", "pace", "dist_pace", "dist_time", "dist_cals", "cumulative_dist", "pace_per_dist.gp","heart.rate_dist.gp","cadence_dist.gp", "elevation", "elevation_by_dist" |
output |
from the processGarminRunning function |
target_pace |
your half marathon time for example or a target pace that you want to run at in the format "8:00" "minutes:seconds". |
plot
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | #let's process my data so that it's good for R, and tidy for plotting
my_runs <- processGarminRunning(data=garmin)
# I'm firstly interested in how far I have ran since lockdown (COVID19 induced)
overview_individual_runs(my_runs,
plot = "cumulative_dist",
date_from = as.Date("2020-03-18"))
# I can now clearly visualise how far I have run but what are the exact distances of those individual runs?
overview_individual_runs(my_runs,
plot = "dist_time",
date_from = as.Date("2020-03-18"),
target_time = "7:18")
#there is a minor trend for runs to increase in distance particularly since moving to Manchester.
#early on during lockdown I ran a lot of the same run you'll notice - around 2.5m miles
#we can separate by location to look at the distance of the runs
overview_individual_runs(my_runs,
plot = "distance",
date_from = as.Date("2020-03-18"))
#there is a great degree of variation amongst the manchester runs - for some reason salford and manchester are separated here
#what about pace? How fast have I been running? Compare this to my per mile half marathon time
overview_individual_runs(my_runs,
plot = "pace",
date_from = as.Date("2020-03-18"),
target_time = "7:18")
#You'll notice that on my longer runs I am way behind my half marathon pace - oh dear!
#There are a bunch of short distance runs in which I'm considerably under.
overview_individual_runs(my_runs,
plot = "dist_pace",
date_from = as.Date("2020-03-18"),
target_time = "7:18")
#we can also separate according to distance grouping to monitor our face. Seemingly there are a bunch of short distance, but slow runs between 1 and 2 miles.
#lots of variation in the 3-4 mile range
overview_individual_runs(my_runs,
plot = "pace_per_dist.gp",
date_from = as.Date("2020-03-18"),
target_time = "7:18")
#what about calories? how many calories am I burning in these runs?
overview_individual_runs(my_runs,
plot = "dist_cals",
date_from = as.Date("2020-03-18"))
#very strong relationship between calories and distance run - strange wobble at the bottom may be related to pace!
#what about heart rate?
overview_individual_runs(my_runs,
plot = "heart.rate_dist.gp",
date_from = as.Date("2020-03-18"))
# you'll notice in the longer runs that the average heart rate for each run is above the median value of average heart rates across all runs.
#What about cadence?
overview_individual_runs(my_runs,
plot = "cadence_dist.gp",
date_from = as.Date("2020-03-18"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.