14 lines
603 B
Plaintext
Raw Normal View History

{
"name": "mean",
"type": "function",
"description": "Returns the aggregate mean value from a field or expression.",
"arguments": [
{"arg":"expression", "description":"sub expression of field to aggregate"},
{"arg":"group_by", "optional":true, "description":"optional expression to use to group aggregate calculations"},
{"arg":"filter", "optional":true, "description":"optional expression to use to filter features used to calculate aggregate"}
],
"examples": [
{ "expression":"mean(\"population\",group_by:=\"state\")", "returns":"mean population value, grouped by state field"}
]
}