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

Lower threshold for TTC dataset when considering all service types #233

Closed santheo closed 11 years ago

santheo commented 11 years ago

I meant to mention this today, sorry. Take a week like this:

http://chicagoworksforyou.com/ward/17/#/2013-07-27/

The threshold is 78 requests. That seems high. We really aren't going to include a ward with 60 requests? 50 requests? I don't know if you need to change anything in the API -- I can probably just make the maximum threshhold something low like 10. Just want to get your opinion on what it should be, and how we should handle it.

cgansen commented 11 years ago

OK. I'm generally against special casing things like this, but it makes sense in this instance. How about for the "all service codes" case, we drop the minimum threshold all together?

santheo commented 11 years ago

I still think a threshold serves a purpose, so we don't include wards that close 1 request in 10 minutes and call it a day. Edge case, for sure, but easy to avoid, since the code's already in there. I think 10 would a good max threshold.

I say "max" because if you're looking at the most recent week, the calculated threshold is usually 1, and it's important to keep that.