Icon

03 Aggregation and Data Blending

03 Aggregation and Data Blending - Exercise

This workflow shows a hands-on exercise in the L1-DW KNIME Analytics Platform for Data Wranglers: Basics course

Annotations and comments
  • Task 1: Aggregate data with the GroupBy node 1. Read the life expectancy data by executing the provided Excel Reader node 2. Calculate the number of countries by rank 3. Calculate the minimum and maximum overall life expectancy in the data
  • Task 3: Join tables 1. Read the population, life expectancy, geo coordinates, and travel advisories data by executing the provided reader nodes 2. Join all tables based on the names of the countries. Use inner join. 3. Edit the following country names in the travel advisories table manually with the Table Editor node: (The spelling in the other tables is shown in brackets) - The Gambia (Gambia) - Guinea Bissau (Guinea-Bissau) - The Bahamas (Bahamas)
  • Task 4: Concatenate tables 1. Read life expectancy data by executing the provided workflow. The Excel table contains the data for countries and the database table contains the data for continents. 2. Concatenate the tables. Use union of columns.
  • Task 2: Aggregate data with the Pivoting node 1. Read the population data by executing the provided metanode 2. Create a pivot table that shows the number of countries by the UN continental region and direction. (The direction indicates if the population is increasing or decreasing.)
  • travel_advidories.csv
  • LifeExpectancy
  • demographics.xlsx (life_expectancy)
  • demographics.xlsx (population)
  • Countries by Rank
  • Minimum and Maximum Life
  • Countries
  • Number of Countries By Continetal Region and Direction
  • Create Change column
  • Convert change to percentage
  • Add Direction column based on +/- change
  • Demographics.sqlite
  • Edit Country Names
  • geo_coordinates.table

Nodes

Extensions

Links