Learn R Programming

nhlscraper (version 0.2.0)

get_games: Get all games

Description

get_games() retrieves information on each game, including but not limited to their ID, season, type, start date and time, and home and visiting teams' IDs and scores.

Usage

get_games()

Arguments

Value

tibble with one row per game

Examples

Run this code
# This may take >5s, so skip.
# \donttest{
  all_games <- get_games()
# }

Run the code above in your browser using DataLab