Suppose I have a time series that has weekly realizations, but I want to average each week of a given month into a single realization for that month. How would I go about doing that?