79622408

Date: 2025-05-14 23:33:00
Score: 2
Natty:
Report link

A copy of my answer from here: https://stackoverflow.com/a/79622236/19713874

Another solution from my experience, not a purist one but working: convert both variables to character, and with str_remove() make the formats identical. After that left_join works fine, and the variable can be converted back to date format.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Yuta Tamberg