Am 13.10.25 um 14:04 schrieb Riccardo (Jack) Lucchetti:
On 13/10/2025 11:12, Roland Clarke wrote:
> Hi Artur,
>
> Thanks very much for the quick response. The reason my Ubuntu has
> Gretl 2023c is because this is the repository version and I do not
> feel confident to compile the 2025b version.
>
> If anybody can suggest how to access the FRED database directly with
> a Hansl script that would be an even better option (The copy of the
> FRED database included with Gretl unfortunately does not have all the
> variables which I need).
I've been thinking about a function package for grabbing data from
FRED (similar to yahoo_get) for a while. I think I have a relatively
clear idea on how to proceed.
When I have a prototype, I'll send a message to the list.
That would be great, jack! Currently, I am grabbing series via bash +
wget (simply downloading csv files), before importing to gretl.
Maybe some helpful resources for you, Jack:
https://github.com/mortada/fredapi
https://fred.stlouisfed.org/docs/api/fred/
Artur