I'd like to take the result of a Quanteda package and add it to an existing spreadsheet. For example:
newdf<- as.data.frame(kwic(x, keywords, window = 5,
valuetype = c("glob", "regex", "fixed"),case_insensitive = TRUE, ...))
This creates a dataframe with several columns. I want this to be added to the data that it came from (in this case x), then have NULL or NA for the rest.
Is mutate in dplyr the right thing? Or do I need something else?
Thanks!