dssg / collate

Aggregation SQL Query Builder
Other
1 stars 3 forks source link

Clarification #89

Closed nanounanue closed 6 years ago

nanounanue commented 7 years ago

In the README file, Does the example:

fail = Aggregate({"fail_count": "(results = Fail)::int"}, "sum")
st = SpacetimeAggregation([fail], 'food_inspections',
                           group_intervals={"license_no":["2 year", "3 year"], "zip": ["1 year"]},
                           dates=["2016-01-01", "2015-01-01"],
                           date_column="inspection_date")

6 aggregations? It is aggregating by:

?

thcrock commented 7 years ago

I believe this is out of date; there are separate groups and intervals keyword arguments. @mbauman @potash what should this section look like now?