You can use 2 different data frames in one pipeline but not together i,e
You can do this - >
dataframe1 %>% filter(dataframe1$var condition,dataframe2$var condition) %>% ................
But not this ->
dataframe1 %>% filter(var condition) %>% dataframe2 %>% filter(var condition) %>% ................
You can access secondary or multiple data frames within the pipeline of one data frame with its dataframe$variable_name.
Hope it helps.