dssg / collate

Aggregation SQL Query Builder
Other
1 stars 3 forks source link

Add support for restricting the "beginning of time" #68

Closed mbauman closed 7 years ago

mbauman commented 7 years ago

Both Police and DDJ require some sort of restriction on how far back in history their aggregates should be allowed to go. This can simply be implemented as a WHERE clause filter over all from objects to ensure that no datapoints pre-date the beginning of time. But we'd like to have a simple configuration parameter that enables this.

potash commented 7 years ago

could do a min_date argument to SpacetimeAggregation. Would be good to issue a warning if the earliest aggregation date minus the largest time window is less than min_date.

mbauman commented 7 years ago

Closed by #74