I am trying to convert my list that has 48 components to a consolidated data frame using the for loop:
df1 = as.data.frame(list[1])
df2 = as.data.frame(list[2])
df3 = as.data.frame(list[3])
.
.
.
df48 = as.data.frame(list[48])
library(dplyr)
bda <- bda %>%
select(UNIQUE_CODE)
for (i in 1:length(mi_lista)) {
bd <- as.data.frame(mi_lista[[i]])
df <- left_join(bda, bd)
}
Thanks so much