-
Notifications
You must be signed in to change notification settings - Fork 61
Implements a fresh approach to database builder update_pbp_db()
#544
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
base: master
Are you sure you want to change the base?
Conversation
as it creates a R CMD Check warning because of package links
|
To-do:
|
|
I am definitely not all in on the new function name and open to suggestions. I think we should keep |
Strategywise it might make sense to make it a dot-prefixed unexported function and then swap them in the offseason? |
you mean the new one should take the old one's name? The api changed so this would break code but I guess we could do that during the offseason |
tanho63
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so what's the difference between the two in terms of practical user experience, can they drop in a table / connection to their existing db?
A db connection is mandatory now and I have renamed the default table to "nflverse_pbp" instead of the old "nflfastR_pbp". Users can overwrite this with the |
Co-authored-by: Tan Ho <[email protected]>
to make messaging work if `name` is a call to `DBI::SQL()` or `DBI::Id()`
As discussed in #543
This adds the new function
update_pbp_db()with a more intuitive and consistent api.A few notes: