I am trying to loop through each month and each year, and using the respective values of i and j to subset and view respective data specific to the year and month from a datafra