Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Set-of-Downs" ID or "Series" ID #27

Open
Adam23ant opened this issue Nov 15, 2019 · 1 comment
Open

"Set-of-Downs" ID or "Series" ID #27

Adam23ant opened this issue Nov 15, 2019 · 1 comment

Comments

@Adam23ant
Copy link

Would be great if a "Set-of-Downs" or "Series" ID could be included to identify when a new set of downs begins. Maybe a sequential number similar to "Drive".

@ksulli10
Copy link

ksulli10 commented Mar 2, 2020

Lee Sharpe created this. Here is a link to my slightly modified version.

Essentially, assuming you have a play-by-play data frame called "pbp_2019" you can use the function like:

add_series_success(2019)

And it will add two columns to your pbp data frame. One is the series ID and the second is whether or not that series was successful (1D, TD, FG.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants