On 23/09/2026 08:49, Ramki S wrote:
Hi,
When I tried to download the Google stock data from 2015-01-02 to 2016-01-29 (Total obs:
271), gretl is importing all 271 but due to 5 day week data and some national holidays,
the end dates are mismatching. Gretl is noting the last date 2016-01-15. Is there anyway
that these dates are parsed as it is like tsibble object dates?
https://www.dropbox.com/scl/fi/gshz0dm5iogf24v47nd5d/google_stock_2015010...
A sizeable portion of the hansl code for the "yahoo_get" package is
devoted exactly to this problem. The following snippet exemplifies:
<hansl>
nulldata 271
setobs 5 2015-01-02
include yahoo_get.gfn
list G = yahoo_full("GOOG")
</hansl>
More generally speaking, the "join" command provides a very flexible way
to import csv files with time series data. See Section 7.10 of the
User's Guide.
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------