R code to handle GDP hourly output and convert it to daily input for GLM.