Hallo,
not with all but in some databases my old bundle requests does not work
anymore.
For instance:
open dbnomics
set verbose on
include dbnomics.gfn
nulldata 900
setobs 12 1948.1
# OECD Deflators: "countries.typeGDP.DOBSA.(Q)uarterly"
provider = "OECD"
database = "QNA"
bundle spec =
defbundle("mask","G-20+DEU+USA+FRA+JPN+CHN+CHE+OECD..DOBSA.Q")
bs = dbnomics_get_multiple(provider, database, 1000, 0, spec)
dbnomics_bundles_print(bs)
list X = dbnomics_bundles_to_list( bs, "series_code" )
printf "\nHere are the series in list X:\n"
list X print
or
# Bis Dept:
"(Q)uartely.countries.debtors.creditors.(M)arketvalue.(770)%GDP.A"
provider = "BIS"
database = "total_credit"
bundle spec = defbundle("mask","Q....M.770.A")
bs = dbnomics_get_multiple(provider, database, 1000, 0, spec)
dbnomics_bundles_print(bs)
list X = dbnomics_bundles_to_list( bs, "series_code" )
printf "\nHere are the series in list X:\n"
list X print
Gretl finds the series but it returns "empty list" for the observations
, using either dbnomics v0.2 or v0.35 and running gretl with MS Windows.
(Fetching those series with menue option in gretl works fine.)
Is there a way to solve this? Thank you.
Klaus Hasenbach
Show replies by date
Sorry for posting it!!
Found the mistake I made
setobs 4 1948.1
instead of
setobs 12 1948.1
for quaterly data.
-------- Weitergeleitete Nachricht --------
Betreff: dbnomics bundle returns empty list
Datum: Sun, 9 Feb 2020 15:12:08 +0100
Von: klaus.hasenbach(a)web.de <klaus.hasenbach(a)web.de>
An: gretl-users(a)gretlml.univpm.it
Hallo,
not with all but in some databases my old bundle requests does not work
anymore.
For instance:
open dbnomics
set verbose on
include dbnomics.gfn
nulldata 900
setobs 12 1948.1
# OECD Deflators: "countries.typeGDP.DOBSA.(Q)uarterly"
provider = "OECD"
database = "QNA"
bundle spec =
defbundle("mask","G-20+DEU+USA+FRA+JPN+CHN+CHE+OECD..DOBSA.Q")
bs = dbnomics_get_multiple(provider, database, 1000, 0, spec)
dbnomics_bundles_print(bs)
list X = dbnomics_bundles_to_list( bs, "series_code" )
printf "\nHere are the series in list X:\n"
list X print
or
# Bis Dept:
"(Q)uartely.countries.debtors.creditors.(M)arketvalue.(770)%GDP.A"
provider = "BIS"
database = "total_credit"
bundle spec = defbundle("mask","Q....M.770.A")
bs = dbnomics_get_multiple(provider, database, 1000, 0, spec)
dbnomics_bundles_print(bs)
list X = dbnomics_bundles_to_list( bs, "series_code" )
printf "\nHere are the series in list X:\n"
list X print
Gretl finds the series but it returns "empty list" for the observations
, using either dbnomics v0.2 or v0.35 and running gretl with MS Windows.
(Fetching those series with menue option in gretl works fine.)
Is there a way to solve this? Thank you.
Klaus Hasenbach