# NOT RUN {
## list of data frames with inconsistent columns
x <- as_tbl_data(mtcars[1:3, ])
xx <- x
xx$y <- "a"
l <- list(x, xx, mtcars)
## bind rows and fill missing columns with NAs
bind_rows_data(l, fill = TRUE)
# }
Run the code above in your browser using DataLab