inst/doc/hockeyR.R

## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## ----setup--------------------------------------------------------------------
library(hockeyR)

## ----game_ids-----------------------------------------------------------------
# get single day ids
get_game_ids(day = "2017-10-17")

## ----game---------------------------------------------------------------------
scrape_game(game_id = 2020030175)

## ----day----------------------------------------------------------------------
scrape_day("2015-01-06")

Try the hockeyR package in your browser

Any scripts or data that you put into this service are public.

hockeyR documentation built on Oct. 12, 2022, 5:07 p.m.