You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pathname <- "./data/" #name the file pathway (i.e., where in the directory the files are stored)
file_names <- list.files(path = pathname,
full.names = F,
pattern='*.xlsx') #get a list of the names of the files (only .xlsx)
#take the names of the files stored in file_names, and paste them iteratively over each file as it is read in (via read_xlsx). Note: file.temp is a temporary object that "floats" for each iterative process