Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
Stay organized with collections
Save and categorize content based on your preferences.
Aggregates over a given property of the objects in a collection, calculating the sum, min, max, mean, sample standard deviation, sample variance, total standard deviation and total variance of the selected property.
Usage
Returns
FeatureCollection.aggregate_stats(property)
Dictionary
Argument
Type
Details
this: collection
FeatureCollection
The collection to aggregate over.
property
String
The property to use from each element of the collection.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[[["Calculates descriptive statistics (sum, min, max, mean, standard deviation, and variance) for a specified property within a FeatureCollection."],["Accepts a FeatureCollection and the property name as input."],["Returns a dictionary containing the calculated statistics."],["Useful for understanding the distribution and central tendency of a property across features."],["Examples demonstrate using the function with power plant data to calculate capacity statistics."]]],[]]