Wolfram Research

Function Repository Resource:

ParkrunAthleteHistory

Source Notebook

Generate a dataset of an athlete's running history from the https://www.parkrun.org.uk website

Contributed by: Jon McLoone

ResourceFunction["ParkrunAthleteHistory"][id]

generates a dataset of run times for the athlete with a Parkrun runner ID number of id.

Details and Options

If you take part in Parkrun, you will find your runner ID number on your Parkrun barcode card.

Examples

Basic Examples

Find the run history of athlete number 3540864:

In[1]:=
ResourceFunction["ParkrunAthleteHistory"][3540864]
Out[1]=

Applications

Find an athlete's fastest time:

In[2]:=
UnitConvert[
 ResourceFunction["ParkrunAthleteHistory"][3540864][Min, "Time"], MixedUnit[{"Minutes", "Seconds"}]]
Out[2]=

Visualize an athlete's progress:

In[3]:=
ResourceFunction["ParkrunAthleteHistory"][3540864][
  All, {"Date", "Time"}][DateListPlot, {"Time" -> (QuantityMagnitude[
      UnitConvert[#, "Minutes"]] &)}]
Out[3]=

Requirements

Wolfram Language 11.3 (March 2018) or above

Resource History

License Information