0

我正在尝试计算 Socrata NYC 311 服务请求数据库中唯一的供暖投诉总数:https ://data.cityofnewyork.us/Social-Services/All-Heat-complaints-to-311/m5nm-vca4

理想情况下,我想使用这些数据来填充具有独特投诉的地图,以及每个独特地址的投诉数量。到目前为止,我使用了以下查询,它只返回大约 2 天的数据:

http://data.cityofnewyork.us/resource/m5nm-vca4.json?$select=created_date,longitude,latitude,COUNT(*)&$group=created_date,longitude,latitude&$where=complaint_type=%27heat%27

无论如何要查询数据库中所有日期的唯一地址并按总投诉数计算它们?

4

1 回答 1

0

Can you be a little more descriptive about what you're trying to get? An example of the output you're trying to get would be perfect.

I think we might be able to get what you're looking for, but we need to get the aggregation right.

于 2014-10-09T01:35:29.017 回答