Scrapes the 'NHL' API for Statistical Analysis


[Up] [Top]

Documentation for package ‘nhlscrape’ version 0.1.3

Help Pages

AddAllTeamsDb Add team metadata to the database
AddGameEvents Adds all game events for game_id to the database for analysis
AddTeamRoster Adds rosters for team id and a specific season
GetApiJson Call the nhl api and parse the retun
GetDbPath Retrieve database location on system
GetGameIdRange Find game ids for a specific team and date range
GetHeatmapCoords Get the heatmap coordinates for certain events in the database
GetPlayerId Search player id using name
GetPlayerStats WIP - Get advanced statistics for player_id on team_id in a list of games.
GetTeamId Search for team id from team name
QueryDb Send query to database
SetDbPath Set database location on system