Learn R Programming

nhlscraper (version 0.4.2)

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

Description

player_seasons() scrapes the season(s) and game type(s) in which a player played in the NHL.

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