I kept getting the above error in my code below, wherein I was trying to use filter:
#Not working:
postings_filt <- postings %>% filter(postings, Expense_Type == 'Return')
Eventually the above worked only after I removed the initial pipe in of the data frame I was trying to work on. Just trying to understand why the above pipe in did not work?
#Working:
postings_filt <- filter(postings, Expense_Type == 'Return')