You can easily download and run the workflow within your KNIME installation. For optimal performance, we recommend using the latest version of the KNIME Analytics Platform.
This workflow demonstrates how to use new Reporting nodes. This example replicates the same report structure into different pages with dynamic titles and labels.
Our first step was to pre-process the data in the metanode "Data pre-processing", which enabled us to obtain data from the USA, India, and China from 2000 to 2020. To explore it, double-click the metanode.
We then utilized the new node "Number Format Manager" to format the integer features. Moving forward, the loop started iterating over each country, and in the "CO2 Statistics by Country" component. To edit your page layout, right-click on the component and choose "Open layout editor": You can arrange the items for your report page. Make sure to select "Enable Reporting"!
After you have enabled the "Enable Reporting" option, a blue input and output port will appear in the component. Connect the "Report Template Creator" node to the newly created input port and define the page size and orientation in the "Report Template Creator" dialogue to generate the report.
The output port of the component is linked to the "Report Loop End", which collects all the report fragments for each iteration. You can see the preview of all pages in the bottom table of the canvas.
We then connect the Report Loop End to the "Report PDF Writer", which writes the PDF report in a temporary folder in the workflow data area. Finally, we expose the local path in the "Text view" node; you can copy-paste and explore your PDF report.
Data Sources:
Hannah Ritchie, Max Roser and Pablo Rosado (2020) - "CO₂ and Greenhouse Gas Emissions". Published online at OurWorldInData.org. Retrieved from: 'https://ourworldindata.org/co2-and-other-greenhouse-gas-emissions' [Online Resource]
Under the Creative Commons BY license
URL: CO₂ and Greenhouse Gas Emissions - Online resource https://ourworldindata.org/co2-and-greenhouse-gas-emissions
URL: KNIME Collection: First Steps with KNIME Reporting https://hub.knime.com/knime/collections/First%20Steps%20with%20KNIME%20Reporting~BmSxAYmlmIJtTh7i
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Download WorkflowDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.