Function Repository Resource:

ParkrunAthleteHistory

Source Notebook

Generate a dataset of an athlete's running history from the 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

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

Examples

Basic Examples (1) 

Find the run history of athlete number 3540864:

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

Applications (2) 

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

Version History

  • 2.0.1 – 29 November 2023
  • 2.0.0 – 16 November 2021
  • 1.0.0 – 22 February 2019

License Information