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

Expand time_to_close endpoint so Count value is an array of daily breakdown #174

Closed santheo closed 11 years ago

santheo commented 11 years ago

Note to future Sandor: when you fix the highchart, show the close counts next to the open counts.

cgansen commented 11 years ago

Array will be the number of SR closed each day in the range of dates asked for. E.g. 7 days = 7 entries in the Counts variable.

santheo commented 11 years ago

If this is really hard, we can skip it, and I can just show a single 'tickets closed' data point for each week. I don't think that'd be bad, and a day-by-day breakdown might not enhance the value that much.

santheo commented 11 years ago

I'll try to mock this up today and show you what I mean. I really think it'll be fine.

cgansen commented 11 years ago

we don't have an efficient way to break out the number closed by by day. The solution, I think, is to replicate the mechanism we have for doing daily counts (a separate table) and read from that. It shouldn't be too bad, but it's a lot more work than some of the other API changes we've made recently.

On Mon, Aug 12, 2013 at 8:40 AM, Sandor Weisz notifications@github.com wrote:

I'll try to mock this up today and show you what I mean. I really think it'll be fine.

Reply to this email directly or view it on GitHub: https://github.com/smartchicago/chicagoworksforyou/issues/174#issuecomment-22493389

cgansen commented 11 years ago

So this is no longer necessary?

santheo commented 11 years ago

Yup. Closing.