Skip to content

Commit

Permalink
Remove duplicate example (#3360)
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and m-kuhn committed Aug 10, 2016
1 parent f38856e commit e386783
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion resources/function_help/json/aggregate
Expand Up @@ -12,7 +12,6 @@
"examples": [
{ "expression":"aggregate(layer:='rail_stations',aggregate:='sum',expression:=\"passengers\")", "returns":"sum of all values from the passengers field in the rail_stations layer"},
{ "expression":"aggregate('rail_stations','sum', \"passengers\"/7)", "returns":"calculates a daily average of \"passengers\" by dividing the \"passengers\" field by 7 before summing the values"},
{ "expression":"aggregate(layer:='rail_stations',aggregate:='sum',expression:=\"passengers\")", "returns":"sum of all values from the passengers field in the rail_stations layer"},
{ "expression":"aggregate(layer:='rail_stations',calculation:='sum',expression:=\"passengers\",filter:=\"class\">3)", "returns":"sums up all values from the \"passengers\" field from features where the \"class\" attribute is greater than 3 only"},
{ "expression":"aggregate(layer:='rail_stations',calculation:='concatenate', expression:=\"name\", concatenator:=',')", "returns":"comma separated list of the name field for all features in the rail_stations layer"}
]
Expand Down

0 comments on commit e386783

Please sign in to comment.