Hello
I am working with multiple databases that correspond to different countries and years, I need to make a loop that can open and modify all databases. The names of the databases follow the rule XXYYAAAA.dta where XX is the country code, YY is the database code and AAAA is an almost random code. I was able to make a loop that generates all the combinations of XXYY. Is there a way that I can open the different databases using only the XXYY code?
Thank you very much.
Related Posts with Read multiple databases with loops
Inclusion of interaction terms and interpretation of margins output in RE xtprobitHi all, I am conducting a study into the transmission of time preferences in spouses through their …
How to create variable of relative change?Dear experts, I have a dataset including monthly observations from June 2017 - June 2019, where I w…
Annualising coefficients in a loopHi all, I am currently working on project about volatility timing. The data I am working with is dai…
Binary Variable GraphHello all, I simply want to plot a graph with the number of times a binary variable (civil war inci…
extract table from multiple pages of the web by Stata ?Hi , I'm now trying to extract data from web " https://ift.tt/2HE5woy" , there are a lot of pages in…
Subscribe to:
Post Comments (Atom)
0 Response to Read multiple databases with loops
Post a Comment