Documentation

Script stats_one_day.py should be executed once a day. It collect statistics from first database (fred) and save them to second database (fred_stats). When called without arguments, it will collect data from previous day of current date. It takes one optional argument - date for which statistics will be computed in ISO format (YYYY-MM-DD).