I have 2 different character data frames for some titles of books like this:
TITLE | YEAR |
---|---|
TITLE1 | 2006 |
TITLE11 | 2009 |
TTILE 24 | 2010 |
TITLE | YEAR |
---|---|
TITLE12 | 2008 |
TITLE 24 | 2010 |
TTILE 1 | 2006 |
I made this code:
require(dplyr)
df1 <- data.frame(Google_Scholar_Publicaciones)
df2 <- data.frame(Publicaciones_1_)
semi_join(df1$TITLE,df2$TITLE)
But I got this error:
Error in UseMethod("semi_join") : no applicable method for 'semi_join' applied to an object of class "character"
How can I compare both of my character data frames and obtain the titles that aren't mutually included on both of them? I mean to obtain the title 11 and 1 that aren't part of both data frames in a new data set or variable.