## Transform nested lists to dataframe (data.table)
LstToDF <- function(lst, df_name) {
out_lst <- purrr::map(lst, df_name)
out_df <- purrr::map_dfr(out_lst, rbind) # row-bind
return(out_df)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.