Dear Statalist,
I need to create a database using several (hundreds) of excels like the one I show below. The problem is that I do not know how to do it since the name of each file does not follow a consecutive order. I mean, the first file could be NACE0113 and the second one NACE0119...
Another problem is that there are several rows at the beginning that I do not need, in fact I only need from row 11 onwards. However, I also need to differentiate with respect to when x1 is the median (rows 14 to 36), or x1 is the mean (rows 39 to 61) for the different years. So, an optimal solution (as far as I see) would be to put first the median like (mex1 mex2...) and then as other different variables the means like (mnx1 mnx2...) for the different years.
I do not know if this is possible, but i am pretty lost here.
Do you know of any way that help to solve this, or any other solution?
Thanks in advance. Array
Related Posts with How to import several excels
Issue running xtreg commands with scalarI am using Stata version 15.1 and I have 47 variables and 1,010 observations in my dataset. I am doi…
loopHello everybody, I am a beginner in stata programming. However, I am looking for help in programming…
Loop with the command usespss in Stata 16Hi. I have to do the same calculations with some data sets in format .sav. I did this lines but they…
Summary statistics for 2 dimensionsHi, I would like to do the following: I have a panel dataset with x groups and y years. For each yea…
Outputting data in Word with formatting, preferably with longer labels.Hello Listers, I have a client who is taxing my skills when it comes to formatting tables for publi…
Subscribe to:
Post Comments (Atom)
0 Response to How to import several excels
Post a Comment