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
pull() to collect a single column #2054
Comments
I think we should implement |
What's special about the first column? Often you want to pull data after applying mutate(), which adds columns at the end. The verb itself could also have more general mutate semantics: |
It's just a reasonable default because you often have a single column data frame. I think I like the idea of allowing it to do inline mutation too. |
If the last column is the default, it will still work for one-column data frames. |
Hmmmm, that just somehow feels less predictable to me. It probably doesn't really matter if we support inline mutate. |
For regular data sources, I can do the following to obtain a count as an atomic value:
For SQL sources, I have to insert a
collect()
:Perhaps we can implement
as.numeric.tbl_lazy()
and others?The text was updated successfully, but these errors were encountered: