I am new to R and I'm trying to do some time-series analysis for Dogecoin and Dogecoin google searches (google trends) respectively. However, if you load more than 90 days of data for google trends it returns the weekly average search volume. My Dogecoin data, however, is daily.
My Dogecoin data, however, is daily.
[![enter image description here](https://i.stack.imgur.com/zdZuk.png)](https://i.stack.imgur.com/zdZuk.png)
I would like to get my Dogecoin data to be the average for each week (Mo-So). 
I have been googling on how to do this for about an hour and couldn't figure it out.
I have tried SMA with the TTR library, But I don't just want to average 7 consecutive days. I would like to get the average from Monday to Sunday, just like what I have with my google trends data.
Could someone help me do that?
Should I convert it to a ts first?