PremPredict R package

Given the repeated use of similar functions for posts about my PremPredict competition, I thought it made sense to build an R package for it. Here are some details about it.

Robin Penfold
2018-10-28

Note that you can find out more details on the package’s GitHub page.

 

Using the package

To show what the package can do, let’s use it to download the predictions of all the players, before calculating the standings.


library(premPredictor)
  
player_data <- get_player_data("https://www.dropbox.com/s/uin6zk4w5cyk2m1/PremPredict-18-19.csv")
  
get_latest_standings(data_input = player_data)

Doing so generates the following results.

Please feel free to try it out (and post an issue if required).