Dear Allin,

this email is to let you know that your inp script works perfectly. After nearly two hours of computing we get the database in the right way (now it has 360 Mb!). It was not necessary to change a word from the script!

My coauthor Fernando and I are very grateful for you help, your time an dedication in building the script. We will acknowledge your help, and that of the Gretl community in our research papers. The greatness of Gretl, which is itself a great program, is the people behind it.

So again, our greatest appreciation for your time and dedication but not only this time, because Gretl is an enduring project.

Best regards from Uruguay,
Leandro

2010/4/5 Allin Cottrell <cottrell@wfu.edu>

On Mon, 5 Apr 2010, Allin Cottrell wrote:

> But anyway, I'm attaching a version of my script which requires
> only that the dataset be sorted by supermarket... It works on
> your sample file and I guess it should work on your full file; I
> believe that the only change that should be required is
> adjusting the name of the XLS (or gdt) file to read in the first
> instance.

Ah, I see that I left one date "hard-wired". To make it fully
general you can change the line under the comment "# starting row
for current price":

from:

k = s0 + store_days(2007, 3, prevyear, prevmonth) \
 + start

to:

k = s0 + store_days(limits[1], limits[2], prevyear, prevmonth) \
 + start

Allin Cottrell
_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users