Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

22 lines
531B

  1. source(here::here("R/00_base.R"))
  2. joined_df <- semi_join(x, y, "id") %>%
  3. proc_data("x") %>%
  4. mutate(frame = 2, .x = .x + 1)
  5. extra_blocks <- inner_join(x, y, "id") %>%
  6. select(id) %>%
  7. proc_data("y") %>%
  8. mutate(frame = 2, .x = .x + 1)
  9. sj <- initial_dfs %>%
  10. bind_rows(joined_df, extra_blocks) %>%
  11. plot_data("semi_join(x, y)") %>%
  12. animate_plot()
  13. sj <- animate(sj)
  14. anim_save(here::here("images", "semi-join.gif"), sj)
  15. plot_data(joined_df, "semi_join(x, y)") %>%
  16. ggsave(file = here::here("images", "semi-join.png"))