Icon

06 Aggregations - Solution

Solution to an exercise for data aggregation.

Calculate statistics for subgroups of data with the GroupBy and Pivoting nodes.

CHECK YOUR ANSWERS:
1. The rank 16 in life expectancy is shared by 5 countries
2. In average the population was increasing from 2018 to 2019 on all continents
3. The population increased from 2018 to 2019 in 30 European countries





Exercise: Aggregations1.1) Read the life expectancy data by executing the Excel Reader node below1.2) Calculate the number of countries by rank. Which rank is shared by 5 countries?1.3) Calculate the minimum and maximum overall life expectancy in the data2.1) Read the population data by executing the metanode below2.2) Calculate the average change of population in each UN continental region. Is theaverage change negative in any continental region?2.3) Create a pivot table that shows the number of countries by UN continental region anddirection. In how many countries in Europe is the population increasing? Average changeby continentdemographics.xlsx(life_expectancy)Min and max life expectancyCount by RankNumber of countriesby continent and direction GroupBy Excel Reader GroupBy GroupBy Pivoting Population data Exercise: Aggregations1.1) Read the life expectancy data by executing the Excel Reader node below1.2) Calculate the number of countries by rank. Which rank is shared by 5 countries?1.3) Calculate the minimum and maximum overall life expectancy in the data2.1) Read the population data by executing the metanode below2.2) Calculate the average change of population in each UN continental region. Is theaverage change negative in any continental region?2.3) Create a pivot table that shows the number of countries by UN continental region anddirection. In how many countries in Europe is the population increasing? Average changeby continentdemographics.xlsx(life_expectancy)Min and max life expectancyCount by RankNumber of countriesby continent and direction GroupBy Excel Reader GroupBy GroupBy Pivoting Population data

Nodes

Extensions

Links