On Tue, 16 Jan 2018, Sven Schreiber wrote:
Am 16.01.2018 um 17:33 schrieb Allin Cottrell:
> It seems that daily series in gretl databases was an idea that was only
> partially implemented and then never really developed. In today's git and
> snapshots there are some relevant updates. You can now "store" daily data
> in gretl db format, and read them back into a blank workspace, or a
> matching daily workspace, or (via --compact=spread) into a monthly
> workspace. At this point the GUI is only partially synced with these
> changes.
Very good. Some things I noticed with this latest snapshot:
- in the idx file of the database the date format is ISO style: YYYY-MM-DD,
whereas appendix A.3 says one must use YYYY/MM/DD. I guess the doc needs
updating, or are there existing databases with that format?
The doc is now updated in favour of YYYY-MM-DD. But the old YYYY/MM/DD
is still accepted just in case anyone has created such a file.
- I can store 5-day and 7-day daily data alright.
- I can also store 6-day daily data (an idea which I got from the setobs
documentation) which then gets an "S" code, presumably for "special".
I can
even reimport that series into a fresh gretl workspace, and to my surprise
gretl recognizes it as 6-day data. I'm actually not sure where it got the
information from -- a clever combination of start and end dates and the num
of obs? Or is "S" actually for Six?
Yes, "S" stands for 6. That's now in the doc too.
- The doc says the database description in idx can only be 64
characters long. Why? Even the description of each series can be 128
chars.
Not sure, I can take a look at that.
BTW, there was some collateral breakage in the first snapshots I put
out today. The very latest ones should be better.
Allin