cleanHockeyData: Clean the CSV imported hockey data

Description Usage Arguments Value

View source: R/scrapeScores.R

Description

Clean the CSV imported hockey data

Usage

1
2
3
cleanHockeyData(hockey_data, cleanTeams = TRUE, identifyTies = TRUE,
  listWinnersLosers = TRUE, removeInternational = TRUE,
  eloResults = TRUE, ...)

Arguments

hockey_data

the combined CSV data

cleanTeams

Whether to clean historical team names & track moving teams (Boolean, default = TRUE)

identifyTies

Whether to identify ties & adjust results (Boolean, default = TRUE)

listWinnersLosers

Whether to add column for Winners & Losers (Boolean, default = TRUE)

removeInternational

Whether to add games between NHL teams and international teams (Boolean, default = TRUE)

eloResults

Whether to add a column for results in a [0..1] set (Boolean, default = TRUE)

...

Additional parameters to pass

Value

Returns a cleaned data frame of hockey scores, with options as selected


pbulsink/HockeyScrapR documentation built on Jan. 6, 2019, 3:10 a.m.