added method to get previous week date range, get query for overall_installs table