I am importing a number of .CSV files using:
folder <- paste("D:/Folder/", sep = "")
file_list <- list.files(path=folder, pattern="*.csv")
for (i in 1:length(file_list)){assign(file_list[i], read.csv(paste(folder, file_list[i],sep=''), header = TRUE))}
The number of .CSV files may vary. So I need to Name those files from A to Z because I need to trim a few columns using
A = select(A, Emp, Pro,Cust, Role) #using Dplyr package
and the merge those varying files using "merge"
The issue is: As those files will vary, using "Select" and "Merge" will not be possible which requires DataSet name.