Announcement

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

  • getdata command EUROSTAT

    Dear all,
    Do someone have experience with the command getdata?

    My wish is to import data from EUROSTAT (see link in the bottom) in long form. I have hope that the getdata command could help me, but I get an error on everything I true.

    So far I come to the following:
    getdata cs EUROSTAT, r(demo_r_mweek3/W.NR.T.) g(GEO country) clear

    I would potentially have it for all weeks, in numbers, and all regions.

    Hope someone can help me. Thanks!


    (https://appsso.eurostat.ec.europa.eu...3%23.%23%23%23)

  • #2
    My guess is that the software is outdated for Stata. You should probably use the SDMX connector for R or Excel. My guess is based on a quick test of the software for Stata. The last officiel update on SSC is from 2016.
    In R, I could not get your demo request working, but others work fine. There is a newer version for Stata available https://github.com/amattioc/SDMX/releases "statasdmx.tar.gz", but I did not manage yet to get it working.

    Comment


    • #3
      Thanks sven, I will true with the update and other software.

      Comment


      • #4
        Hi everyone,

        I'm trying to use getdata code for downloading data from OECD. I read about "getdata code" from stata help. But the code below didn't work at all.


        [getdata structure provider, rest(restcode) [geo(s1 [s2]) time(s1 [s2]) isocountrycodes(codetype) start(starttime) end(endtime) merge(1:1|1:m|m:1|m:m) replace update frequency(frequency) datemask(mask) varname(varname) set clear]

        Could you help me, please?

        Comment

        Working...
        X