Skip to content
Prev 275361 / 398503 Next

cycling through a long list of files and names

Write a function that encapsulates the following three lines:


city1997<- dataCleaning(read.csv2("C:\\city\\year1997.txt"))
city1997<- wasteCalculations(city1997, year = 1997)
if (city1997[1,1] == "Time") {city1997<- timeCalculations(city1997)}

and then pass in the appropriate parameters.
On Mon, Oct 24, 2011 at 12:09 PM, Wet Bell Diver <wetbelldiver at gmail.com> wrote: