Hello everyone,
I have done some reading and can not find the exact problem I am having. I am attempting to input data into an RShiny dashboard. There is a folder with many files within it I want to read at the same time in order to add it to the RShiny dashboard.
I have used this code:
'''
data_all <- list.files(path = "/Users/PATHWAY/", # Identify all csv files in folder
pattern = "*.csv",
full.names = TRUE) %>%
lapply(read_csv) %>%
bind_rows
'''
However, this is causing the following error:
"Warning message:
One or more parsing issues, see problems() for details "
From what I have read, my understanding is that I need to use the col_types function. However, I am unsure how to add this function into my code to read the all files within my data folder. I would love to learn some more about this.
Thank you for your time and feedback regarding my code, and different ways I can achieve my goal without errors.
Thank you.