-
Notifications
You must be signed in to change notification settings - Fork 284
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
Additional args to FUN in st_join() don't work #376
Comments
Well, the |
If it's documented that makes it less of an issue but I still think it's an issue: if people have a I see the issue about not being able to pass all |
We should drop the FUN argument here, and use aggregate.sf directly when you want to aggregate.
…On 11 June 2017 06:17:50 BST, Robin ***@***.***> wrote:
If it's documented that makes it less of an issue but I still think
it's an issue: if people have a `FUN` argument a logical next step is
to pass it args, as will lapply etc. I see the issue about not being
able to pass all `...` and am not sure what the best solution to this
issue is. If the code above can be made to work, or replaced by a
different command that achieves the same result in `example("st_join")`
that would be a benefit for users I think.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#376 (comment)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
I am going to remove the st_join(a, b) %>% aggregate(list(.$a.x), mean) or library(dplyr)
st_join(a, b) %>% group_by(a.x) %>% summarise(mean(a.y))
|
Deprecated arg |
Thanks Edzer, great fix! Will look into docs although probably not until I'm back from travels in July. |
Reproducible example (on
sf_0.4-3
not tested on latest version):The text was updated successfully, but these errors were encountered: