I have a vector of file paths called dfs, and I want create a dataframe of those files and bind them together into one huge dataframe, so I did something like this :
for (df in dfs){
  clean_df <- bind_rows(as.data.table(read.delim(df, header=T, sep="|")))
  return(clean_df)
} 
but only the last item in the dataframe is being returned. How do I fix this?
 
     
     
    