The intervals between data points are irregular (e.g. sometimes I have 20 values per day, sometimes 5)
Code - pastebin.com/MNAtdhbH