Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 73303

Append multiple datasets

$
0
0
Hi

I have multiple data sets in Excel, each excel file contains the data of air -pollution of each month for the same clusters(ranging from 1 to 980)





example data March 2000.

Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input int DHSCLUST double ZonalSt_sh
1 .34931400418281555
2 .34931400418281555
3 .34931400418281555
4 .34931400418281555
5  .2954939901828766
end


example data April 2000.

Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input int DHSCLUST double ZonalSt_sh
1 .34931400418281555
2 .34931400418281555
3 .34931400418281555
4 .34931400418281555
5  .2954939901828766
end

I want to have the data like this (only appending the data of two months)


Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input int DHSCLUST double PM_03_2000 float PM_04_2000
1   .349314004182816 .349314
2 .34931400418281555 .349314
3 .34931400418281555 .349314
4 .34931400418281555 .349314
5  .2954939901828766 .295494
end

Please how I can do that as I have a large number of data sets.


Viewing all articles
Browse latest Browse all 73303

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>