Icon

02 Write Data to a File

Exercise for exporting data.

Export data into a CSV file.


Exercise: Write Data to a FileRead 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.1) Filter the data to the countries/territories in the travel risk category 1 (exercise normal precautions)2) Filter the data further to those with maximum 1 million inhabitants in 2019. How many countries/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. T ravel risk category 1JoinedCountryData.tableWriteSmallSafeCountries.csvPopulation>= 1 millionRow Filter Table Reader CSV Writer Row Filter Exercise: Write Data to a FileRead 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.1) Filter the data to the countries/territories in the travel risk category 1 (exercise normal precautions)2) Filter the data further to those with maximum 1 million inhabitants in 2019. How many countries/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. T ravel risk category 1JoinedCountryData.tableWriteSmallSafeCountries.csvPopulation>= 1 millionRow Filter Table Reader CSV Writer Row Filter

Nodes

Extensions

Links