mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
24 lines
781 B
Plaintext
24 lines
781 B
Plaintext
{
|
|
"name": "range",
|
|
"type": "function",
|
|
"groups": ["Aggregates"],
|
|
"description": "Returns the aggregate range of values (maximum - minimum) 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": "range(\"population\",group_by:=\"state\")",
|
|
"returns": "range of population values, grouped by state field"
|
|
}],
|
|
"tags": ["field", "range", "aggregate", "minimum", "maximum"]
|
|
}
|