Icon

06 Data Export and Reporting

Data Export and Reporting - Exercise

This workflow shows a hands-on exercise in the L1-DS Introduction to KNIME Analytics Platform for Data Scientists - Basics course

Increase the image size in theImage to Report node if the imagequality is poor in the report Task 2: Reporting1. Execute the prebuilt workflow. It preprocesses and visualizes the adult dataset. 2. Send the sorted data and bar chart image to BIRT for use in a report3. Open the BIRT Report editor and place the pivot table and the bar chart image in thepreformatted template. Customize the layout of the report if you want.4. Generate the report in one of the available formats Task 1: Write Data to a File1. Read the adult_joined.table file by executing the Table Reader node2. Calculate the total number of rows and average age by gender and income class3. Write the resulting table as a CSV file into the data folder Create a pivot table, byworkclass, that counts the number of recordsfor each income classSort the pivoted tableby workclassAssign colors toincome classesA bar chart of countswith workclassRename missingworkclass as "Unknown" Read data adult_joined.tableTotal and AverageNode 15PivotBar Pivoting Sorter Color Manager Bar Chart ExtractColumn Header Transpose Rule Engine Table Reader GroupBy CSV Writer Data to Report Image to Report Increase the image size in theImage to Report node if the imagequality is poor in the report Task 2: Reporting1. Execute the prebuilt workflow. It preprocesses and visualizes the adult dataset. 2. Send the sorted data and bar chart image to BIRT for use in a report3. Open the BIRT Report editor and place the pivot table and the bar chart image in thepreformatted template. Customize the layout of the report if you want.4. Generate the report in one of the available formats Task 1: Write Data to a File1. Read the adult_joined.table file by executing the Table Reader node2. Calculate the total number of rows and average age by gender and income class3. Write the resulting table as a CSV file into the data folder Create a pivot table, byworkclass, that counts the number of recordsfor each income classSort the pivoted tableby workclassAssign colors toincome classesA bar chart of countswith workclassRename missingworkclass as "Unknown" Read data adult_joined.tableTotal and AverageNode 15PivotBar Pivoting Sorter Color Manager Bar Chart ExtractColumn Header Transpose Rule Engine Table Reader GroupBy CSV Writer Data to Report Image to Report

Nodes

Extensions

Links