Lost strings for bundled string-valued series
by atecon
Hi all,
I am not sure whether this is a bug or following gretl's specs: Putting
a string-valued series into a bundle and creating a new series 'foo'
using this 'bundled' series yields a numeric series 'foo'. I would have
expected the original string-valued series.
See the following example. The output is from latest git version on
Ubuntu 18.04.
<hansl>
set verbose off
clear
open grunfeld.gdt -q
bundle Names = _(names = firmname) # put series 'firmname' into a
bundle
series foo = Names.names # construct new series from bundle
print firmname foo -o --range=1:2
</hansl>
<output>
firmname foo
1:01 General Motors 1
1:02 General Motors 1
</output>
Thanks,
Artur
3 years, 7 months
cause of xmlget error message?
by Sven Schreiber
Hi,
I'm trying to use gretl to grab some information from a web page,
applying xmlget() to the HTML source of the page. Like this:
<hansl>
# artificial example first
string web = sprintf("<html>\n<body>\n<a
href=\"whatever\">whatever</a>\n<a href=\"uhah\">uhah</a></body>\n</html>")
print web
eval xmlget(web, "//a") # works
# now the real thing
web =
readfile("https://opendata.dwd.de/climate_environment/CDC/observations_germany/clim...")
print web # very long string! (HTML source)
eval xmlget(web, "//a") # error: xmlParseMemory returned NULL
</hansl>
Does the error mean that the page's code is simply too much / too long?
thanks
sven
3 years, 7 months
GUI View Summary statistics
by Brian Revell
Does not appear to work . Variable summary statistics does work. However,
it is less useful if one wishes to compare summary stats amongst several
variables which the View Summary Statistics facilitates.
However - I appear to be using Version 2021a - I am advised to go to
sourceforge for 2021e but it is nowhere evident on the sourceforge site.
So please let me have a direct downwload URL for 2021e
Brian.
Brian J Revell
Professor Emeritus
Harper Adams University , Shropshire
Current Chair of Defra Economic Advisory Panel
Tel 01952 815237
Tel: +44 1952 728153
Mbl +44 7976 538712
University: +44 1952 815235
alt: email: bjrevell(a)harper-adams.ac.uk
3 years, 7 months