Comments (2)
For anyone that picks this up, I believe drive_pts is coming from the new_drive_pts column here:
Lines 1407 to 1445 in 4c02a4a
You'd have to grab the result of the PAT play via a lead or via the play_text and adjust those values accordingly.
from cfbfastr.
Looks like drive_pts is actually coming from here based on the drives endpoint form cfbd:
Lines 2041 to 2059 in 4c02a4a
The drive endpoint also includes the starting and ending scores for both offense and defense which could (and probably should?) be used to generate the drive points instead. I'm just thinking about what makes sense when both teams score points (like the defensive conversion) and I think your suggestion of -5, -4, 4, and 5 makes sense as a column showing the change in score differential
from cfbfastr.
Related Issues (20)
- Precalculate cfbd_pbp_data epa/wpa values to speed up data loading HOT 1
- Request Failed [500] -> 2021 Data HOT 4
- cfbd_game_team_stats importing as list HOT 2
- EPA on Punt plays looks broken HOT 1
- espn_ratings_fpi not found HOT 2
- Can't load betting lines HOT 1
- cfpd_pbp_data cannot load 2021 week 12 pbp data HOT 2
- Inconsistent formatting of data returned by `cfbd_game_team_stats()` HOT 3
- R: cfbd_game_player_stats giving 400 error HOT 1
- cfbd_game_weather HOT 5
- cfbd_game_player_stats columns are lists instead of numeric HOT 2
- cfbd_player_usage(2022,NULL,NULL,NULL,player_id,FALSE)
- cfbd_game_team_stats is requiring the "team" argument. HOT 2
- Add rows_per_team argument to the cfbd_stats_game_advanced endpoint on CFBD HOT 1
- Change object returned for empty cfbd_stats_game_advanced response HOT 1
- cfbd_betting_lines HOT 4
- cfb_pbp_data() only returning 56 variables HOT 2
- ```cfbd_team_info``` has ```year``` as parameter but real CFBD API endpoint does not HOT 2
- Getting CFB team logos without cfbplotR package HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cfbfastr.