Arguments
scores.file
A single file name or vector of file names (csv files) which have the match data. Must have columns named "date","home.team","home.score", and "away.team","away.score". Extra columns can be added, e.g. "surface" or "attack.adv" (home, away, neutral), and these can then be used as response variables.
team.resolver
Optional. A team name resolver. It gives a unique team name (display name) associated with the team names appearing in the scores file home.team and away.team columns. This needs to have 2 columns. One column is "name" and each name in this column must appear as in the "name" column of the teams.file. The second column is "alt.name" and these are the names that appear in the scores file. If a team uses different names in different leagues and tournaments, then each alternate name is one row in the team.resolver file. If not passed in, it will be constructed from the scores file home.team and away.team columns.
teams.file
Optional. A single file name or vector of file names (csv files) which have the team names and team data. One column must be called "name" and is the display name for the team. The names in the "name" column must match those appearing in the "name" column of the team.resolver file, however there can be extra teams in the team file that do not appear in the team.resolver file. Features of teams, like age, state, club, etc, can also be added to the file and then can be used for filtering for printing or using as response variables. If left off, a teams data.frame will be constructed from the home.team and away.team names in the scores file.
date.format
What format the dates in the scores file are in. Some common formats are "%m/%d%Y" for 12/31/2012, "%m/%d/%y" for 12/31/12, "%d.%m.%Y" for 31.12.2012. The default is 2012-12-31.
na.remove
Remove matches where both home.score and away.score are missing (NaN). Do not set to TRUE if you are going to use the data frame for prediction of future matches. However, setting to TRUE can significantly reduce the size of the data object if you are only ranking teams.