-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Matching Dates #52
Comments
Disclaimer: I am a regular user, not a developer, of The problem is discussed on stackoverflow here. The easiest solution for you might be to use a character type, not a date type. Try this before running
|
That's what I currently have in my script, but I'm not sure what the best way of doing it if it was an inexact match, say up to 13 day difference (updated my original post). String distance matching doesn't seem to make sense since translocated digits don't really have any significance. |
I would convert dates to a numeric variable such as
In the special case if your date variable instead is date of birth, then you can calculate The documentation for
I have two concerns with that documentation:
I think you mention a relatively simple but practically important issue which deserves better documentation. |
I have a column converted to date format (without time) using
as.Date()
,lubridate::as_date()
and even `as.Date.character().When I try to use that as a variable in fastLink, throws the error:
How do I include dates as part of the match?
I'm trying to do an exact match to deduplicate a dataframe.The text was updated successfully, but these errors were encountered: