Consider the following:
data={{{3542313600, 175}, {3542918400, 175}}, {{3544128000, 450},
{3544128000, 450}, {3545337600, 450}, {3545942400, 450}, {3546547200, 450}}};
whereas the first element of each {_,_}
represent a date in absolute time, i.e. {_,_}
corresponds to the pattern {AbsoluteDate_,Value_}
.
Now I would like to calculate the sum of all Value_
when the corresponding AbsoluteDate_
is equal, e.g.
{3545337600, 450}, {3545337600, 450}
-> {3545337600, 900}
.