Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • freduse not working in Stata 18

    I just installed Stata 18 and when I use freduse I get this error:

    . freduse CTNA, clear
    note: https://research.stlouisfed.org/fred...ddata/CTNA.txt redirected to
    https://fred.stlouisfed.org/series/C...ddata/CTNA.txt
    header entry of unknown type encountered
    unknown header type = <!DOCTYPE_HTML_PUBLIC_"-//IETF//DTD_HTML_2.0//EN">
    value of unknown header =
    no variables defined
    r(111);

    I am able to import the data using import delimited using "https://fred.stlouisfed.org/series/CTNA/downloaddata/CTNA.csv", clear but it would be great if my old code still worked.

    The freduse command is working in Stata 17 (still installed on my computer).


  • #2
    Stata http procedures do not follow http redirects. You could try editing freduse.ado to change the hostname in the URL.
    Last edited by Daniel Feenberg; 29 Apr 2023, 07:18.

    Comment

    Working...
    X