Icon

1. My first Workflow

<p><strong>My first Workflow</strong></p><p>This workflow is my first KNIME workflow. It reads a dataset (<em>adult.data</em>), shows the difference between workflow-relative vs. local file path, removes columns and rows that are not of interest, and writes the resulting data table to a <em>.csv</em> file, again showing the difference between workflow-relative and local file path.</p>

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

Workflow: My first Workflow


This workflow is my first KNIME workflow. It reads a dataset (adult.data), shows the difference between workflow-relative vs. local file path, removes columns and rows that are not of interest, and writes the resulting data table to a .csv file, again showing the difference between workflow-relative and local file path.

Writing data

Write filtered data table as .csv file. The node is set to override the output file if it already exists

Reading data

Read adult.data file (with workflow-relative vs. local file path)

Cleaning data

Remove columns and row that are not of interest

adult.datapath relative to "current workflow"
CSV Reader
Write to new filefull path on local file system
CSV Writer
Keep only records born outside US
Row Filter
adult.datafull path on local file system
CSV Reader
Write to new filepath relative to "current workflow"
CSV Writer
Remove column"final weight"
Column Filter

Nodes

Extensions

Links