Combine two data tables with same column names + Replace NAs with 0s

PHOTO EMBED

Wed May 11 2022 05:20:09 GMT+0000 (Coordinated Universal Time)

Saved by @Treenose

df1 %>%
  full_join(df2, by = c("column_name_1", "column_name_2"), 
            suffix = c("_df1", "_df2")) 
%>%
  replace_na(list(n_batman = 0, n_star_wars = 0)) 
content_copyCOPY

Worked on data camp