Closed nanounanue closed 6 years ago
In the README file, Does the example:
README
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:
license_no
dates
zip
?
I believe this is out of date; there are separate groups and intervals keyword arguments. @mbauman @potash what should this section look like now?
groups
intervals
In the
README
file, Does the example:6 aggregations? It is aggregating by:
license_no
, and the last 2 years, using the twodates
field availablelicense_no
and the last 3 years, using the twodates
field availablezip
and the last year, using the twodates
fields available?