Dear all,
I have a large dataset, 1380 excel files in all. The files are monthly precipitation and have names band1-band1380. The first 12 files, band1-band12, correspond to months: 1, 2,….12 of 1900. Files, band13-band24 represent months: 1, 2,……12 of 1901…….and band1368-band1380 are for months:1,2,……12 of 2014. Each file does not contain variables for month and year.
I would like to write a loop to append all the files but call each file at a time and create the month and year variables in the order explained above.
Any help offered would be appreciated.
Thank you!
John
I have a large dataset, 1380 excel files in all. The files are monthly precipitation and have names band1-band1380. The first 12 files, band1-band12, correspond to months: 1, 2,….12 of 1900. Files, band13-band24 represent months: 1, 2,……12 of 1901…….and band1368-band1380 are for months:1,2,……12 of 2014. Each file does not contain variables for month and year.
I would like to write a loop to append all the files but call each file at a time and create the month and year variables in the order explained above.
Any help offered would be appreciated.
Thank you!
John
Comment