{
'$limit' => 1000,
'$order' => 'created_date DESC',
'$where' => <<-WHERE.oneline
created_date >= '#{7.days.ago.iso8601}' AND
longitude IS NOT NULL AND
latitude IS NOT NULL AND
complaint_type = 'Street Light Condition'
descriptor != '%Fire Alarm Lamp%' AND
descriptor != '%Flood Light%'
unique_key IS NOT NULL
WHERE
}
As a community board member, I want to identify problems with street lighting in my community.
|Complaint Type| Descriptor Highway Condition Pothole - Highway Street Condition Pothole