originally, list.files works with the document name. I would like to use the worksheet [1] name to create a dataframe.
So, I set my directory and this code works fine, but it returns a df using the document names instead of the worksheet [1] names.
files_listed<-list.files(path=".", full.names=FALSE, pattern="*xlsx",recursive=FALSE)
files_listed<-list.files(path=".", full.names=FALSE, pattern="*xlsx",recursive=FALSE)
For example, each document has a name, but the worksheets are an abbreviation from that name. (document name is income, sheet name is INC) and each sheet has multiple columns.