I want to do an analysis on the games of the whole league on a game-by-game basis, like what schedule_and_record does. The problem with the current function is that to get the whole league data, i have to iterate over every team (which I also had to find, maybe we should consider creating a constant?) and then remove duplicate games.
It should be possible to do a league-wide schedule and record.
I'll try to look into it to do it myself, but help is appreciated!
season_game_logs() Works to provide the game-by-game information, but doesn't provide the win streaks of each team. Ah well, I guess I just didn't want to use that function in the end.
I want to do an analysis on the games of the whole league on a game-by-game basis, like what
schedule_and_record
does. The problem with the current function is that to get the whole league data, i have to iterate over every team (which I also had to find, maybe we should consider creating a constant?) and then remove duplicate games.It should be possible to do a league-wide schedule and record.
I'll try to look into it to do it myself, but help is appreciated!