Skip to content

Instantly share code, notes, and snippets.

@kevin-m-kent
Created February 28, 2024 20:55
Show Gist options
  • Save kevin-m-kent/75b22b7b7c33b6e04b7d346d4d2952e5 to your computer and use it in GitHub Desktop.
Save kevin-m-kent/75b22b7b7c33b6e04b7d346d4d2952e5 to your computer and use it in GitHub Desktop.
library(tibble)
library(dplyr)
events_tb <- tibble(
id = 1:5,
val1 = rnorm(5)
)
another_info_tb <- tibble(
id = 1:5,
val2 = rnorm(5)
)
another_another_info_tb <- tibble(
id = 1:5,
val3 = rnorm(5)
)
purrr::reduce(list(events_tb, another_info_tb, another_another_info_tb),
full_join, by = "id"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment