example of using a table for time-series data