Skip to content

Instantly share code, notes, and snippets.

@verajosemanuel
Created November 3, 2020 12:55
Show Gist options
  • Save verajosemanuel/d12dd3f99a0b8a06670a5dd00cae4df7 to your computer and use it in GitHub Desktop.
Save verajosemanuel/d12dd3f99a0b8a06670a5dd00cae4df7 to your computer and use it in GitHub Desktop.
#add #dataframe #name to a #list of dataframes in #R with #purr
library(purrr)
ans <- map_df(past_earnings_lists, ~as.data.frame(.x), .id="id")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment