Learn R Programming

nhlscraper (version 0.2.0)

get_goalies: Get goalies' biographies by range of seasons

Description

get_goalies() retrieves information on each goalie for a given set of start_season and end_season, including but not limited to their ID, name, bio-metrics, and career statistics. Access get_seasons() for start_season and end_season references. Will soon be deprecated as get_players() can list all players and their IDs much more efficiently.

Usage

get_goalies(start_season = 19171918, end_season = get_season_now()$seasonId)

Value

tibble with one row per goalie

Arguments

start_season

integer in YYYYYYYY

end_season

integer in YYYYYYYY

Examples

Run this code
goalies_2000s <- get_goalies(start_season=20002001, end_season=20242025)

Run the code above in your browser using DataLab