Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Feature Request: Add a cutoff year to decide if 21th century or not #560
It would be nice to have a cutoff parameter for commands such as dmy().
If you just use lubruidate commands to convert that strings to dates the user can get unexpected results.
The user can transform the data by doing:
But this would need to be modyfied depending on the exact formats the user has and wants, and it's prone to error and takes a lot of code for a simple task.
Could you please add a "cutoff" date parameter to lubridate functions to allow the user to just do
I think it should be easy because somewhere you already do it, you just need to expose that parameter to the user.