I am wondering how I can subset a data frame using two conditions from other data frame? Imagine I have a data frame like this:
PID REPORT_YEAR