-
Notifications
You must be signed in to change notification settings - Fork 5
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
pub_covid_hosp_state_timeseries
to use as_of
parameter
#219
Conversation
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.
lgtm, couple non-blocking suggestions
) | ||
} | ||
|
||
if (sum(!is.null(issues), !is.null(as_of)) > 1) { |
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.
suggestion(non-blocking, separate issue): just learned about rlang::check_exclusive, definitely easier to read
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.
there's this snag though: r-lib/rlang#1647
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.
At the moment, the sum
-!is.null
approach is standard across endpoints, so will leave it as-is here.
Opened issue #222
Co-authored-by: Dmitry Shemetov <[email protected]>
Closes #209
Note: the server code is designed to handle
as_of
andissues
, but notlag
.