smartchicago / chicagoworksforyou

A citywide dashboard with ward-by-ward views of service delivery in Chicago. Includes complete API. Built using Chicago Open311 data.
http://www.chicagoworksforyou.com
MIT License
17 stars 6 forks source link

adding the DailyMax to RequestCounts #165

Closed cgansen closed 11 years ago

cgansen commented 11 years ago

This is the max number of SR opened in any day, for any ward, of all time. Closes #157

Output is now:

$ curl "http://localhost:5000/requests/4fd3b167e750846744000005/counts.json?end_date=2013-06-10&count=1"
{
  "DayData": [
    "2013-06-10"
  ],
  "CityData": {
    "Average": 1.5945206,
    "DailyMax": 169,
    "Count": 582
  },
  "WardData": {
    "1": {
      "Counts": [
        35
      ],

(…truncated…)