Displaying 1 result from an estimated 1 matches for "city2011".
2011 Oct 22
1
cycling through a long list of files and names
...t;) {city1998 <- timeCalculations(city1998)}
city1999 <- dataCleaning(read.csv2("C:\\city\\year1999.txt"))
city1999 <- wasteCalculations(city1999, year = 1999)
if (city1999[1,1] == "Time") {city1999 <- timeCalculations(city1999)}
[....etc., all the way through....]
city2011 <- dataCleaning(read.csv2("C:\\city\\year2011.txt"))
city2011<- wasteCalculations(city2011, year = 2011)
if (city2011[1,1] == "Time") {city2011 <- timeCalculations(city2011)}
city.df <- data.frame(city1997$waste, city1998$waste, city1999$waste,
...,city2011$waste)...