Icon

justknimeit-4

justknimeit-4
Challenge 4: Days With Price ChangesDescription: You are using KNIME to monitor the daily price of a product online. After using the Line Plot node to visualize the daily prices youhave already gathered, you notice that they are often constant for a certain number of days before changing again. You want to create a newcolumn in the price data you have at hand, named "Change", such that its value is 1 if a daily price changed with respect to the previous day, or0 if it remained unchanged. For the first daily price in the data, the "Change" value should be 1. As an example, if the initial daily prices look like:Date Price2015-01-01 102015-01-02 102015-01-03 11You should end up with data in the following format:Date Price Change2015-01-01 10 12015-01-02 10 02015-01-03 11 1 CSV Reader Lag Column Rule Engine Table Manipulator Excel Writer Challenge 4: Days With Price ChangesDescription: You are using KNIME to monitor the daily price of a product online. After using the Line Plot node to visualize the daily prices youhave already gathered, you notice that they are often constant for a certain number of days before changing again. You want to create a newcolumn in the price data you have at hand, named "Change", such that its value is 1 if a daily price changed with respect to the previous day, or0 if it remained unchanged. For the first daily price in the data, the "Change" value should be 1. As an example, if the initial daily prices look like:Date Price2015-01-01 102015-01-02 102015-01-03 11You should end up with data in the following format:Date Price Change2015-01-01 10 12015-01-02 10 02015-01-03 11 1 CSV Reader Lag Column Rule Engine Table Manipulator Excel Writer

Nodes

Extensions

Links