Icon

1. Reporting in KNIME

<p><strong>Reporting in KNIME</strong></p><p>In this workflow, we generate a CO2 emission report using the KNIME Reporting Extension.</p><p>The workflow accesses CO2 emissions measured for different countries and years. We then clean and prepare the data to build a report for the top 3 countries in terms of CO2 emissions in 2020 - on page for each country. Lastly, we export the report as static PDF.</p>

URL: KNIME Beginner's Luck (Book Homepage) https://www.knime.com/knimepress/beginners-luck

Annotations and comments
  • Workflow: Reporting in KNIME In this workflow, we generate a CO2 emission report using the KNIME Reporting Extension. The workflow accesses CO2 emissions measured for different countries and years. We then clean and prepare the data to build a report for the top 3 countries in terms of CO2 emissions in 2020 - on page for each country. Lastly, we export the report as static PDF.
  • Reading data
  • Prepare data for report
  • Create report - one page per country
  • Writing data Save view to static PDF
  • owid-co2-data.csv
  • Remove columns
  • Replace missing values with 0
  • Add rank
  • Year 2000-2020
  • Only countries
  • Exclude World
  • 2020 only
  • Sort by rank in ascending order
  • Sort by co2 and keep top 3
  • Format values for report
  • HTML for color formatting
  • Calculate growth rates
  • Final format: Value + Growth rate in %
  • Keep only data for the years 2000 and 2020
  • CO2 per capita
  • Only 2020
  • sources of co2
  • rank
  • overview
  • country name
  • footnote
  • co2-emission-report.pdf

Nodes

Extensions

Links