Script to get values by day

See commit message