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
multivariable bar chart from panel dataHello all! I have a panel data with 8 waves and 740 000 observations of the id variable. I also cre…
Test of Exogenity / Endogenity using SVY and IV probitDear Statalist users, While using IVprobit on survey data how to check for the exogenity/endogenity…
Significance of two lines in graph when using addplotHow can I check for significant differences of the two lines when using addplot? The code for my gr…
Duplicates: 1 copy of 90814 observations and 0 surplusHello, I need help turning a dataset into panel data. I am using a dataset from OECD https://stats.o…
Sequence analysis with STATADear Stata Users, what is currently the most suitable tool for sequence analysis in STATA? I found …
Subscribe to:
Post Comments (Atom)
0 Response to Read multiple databases with loops
Post a Comment