Icon

02 Write Data to a File - Solution

02 Write Data to a File - Solution
Exercise: Write Data to a FileRead the JoinedCountryTable.table file by executing the Table Reader node. This table containsinformation about the demographics, geolocation, and travel risks in the different countries/territories in 2020.1) Filter the data to the countries/territories in the travel risk category 1 (exercise normalprecautions)2) Filter the data further to those with maximum 1 million inhabitants in 2019. How manycountries/territories are they?3) Write the filtered data into a SmallSafeCountries.csv file in the data folder of the course.Overwrite the file, if it already exists. Read JoinedCountryData.tableTravel risk category 1Population>= 1 millionWriteSmallSafeCountries.csv Table Reader Row Filter Row Filter CSV Writer Exercise: Write Data to a FileRead the JoinedCountryTable.table file by executing the Table Reader node. This table containsinformation about the demographics, geolocation, and travel risks in the different countries/territories in 2020.1) Filter the data to the countries/territories in the travel risk category 1 (exercise normalprecautions)2) Filter the data further to those with maximum 1 million inhabitants in 2019. How manycountries/territories are they?3) Write the filtered data into a SmallSafeCountries.csv file in the data folder of the course.Overwrite the file, if it already exists. Read JoinedCountryData.tableTravel risk category 1Population>= 1 millionWriteSmallSafeCountries.csv Table Reader Row Filter Row Filter CSV Writer

Nodes

Extensions

Links