filter_obs function

Filter observations with a list of conditions