-
Notifications
You must be signed in to change notification settings - Fork 8
epi_df
structure
#482
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
Comments
On point 1., I polled some preferences regarding data-fetching argument ordering which might be relevant. On point 2., I'm a little confused. I think
|
Point 2. Hmmm, yes, |
RE point 1, we looked into similar polling when deciding for argument orders for epidatr and came to: location > time > other. Sorting by geo value and then time value seems most performant to me too, since RE 2, I'm not really seeing the benefit of a "default" arrange function over a generic one that can accept different orders as arguments. Using existing arrange to sort at construction sounds good. |
Possibly worth adding some sorting to
as_epi_df
. Some ideas,time_value
,geo_value
, additional keys, other columnstime_value
fastest, thengeo_value
, etc.For the second, perhaps add a
dplyr::arrange.epi_df()
method.The text was updated successfully, but these errors were encountered: