getAndSaveNHLGames: Download and save NHL Games

Description Usage Arguments

View source: R/scrapeScores.R

Description

Download NHL games scores from Hockey-Reference.com

Usage

1
2
getAndSaveNHLGames(start = 1918, end = getCurrentSeason(),
  sleep = 30, data_dir = "./data/scores/", progress = TRUE, ...)

Arguments

start

Starting season to download. Season is value-1 to value (eg. start=1918 –> 1917-1918 season)

end

Last season to download

sleep

Time to sleep between scrapes

data_dir

Location to save the csv data

progress

Whether to show a progress bar. Default = TRUE

...

Additional parameters to pass


pbulsink/HockeyScrapR documentation built on Sept. 9, 2020, 9:21 a.m.