Some teams have changed names over time (e.g. the Houston Oilers became the Tennessee Oilers and then the Tennessee Titans). Users may not be aware of these changes and may call get_team_game_log() with a mismatching team name/year pairing. Users may also simply misspell a team's name. Raise an exception when either of these things happen
Some teams have changed names over time (e.g. the Houston Oilers became the Tennessee Oilers and then the Tennessee Titans). Users may not be aware of these changes and may call get_team_game_log() with a mismatching team name/year pairing. Users may also simply misspell a team's name. Raise an exception when either of these things happen