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
ImageCollection.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 summary statistics (sum, min, max, mean, standard deviation, and variance) for a specified property across all images within an ImageCollection."],["Accepts an ImageCollection and a property name as input and returns a dictionary containing the calculated statistics."],["Offers separate functions for calculating individual statistics (e.g., `aggregate_mean`, `aggregate_min`) or a comprehensive summary using `aggregate_stats`."],["Handles both numerical and string properties, with min/max for strings based on alphanumeric order."],["Can be used with Earth Engine client libraries in JavaScript and Python."]]],[]]