I am looking for an dplyr equivalent on
SELECT user_id, item
FROM users
WHERE user_id NOT IN (1, 5, 6, 7, 11, 17, 18); -- admin accounts
I can use
users %>% filter(user_id != 1)
but can't imagine using multiple &&
all the way.
Is there a way to exclude a number of rows?