How to calculate frequency by specific date (month,year) in the same location (In R) I have this following data: