I have a bunch of csv files that follow the naming scheme: est2009US.csv.
I am reading them into R as follows:
myFiles <- list.files(path=\"~/Dow
Nrows <- lapply( lapply(myFiles, read.csv, header=TRUE), NROW) # might have been easier to store: lapply(myFiles, read.csv, header=TRUE) myDB$grp <- rep( myFiles, Nrows) )