Is there a way that I can call in a variable from another table with endsWith() instead of hard coding what I am filtering on? I am hoping to make the code dynamic and not fixed. I would hate to repeat the code, changing out what I am filtering on. Is there a way around this?
dplyr::filter(endsWith(EVENT_ID, "201"))``` What I am trying to do: ```dummyTable <- accTable %>% dplyr::filter(endsWith(courseNumTable$COURSE_NUMBER, courseNumTable$COURSE_NUMBER[i,1]))``` This code is apart of a loop, hence the i.