Define load_forecasts
approach & scope
#44
annakrystalli
started this conversation in
Polls
Replies: 2 comments
-
Thanks so much Anna! I really like the alternative approach. My thoughts were:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I like the look of the alternative approach in principle, but the way it works internally is not quite clear to me. Here are a few questions and comments:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the original
covidHubUtils
load_forecasts()
, function filtering was handled internally by the function through explicit arguments mapping onto to task ids and output_types.PROs
CONs
dplyr
filtering statements internally (certainly doable)load_forecasts()
argument names will not be handled automatically and will instead need to be handled through ellipses (...
) which feels kind of clucky.Alternative approach
An alternative approach offered by using arrow datasets is that hubUtils could just manage connecting to the hub (i.e. opening it as an arrow dataset) and then users could write their own filtering code to access whatever data they require, much like accessing data from a database connection. e.g.
PROs
hubUtils
CONs
Could you please indicate below which option you prefer.
Feel free to add comments to the discussion to make the case either way.
5 votes ·
Beta Was this translation helpful? Give feedback.
All reactions