Dear Gretl Community,

How can I compact daily data into weekly data? I'm trying the "dataset compact"  command but I think it doesn't work in this context. I know this operation could be done by GUI, but I need to write a script :-(

Best,
Henrique Andrade