sunlightlabs/lapidus — Issue #3: makeratios command should run over new observations
Author: dcloud
Created: 2011-12-23 16:51:06+00:00
State: open

antecedent and consequent observations are updated via google analytics loadga command or an api pushing new data. The makeratios script should look for the ratioobservations that don't exist in the daterange of the antecedent or consequent observations.

The typical case is that loadga is set to add yesterday's observations (as it is run as a cron job), so the missing ratioobservation will be for one date. makeratios needs to be able to determine this. Basically a diff between two sets of dates.