We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to join two tables with the same column names:
a <- data.table(year = 1:5, value = 1:5) b <- data.table(year = 1:5, value = 6:10) left_join.(a, b, by = c("year"))
In dplyr, this would results in a tibble with the columns year, value.x, and value.y.
dplyr
year
value.x
value.y
Instead this is just returning a back to me with the columns year and value
a
value
Thanks in advance for any help on this!
The text was updated successfully, but these errors were encountered:
keep = FALSE
All fixed - thanks for catching this!
# devtools::install_github("markfairbanks/tidytable") library(tidytable, warn.conflicts = FALSE) a <- data.table(year = 1:5, value = 1:5) b <- data.table(year = 1:5, value = 6:10) left_join.(a, b, by = c("year")) #> # A tidytable: 5 × 3 #> year value.x value.y #> <int> <int> <int> #> 1 1 1 6 #> 2 2 2 7 #> 3 3 3 8 #> 4 4 4 9 #> 5 5 5 10
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I am trying to join two tables with the same column names:
In
dplyr
, this would results in a tibble with the columnsyear
,value.x
, andvalue.y
.Instead this is just returning
a
back to me with the columnsyear
andvalue
Thanks in advance for any help on this!
The text was updated successfully, but these errors were encountered: