Answers for "how to upload multiple excel files r"

0

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(.))
Posted by: Guest on October-14-2021

Code answers related to "how to upload multiple excel files r"

Browse Popular Code Answers by Language