Icon

day45 - 66 Days of Data

04 Flow Variables

Exercise for creating and using flow variables.

Use a flow variable to customize the workflow based on the output of a previous node.

Exercise: Flow VariablesRead the JoinedCountryTable.table file by executing the Table Reader node. This table containsinformation about the demographics, geolocation, and travel risks in the different countries/territoriesin 2020.1.1) Let's look for the northmost country or territory in the data. Calculate first the maximum latitudevalue in the data.1.2) Transform it into a flow variable1.3) Filter the data by this flow variable to the northmost country. Use the Rule-based Row Filter node.Which country is it? JoinedCountryData.tablecalc northmost latitudecreatemaxLatitudeflow variablefilter for the north most countryin the data setdelete"Iceland"Table Reader Math Formula Table Rowto Variable Row Filter Row Filter Exercise: Flow VariablesRead the JoinedCountryTable.table file by executing the Table Reader node. This table containsinformation about the demographics, geolocation, and travel risks in the different countries/territoriesin 2020.1.1) Let's look for the northmost country or territory in the data. Calculate first the maximum latitudevalue in the data.1.2) Transform it into a flow variable1.3) Filter the data by this flow variable to the northmost country. Use the Rule-based Row Filter node.Which country is it? JoinedCountryData.tablecalc northmostlatitudecreatemaxLatitudeflow variablefilter for the north most countryin the data setdelete"Iceland"Table Reader Math Formula Table Rowto Variable Row Filter Row Filter

Nodes

Extensions

Links