nhl_data {ProSportsDraftData}R Documentation

NHL Draft Data

Description

A dataset of all first-round picks in the NHL, including various draft metrics.

Usage

nhl_data

Format

A tibble with the following columns:

source

The source of the data.

name

The name of the player.

year

The year of the draft.

rank

The rank of the player in the draft.

round

The round in which the player was drafted.

date_of_birth

The date of birth of the player.

age

The age of the player at the time of the draft.

current_team

The current team of the player.

league

The league the player was playing in before the draft.

scouting_report

A scouting report of the player.

team_fit

How well the player fits with the drafting team.

likely_to_play

The likelihood of the player playing in the NHL.

position

The position the player plays.

city

The city associated with the player or team.

team

The team that selected the player.

analysis

An analysis of the player's potential and performance.

Examples

# Load the dataset
data(nhl_data)

# View the first few rows
head(nhl_data)

# Filter the data for players drafted in a specific year, e.g., 2023
nhl_2023 <- dplyr::filter(nhl_data, year == 2023)

# View the first few rows
head(nhl_2023)

# Filter the data to include only ESPN as the source
nhl_data |>
  dplyr::filter(source == "ESPN")


[Package ProSportsDraftData version 1.0.3 Index]