What would this look like? Here is what I tried and the following errors I received:
a %>%
inner_join(x = a, y = b, by = c(as.Date('DateTime' = 'Date'))) %>%
tally()
#> Error in charToDate(x) : argument "x" is missing, with no default
a %>%
inner_join(x = a, y = b, by = c(as.Date('DateTime') = as.Date('Date'))) %>%
tally()
#> Error: unexpected '=' in:"a %>% inner_join(x = a, y = b, by = c(as.Date('DateTime') ="
a %>%
inner_join(x = a, y = b, by = as.Date(c('DateTime' = 'Date'))) %>%
tally()
#> Error in charToDate(x) : character string is not in a standard unambiguous format
So far the only query that has worked does not return all of my records due to 'Date' having the timestamp of 00:00:00, which returns significantly less records due to the inner join.