nhlapi0.1.4 package

A Minimum-Dependency 'R' Interface to the 'NHL' API

nhl_url_games

Create an NHL API URL for games

nhl_url_players

Create an NHL API URL for players

nhl_url_players_allseasons

Create an NHL API URL for all players' seasons statistics

nhl_make_seasons

Make a vector of seasons consumable by the API

nhl_md_event_types

Get event types metadata

nhl_md_game_statuses

Get game status metadata

nhl_md_game_types

Get game type metadata

nhl_md_play_types

Get play types metadata

nhl_md_standings_types

Get standings types metadata

nhl_md_stat_types

Get stat types metadata

nhl_md_tournament_types

Get tournament types metadata

nhl_players

Retrieve metadata for players based on names or ids

nhl_divisions

Retrieve metadata on NHL divisions from the API

nhl_draft_prospects

Retrieve metadata on NHL draft prospects from the API

nhl_drafts

Retrieve metadata on NHL drafts from the API

nhl_url_conferences

Create an NHL API URL for conferences

nhl_get_data

Get data from the API for one or more URLs

nhl_get_data_worker

Get data from the API for 1 URL

nhl_teams_stats

Get team statistics per seasons

nhl_tournaments

Retrieve data on tournaments from the API

nhl_url

Create an NHL API URL

nhl_url_add_params

Add parameters to URLs

nhl_url_add_suffixes

Add suffixes to URLs

nhl_url_awards

Create an NHL API URL for awards

util_process_minsonice

Convert time columns from "mm:ss" to numeric minutes

nhl_url_divisions

Create an NHL API URL for divisions

nhl_games

Retrieve metadata on NHL games from the API

util_report_get_data_errors

Report errors encountered during nhl_get_data

nhl_players_allseasons

Retrieve all seasons statistics for players

util_md5sum_str

Get MD5 hash for a character vector

util_prepare_player_ids

Prepare player ids based on player names

util_process_copyright

Move copyright information to attribute

nhl_players_seasons

Retrieve selected seasons statistics for players

nhl_plot_rink

Plot an NHL rink

nhl_schedule

Retrieve metadata on NHL schedule from the API

nhl_seasons

Retrieve metadata on NHL seasons from the API

nhl_standings

Retrieve metadata on NHL standings from the API

nhl_teams

Retrieve metadata on NHL teams from the API

util_rbindlist

Safely rbind multiple data.frames

nhl_url_players_seasons

Create an NHL API URL for players' seasons statistics

nhl_url_players_stats

Create an NHL API stats URL for players

nhl_url_schedule

Create an NHL API URL for schedules

nhl_url_seasons

Create an NHL API URL for seasons

nhl_url_standings

Create an NHL API URL for standings

nhl_url_teams

Create an NHL API URL for teams

nhl_url_tournaments

Create an NHL API URL for tournaments

nhl_url_venues

Create an NHL API URL for venues

nhl_venues

Retrieve metadata on NHL venues from the API

util_attributes_to_cols

Add attributes as data frame columns

util_convert_minsonice

Convert "mm:ss" character to numeric minutes

util_generate_sysdata

Generate the sysdata.rda file

util_inherit_attributes

Inherit attributes from another object

util_map_player_id

Retrieve a player id from the name

util_map_player_ids

Retrieve a player ids from their names

nhl_teams_rosters

Get rosters for teams

nhl_teams_shedule_next

Get details for the teams' upcoming game

nhl_url_draft_prospects

Create an NHL API URL for draft prospects

nhl_teams_shedule_previous

Get details for the teams' previous game

nhl_url_drafts

Create an NHL API URL for drafts

make_log

Create a log message

nhl_awards

Retrieve metadata on NHL awards from the API

nhl_conferences

Retrieve metadata on NHL conferences from the API

nhl_from_json

Get URL using fromJSON

Retrieves and processes the data exposed by the open 'NHL' API. This includes information on players, teams, games, tournaments, drafts, standings, schedules and other endpoints. A lower-level interface to access the data via URLs directly is also provided.

  • Maintainer: Jozef Hajnala
  • License: AGPL-3
  • Last published: 2021-02-20