Elm-Vega Time Unit Tests

Source

Aggregating by Basic Time Units

Simulated data hourly over three years 2010-2012. The 2011 data on average 2 degrees higher than 2010 and in 2012, 4 degress higher.

Aggregate by year
Aggregate by quarter
Aggregate by quarter-month
Aggregate by month
Aggregate by month-date
Aggregate by date (day of month 1-31)
Aggregate by year-month-date-hours
Aggregate by year month date hours minutes
Aggregate by year-month-date-hours-minutes-seconds (limit of data resolution)
Aggregate by day
Aggregate by hours
Aggregate by hours-minutes
Aggregate by hours-minutes-seconds
Aggregate by minutes
Aggregate by minutes-seconds

Local and UTC Times

Local time crossing daylight saving
UTC time crossing daylight saving

Positioning By Time Band

Each data point placed in middle (rather than default start) of each time band.