Icon

2. Advanced Date & Time Manipulation

<p><strong>Advanced Date &amp; Time Manipulation</strong></p><p>This workflow shows more advanced Date &amp; Time manipulation nodes and additionally visualizes the results. The tasks include:</p><ul><li><p>extracting data rows falling in a time window (<em>Date&amp;Time-based Row Filter</em>),</p></li><li><p>extracting fields (day, year, hour, etc.) from Date&amp;Time columns (<em>Date&amp;Time Part Extractor</em>),</p></li><li><p>calculating a time difference to another Date&amp;Time value (<em>Date&amp;Time Difference</em>), and</p></li><li><p>calculating moving average and moving aggregation (<em>Moving Average</em> and <em>Moving Aggregator</em>).</p></li></ul><p>The results are visualized in various line plots.</p>
Annotations and comments
  • Workflow: Advanced Date &Time Manipulation This workflow shows more advanced Date & Time manipulation nodes and additionally visualizes the results. The tasks include: extracting data rows falling in a time window (Date&Time-based Row Filter), extracting fields (day, year, hour, etc.) from Date&Time columns (Date&Time Part Extractor), calculating a time difference to another Date&Time value (Date&Time Difference), and calculating moving average and moving aggregation (Moving Average and Moving Aggregator). The results are visualized in various line plots.
  • Reading data
  • Date&Time operations
  • sales.csv
  • Number of months to today
  • Time difference (in days) to previous row
  • Filter rows: 01.01.2009 - 01.01.2010
  • Extract year, month, day, and day of week
  • Count rows by weekday
  • Visualize difference over the months
  • Visualize cumulative sum by date
  • Visualize moving average by date
  • Cumulative sum of amount
  • Center simple moving average of quantity (window length = 11)
  • Keep rows where number of months >12
  • Filter rows: year=2010
  • Sort date column in ascending order
  • Convert sale date into Date&Time object

Nodes

Extensions

Links