On 04/02/2025 19:01, Artur T. wrote:
Hi Cristián,
let me please forward your request to developer list. Maybe someone else
has to add some aspect.
Yes, I think you already found the relevant webpage with (hoepfully) all
necessary information.
Best,
Artur
Am 04.02.25 um 10:16 schrieb Cristián Arturo Ducoing Ruiz:
> Dear Artur,
>
> This database has been uploaded recently Global Macro Database
> <https://
www.globalmacrodata.com/data.html>. I would like to convert
> it to gdt.
> this is the webpage with the guidelines?
>
https://gretl.sourceforge.net/collections.html <https://
>
gretl.sourceforge.net/collections.html>
>
Maybe the best thing would be asking these guys to provide the data in
gdt format themselves.
Since they already offer the Stata format, all one has to do is
1) open the stata file
2) (optional) add the panel structure to the data file
3) store as gretl
A minimal script to achieve this would be (assuming you have the data in
Stata format already)
<hansl>
open GMD.dta
PANEL_WANTED = 1
if PANEL_WANTED
setobs ISO3 year --panel-vars
setobs 1 1083 --panel-time
endif
store GMD.gdt --gzipped
</hansl>
PS: one may also want to rename the "inv" variable to avoid the conflict
with the function by the same name.
-------------------------------------------------------
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
-------------------------------------------------------