Reading in Daily data
Posted: Tue Sep 14, 2021 3:12 am
Hi Tom,
I normally read in (irregular) daily data as:
OPEN DATA "path to file name"
DATA start end
How do I fill-in a numeric "end" value without actually specifying the numeric "end" in the DATA statement, i.e. is there a way to know the length-of-the-input-file from OPEN DATA and assign an "end" via e.g. COMPUTE?
Cheers,
Amarjit
I normally read in (irregular) daily data as:
OPEN DATA "path to file name"
DATA start end
How do I fill-in a numeric "end" value without actually specifying the numeric "end" in the DATA statement, i.e. is there a way to know the length-of-the-input-file from OPEN DATA and assign an "end" via e.g. COMPUTE?
Cheers,
Amarjit