dplyr instad of native functions for df join with db query