step 3, average daily pattern, with html... slow, still learning R :)
last question (no comments, and discovered there is the "interval" column, so I could simplify the questions before)
submission (also with the intermediate generated file if anyone needs to review it)