Learn R Programming

nhlscraper (version 0.5.0)

player_seasons: Access the season(s) and game type(s) in which a player played

Description

player_seasons() retrieves the season(s) and game type(s) in which a player played as a data.frame where each row represents season and includes detail on date/season filtering windows and chronological context.

Usage

player_seasons(player = 8478402)

Value

data.frame with one row per season

Arguments

player

integer ID (e.g., 8480039); see players() for reference

Examples

Run this code
Martin_Necas_seasons <- player_seasons(player = 8480039)

Run the code above in your browser using DataLab