You are not logged in. You can browse but not post. Login or Register by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the FAQ.
Hi Nick! I state that I began to use STATA for a short time. Could you be more explicit, please?
My idea is to create a unique dataset in panel data format merging he tables.
How do I implement this procedure in a single do.file?
Thanks.
I can't easily be more explicit because you don't provide an example file I could use. Nor do you give precise references to where these files can be downloaded. A few people here might know just from the Eurostat reference, but this is an international, multidisciplinary forum and it's not a good idea to assume that everyone else does what you do.
So, you really should not expect me to write a do file. (A contingent detail is that at the moment I don't have access to a recent version of Stata either.)
I've named commands that should be useful for you. import excel or import delimited may be another, depending on what the files actually are.
I'm sorry Nick, I did not want to be rude or presumptuous. I just did not understand your suggestion. My question was whether it was possible to write it in a single do.file. However, if you are still willing to help me out, this is the link with the database:
The "new" command eurouse available at SSC might be useful for you. According to its description "eurouse automatically downloads and imports Eurostat datasets into Stata using the Eurostat bulk facility"
Carole: You can install it on any OS. The problem is that the program bails out if the OS is not Macintosh. This isn't documented, so far as I can see (and that would be a good idea). It's the use of shell gzip which appears OS-specific.
Anyway, I found the solution. Its name is getdata. I tried and it works. I post the link so anyone in need can use it. Thanks at all. To the next question
Downloadable! getdata imports data from several SDMX Data providers (OECD, EUROSTAT, ECB, IMF, ILO, ...) in raw, cross-sectional, time series or panel data structure using SDMX rest codes.
Did getdata work well for you? Feedback for possible future improvements would be appreciated. (I don't know whether this is the place, but my email is in the help file).
Regarding its use for Eurostat data, it downloads data over SDMX, so it is restricted by Eurostat if you want to download an absurdly large amount of data with a single line of code, say a full dataset (can happen).
To bypass it, you can either partition your request into smaller pieces or use other ways, like downloading through the bulk (xteurostat, eurouse, ...). However, these methods have the disadvantage of requiring you to download the whole table, making it slow and download intensive.
Finally, if anyone has a user configuration for tapping into other data providers SDMX data warehouse please do share as these could be implemented as defaults.
Comment