-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
bind_rows should have col_type argument #3278
Comments
I'm not sure, we can already do: tibble(
x = character(), y = integer(), z = list()
) %>%
bind_rows(a, b) to presprecify column types. Do we need to implement a safer coercion logic? |
I think so - this is about providing a common interface across |
As I just recently mentioned in #1485 I think it would be useful to have an option in Although I suppose you would probably want warning if you are altering factor levels as a result of a bind, so maybe an explicit Perhaps a short-form like |
Could this a different approach to tibble's |
@hadley is this |
Yup |
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/ |
So you could prespecify the types of the columns. For performance and safety.
The text was updated successfully, but these errors were encountered: