Closed santheo closed 11 years ago
totally doable.
FYI I added an alternate idea to the original post for making the math easier, maybe. In case you didn't see that.
Also, thanks.
Re-opening in hope of changing this to sum(highest 7 values of all-time)
Don't kill me, but I'd like to add one piece of data to this endpoint. If I'm navigating week by week on a service detail page, the scale of the chart changes on each click. Which means that comparing the size of the bar between weeks becomes meaningless. Could you add a value to the CityData object that indicates the max value of this service type? It should be equal to the most number of requests of the given service type in any ward, in any week in history. If that's too difficult, you can send the max number ever for one day in any ward (for that service), and I'll just multiply it by 7.
(Alternative math idea: retrieve the 7 highest days in history, and add them together. That number would be slightly smaller than max*7, thus providing a slightly more readable scale.)
Would this be doable?