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
Using "substr" to split UK postcodes into areas and sectorsHello,
I have a dataset from the UK land registry in which I have thousands of housing transactions…
Question bootstrap - saved dataset yield different values compared to bootstrapDear all,
A (probably silly) question about the bootstrap command.
When trying to bootstrap a coeff…
Creating tempfiles in a forvalue loopI have a dataset where I want to get the sample size for each race category by year and sector (occu…
Spearman rank correlationHi,
I have tested the correlation between two measures of physical activity (accelerometer versus qu…
Fixed Effects vs Random EffectsDear Statalists!
I am currently working on a model to explain the influence of Economic Freedom on …
Subscribe to:
Post Comments (Atom)
0 Response to How to import several excels
Post a Comment