Icon

02 Flow Variables and Components

02 Flow Variables and Components - Exercise

This workflow shows a hands-on exercise in the L2-DW Introduction to KNIME Analytics Platform for Data Wranglers - Advanced course

Annotations and comments
  • Task 1: Use Flow Variables Read the JoinedCountryTable.table file by executing the Table Reader node. This table contains information about the demographics, geolocation, and travel risks in the different countries/territories in 2020. Your task is to find the northmost country/territory in the data via the following steps: 1. Calculate first the maximum latitude value in the data 2. Transform it into a flow variable 3. Filter the data by this flow variable
  • Task 2: Create a Components Your task is to extend the workflow from the previous task into a component that returns the northmost country/region by continent via the following steps: 1. Create a Value Selection Configuration node to select one of the UN continental regions in the data 2. Add a Row Filter node before the GroupBy node to filter the data by the selected continent 3. Encapsulate the workflow into a component. Make sure you add a data output to the component.
  • Task 3: Use a Shared Component Your task is to compare how fast/slow the population increases in different countries. Build a choropleth world map via the following steps: 1. Drag and drop the Choropleth World Map shared component from the KNIME Hub 2. Select the Country/Territory and Change (population) columns in its configuration dialog 3. Open the component’s interactive view
  • Meteorites
  • Geo Chart expects the first column to be the country and the second to be the value
  • Select country column
  • Select numeric column
  • Google Charts - Geo Chart
  • Max Mass
  • nametype
  • Meteorite with most Mass
  • MaxMass

Nodes

Extensions

Links