prepare_join function

Transform a tibble to join