Icon

11. Database - solution

Database - Solution

Solution to the exercise 11 for KNIME User Training
- Writing data into a database
- Reading data from a database
- Aggregating data in a database
- Filtering data in a database
- Joining data in a database
- Reading data in a database into a KNIME table

Annotations and comments
  • Activity: Databases - Connect to the database.mv.db database with the H2 Connector node - Write the Fully Joined Data into the database as a new table called adult - Select the adult table in the database - Count the number of records per product - Filter out products that occur less than 1000 times by joining the aggregated and the original database table - Read the filtered database table into a KNIME data table
  • Group by products Count occurrences
  • Filter to products in bottom table
  • Read data into KNIME
  • count > 1000
  • Read adult table
  • Write adult table into database
  • Numeric sentiment scores
  • exclude Sentiment Rating and Web Activity
  • exclude CustomerKey and Sentiment Analysis
  • New Web Data
  • Old Web data
  • WebActivity
  • Remove duplicate rows
  • Products <-> CustomerKey
  • Demographics and History from SAS file
  • Sentiment Rating + Sentiment Description
  • CustomerKey, sentiment rating, sentiment rating in text, Products
  • add WebActivity
  • add demographics and history
  • Remove row when numeric missing
  • WebActivity.sqlite
  • Sentiment Evaluation from KNIME
  • CustomerKey, sentiment analysis, sentiment rating in text, Products

Nodes

Extensions

Links