How To Use Loops In R To Filter Variables Across Multiple Datasets