It worked! Thank you.
Turns out that I had forgotten I need not only resource pool data but also ESX-host data as well.
What would the script be like if ESX daily stat csv files were in the same folder as the resource pool daily stat csv files?
The layout the daily ESX stat file would be like "Cluster1-ESXhost1-20130814.csv"