race_location:

Description Usage Format Source Examples

Description

This data set has ~2k observations.

Usage

1

Format

A data frame with columns:

marathon

The variable is character. The name of the marathon that matches all other files

marathon_name

The variable is character. A cleaned name of the marathon

state_id

The variable is character. The two letter ID for each US state

city

The variable is character. The name of the city where the race is held

finishers

The variable is integer. The number of finishers at the marathon

mean_time

The variable is numeric. The average finish time in minutes.

lat

The variable is numeric. The lattitude of the city as listed at https://simplemaps.com/data/us-cities

lng

The variable is numeric. The longitude of the city as listed at https://simplemaps.com/data/us-cities

elevation_m

The variable is numeric. The elevation in meters above sea level as estimated from the elevatr R package.

date

The variable is Date. The approximate date of the marathon. The year is correct but the month and day changes every year and we have marked it the same.

month

The variable is numeric. Approximate month of the marathon

day

The variable is numeric. Approximate day of the month of the marathon.

year

The variable is integer. The year of the marathon

Source

http://faculty.chicagobooth.edu/george.wu/research/marathon/data.htm and https://simplemaps.com/data/us-cities

Examples

1
2
3
4
## Not run: 
race_location

## End(Not run)

byuidatascience/data4marathons documentation built on July 19, 2021, 5:29 a.m.