I am trying to loop through all csv filenames in a certain folder directory on my computer. Once this is done I want to be perform a string split on the filenames. Is there a way an efficient way of doing this?
At the moment I am entering the string of the filename manually in my code and them performing the string split on that string but this is not efficient...
file <- "test_1.csv"