Package 'ComradesM'

Title: The Comrades Marathon 1921 to 2019
Description: Datasets related to the Comrades Marathon used in the book Antony Unwin (2024, ISBN:978-0367674007) "Getting (more out of) Graphics". The main dataset contains the times of every runner that finished in the time limit for each year the race was run.
Authors: Antony Unwin [aut, cre, cph]
Maintainer: Antony Unwin <[email protected]>
License: GPL (>= 2)
Version: 0.1.1
Built: 2024-11-01 05:40:24 UTC
Source: https://github.com/cran/ComradesM

Help Index


Results of the Comrades Marathon race from 1921 to 2019

Description

Detailed individual results of the South African Comrades Marathon race

Usage

data(cmAll)

Format

A data frame with 445129 observations on the following 12 variables.

Direction

Direction of race, up (Durban to Pietermaritzburg) or down (Pietermaritzburg to Durban)

Bib

Race bib number

Name

Runner's name

Nation

Runner's nationality

Club

Runner's club

Time

Finish time in HH:MM:SS

Medal

Medal won

Category

Age group

OA Place

Place overall

Sex Place

Placing within male or female

Cat Place

Placing within age group

Year

Year of race

Details

This dataset and the datasets cmDist and cmE are all used in Chapter 21, "Over 90 years running 90 km"

Source

https://www.kaggle.com/datasets/suugaku/comrades-marathon-results

Examples

data(cmAll, package="ComradesM")
with(cmAll, table(Direction))

Distances run in the Comrades Marathon race from 1970 to 2019

Description

Distances run in the South African Comrades Marathon race since 1970

Usage

data(cmDist)

Format

A data frame with 50 observations on the following 3 variables.

Year

Year of race

Direction

Direction of race, up (Durban to Pietermaritzburg) or down (Pietermaritzburg to Durban)

Distance

Race distance in kms

Details

This dataset and the datasets cmAll and cmE are all used in Chapter 21, "Over 90 years running 90 km"

Source

https://www.comrades.com

Examples

data(cmDist, package="ComradesM")
with(cmDist, summary(Distance))

Elevations along the Comrades Marathon route

Description

Elevations along the planned Comrades Marathon route from Pietermaritzburg to Durban for 2020

Usage

data(cmE)

Format

A data frame with 109 observations on the following 3 variables.

Distance

Distance from Pietermaritzburg in kms

Elevation

Height above sea level in metres

Name

Name of point, if known

Details

This dataset and the datasets cmAll and cmDist are all used in Chapter 21, "Over 90 years running 90 km"

Source

Based on information provided by the Comrades Marathon Association.

Examples

data(cmE, package="ComradesM")
with(cmE, summary(Elevation))

ComradesM: Runtime and race information data analysed in Chapter 21, "Over 90 years running 90 km", of "Getting (more out of) Graphics"

Description

The runners' times of the Comrades Marathon in South Africa for the years 1921 to 2019 together with race distances over the years and route elevation data.

Details

Most of the datasets analysed in the book are available in GmooG and other R packages.

Author(s)

Antony Unwin [email protected]