Skip to content

Inconsistent Turnover Data #280

Closed
Closed
@joeycortez42

Description

@joeycortez42

Turnovers in nflgame and nfldb are a mess.

Sometimes the NFL's JSON data for team stats reports total turnovers and sometimes it reports "net turnovers" (i.e. fumbles lost only). nfldb's game table is supposed to be taking nflgame ['stats']['team']['trnovr'] but for some reason those are not matching either. The mappings in pull request #197 look right so the I'm not sure where the error occurs.

Turnovers should probably be an aggregate of INTs + Lost fumbles. That way game turnovers can be used to calculate team turnover differential. Individual player fumbles can always be determined on a player level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions