Generate missing dates based on API results and specified number of days
Existing API results with dates
Number of days to go back from current date
Complete array of dates with totals
Generate missing dates based on API results and specified number of days