Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

how to upload multiple excel files r

read_plus <- function(flnm) {
    read_csv(flnm) %>% 
        mutate(filename = flnm)
}

tbl_with_sources <-
    list.files(pattern = "*.csv", 
               full.names = T) %>% 
    map_df(~read_plus(.))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #upload #multiple #excel #files
ADD COMMENT
Topic
Name
5+9 =