Icon

02_​Data_​Merging_​Exercise

Data Merging - Exercise

Exercise 2 for the KNIME Analytics Platform for Data Wranglers course
- Convert a column from number to string
- Concatenate data from two different sources
- Perform a lookup operation
- Join two database tables (using the DB Joiner node) and read database data into KNIME
- Join two local tables









Exercise 2: Join and ConcatenateIn this exercise you combine data by concatenating and joining tables and perform a lookup operation.. 1a) Convert the "Newsletter" column from number to string in the table from the system 1 (Number to String node)1b) Concatenate the customer data from the two systems (Concatenate node)1c) Add a constant value column "Replacement" with the string value "unknown" to the emails to remove1d) Replace these emails with the value "unknown" in the customer information table (Cell Replacer node) 2a) Join the "TransactionsOnline" and "ProductNrAndPrize" tables directly on the database (DB Joiner node)2b) Read the joined table into KNIME (DB Reader node) 3) Add the store location information with each purchase in a store based on the StoreID (Joiner node) Connect to DatabaseProduct ID and PriceTransactions OnlineCustomer InformationSystem 1Store InformationCustomer InformationSystem 2Transactions Storeemails to remove SQLite Connector DB Table Selector DB Table Selector CSV Reader Excel Reader Table Reader Table Reader Table Creator Exercise 2: Join and ConcatenateIn this exercise you combine data by concatenating and joining tables and perform a lookup operation.. 1a) Convert the "Newsletter" column from number to string in the table from the system 1 (Number to String node)1b) Concatenate the customer data from the two systems (Concatenate node)1c) Add a constant value column "Replacement" with the string value "unknown" to the emails to remove1d) Replace these emails with the value "unknown" in the customer information table (Cell Replacer node) 2a) Join the "TransactionsOnline" and "ProductNrAndPrize" tables directly on the database (DB Joiner node)2b) Read the joined table into KNIME (DB Reader node) 3) Add the store location information with each purchase in a store based on the StoreID (Joiner node) Connect to DatabaseProduct ID and PriceTransactions OnlineCustomer InformationSystem 1Store InformationCustomer InformationSystem 2Transactions Storeemails to remove SQLite Connector DB Table Selector DB Table Selector CSV Reader Excel Reader Table Reader Table Reader Table Creator

Nodes

Extensions

Links