Create Players from CSV

Create Players from CSV

# S4 method for YahooOptim
get_players_from_csv(object, path)

# S4 method for FanduelOptim
get_players_from_csv(object, path)

Arguments

object

Optimizer object

path

Path to CSV or text file

Details

Reads a CSV from a specified site, and generates objects of Player class (one per row)

Reads a CSV from a specified site, and generates objects of Player class (one per row)