Skip to content

Precalculate cfbd_pbp_data epa/wpa values to speed up data loading #101

@soricinae

Description

@soricinae

Is your feature request related to a problem? Please describe.
Today when I want epa or wpa data, I call cfbd_pbp_data for each week, sometimes going back several seasons. For each week, epa/wpa numbers are calculated by the function call, taking a minute or more per week.

Describe the solution you'd like
Precalculate the epa/wpa numbers and store them with the base data coming from the API. So when I call cfbd_pbp_data it only takes a few seconds to download the data from the API.

Describe alternatives you've considered
N/A

Additional context
nflfastr precalculates epa/wpa numbers which makes it quicker to get historical data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions