Icon

02 Database Data Manipulation

02 Database Data Manipulation - Solution
Exercise: Database Data ManipulationRead the New York City Airbnb data by executing the metanode.1) Connect to the Accommodation.sqlite database available in the "data" folder2) Write the Airbnb data into the database. Create a table called AB_NYC_2019. Overwrite it if it existsalready.3) Perform the following data manipulation tasks with the appropriate DB nodes:- Calculate the average room price in each neighborhood group- Join the price information to the original database table- Filter the data to rooms/apartments with at least one review4) Read the joined and filtered data into KNIME. How many rooms/apartments have at least one review? WriteAB_NYC_2019 tablePrice perneighborhood_groupJoin to originaldataNumber of reviews> 0Read datainto KNIME SQLite Connector DB Writer DB GroupBy DB Joiner DB Row Filter DB Reader Read AB_NYC_2019 Exercise: Database Data ManipulationRead the New York City Airbnb data by executing the metanode.1) Connect to the Accommodation.sqlite database available in the "data" folder2) Write the Airbnb data into the database. Create a table called AB_NYC_2019. Overwrite it if it existsalready.3) Perform the following data manipulation tasks with the appropriate DB nodes:- Calculate the average room price in each neighborhood group- Join the price information to the original database table- Filter the data to rooms/apartments with at least one review4) Read the joined and filtered data into KNIME. How many rooms/apartments have at least one review? WriteAB_NYC_2019 tablePrice perneighborhood_groupJoin to originaldataNumber of reviews> 0Read datainto KNIMESQLite Connector DB Writer DB GroupBy DB Joiner DB Row Filter DB Reader Read AB_NYC_2019

Nodes

Extensions

Links