Icon

05 Components - Solution

Solution to an exercise for creating a component and using a shared component.

Use a flow variable to customize the workflow based on a user selection. Create a component and use a publicly available shared component.

CHECK YOUR ANSWERS:
1. The northmost country in Asia is Kazakhstan. In Africa the northmost country is Tunisia.
2. The countries where the population increases the fastest are located in Africa.

Exercise: ComponentsExecute the workflow below. It filters the data to the northmost country or territory in the data. 1.1) Let's look for the northmost country or region on each continent. Create a Value SelectionConfiguration node to select one of the UN continental regions in the data.1.2) Add a Row Filter node in front of the GroupBy node. Filter the data by the selected continent. 1.3) Encapsulate the nodes into a component. Make sure you add a data output to the component.What is the northmost country in Asia? And in Africa?2.1) Visualize the pace of population increase in the countries in a choropleth world map. Drag&dropthe Choropleth World Map shared component from the KNIME Hub (or the EXAMPLES Server). 2.2) Select the Country/Territory and Change (population) columns in its configuration dialog2.3) Open its interactive view. On which continent are the countries located where the populationincreases the fastest? JoinedCountryData.tableLife expectancy bycountries Table Reader Northmost countryby continent ChoroplethWorld Map Exercise: ComponentsExecute the workflow below. It filters the data to the northmost country or territory in the data. 1.1) Let's look for the northmost country or region on each continent. Create a Value SelectionConfiguration node to select one of the UN continental regions in the data.1.2) Add a Row Filter node in front of the GroupBy node. Filter the data by the selected continent. 1.3) Encapsulate the nodes into a component. Make sure you add a data output to the component.What is the northmost country in Asia? And in Africa?2.1) Visualize the pace of population increase in the countries in a choropleth world map. Drag&dropthe Choropleth World Map shared component from the KNIME Hub (or the EXAMPLES Server). 2.2) Select the Country/Territory and Change (population) columns in its configuration dialog2.3) Open its interactive view. On which continent are the countries located where the populationincreases the fastest? JoinedCountryData.tableLife expectancy bycountries Table Reader Northmost countryby continent ChoroplethWorld Map

Nodes

Extensions

Links