On Tue, 19 Sep 2017, Schaff, Frederik wrote:
I guess gretl has a problem with adding observations record in
pieces. [...]
Yes, that's right. Consider the following miniaturization of what
you're trying to do:
$ cat little1.csv
obs,a,b
1,1,2
$ cat little2.csv
obs,c,d
1,3,4
$cat little3.csv
obs,a,b
2,5,6
$cat little4.csv
obs,c,d
2,7,8
Now we try running this:
<hansl>
open little1.csv -q
print -o
append little2.csv -q
print -o
append little3.csv -q
print -o
append little4.csv -q
print -o
</hansl>
Appending little2 goes OK: adding two columns. Appending little3 is
also OK[*]: adding a row (albeit an incomplete one). But appending
little4 fails. So far as current gretl is concerned this is not an
"append": we're adding neither variables nor observations (in the
sense of rows). Rather it's a "fill in the blanks" operation.
It's arguable that "append" should handle this case but it'll take
some work to get it right.
[*] This statement may actually depend on a little fix that's now in
git.
Allin