globalgov / messydates

R package for Extended Date/Time Format (EDTF)
https://globalgov.github.io/messydates
Other
15 stars 1 forks source link

as_messydate() for dates in YYYYMM and YYYYMMDD format #62

Closed jaeltan closed 1 year ago

jaeltan commented 2 years ago

as_messydate does not currently work with YYYYMM and YYYYMMDD date formats without hyphens between date components, so we have been relying on lubridate to do this

henriquesposito commented 2 years ago

Done! I modified the resequence argument in as_messydate() to accept date formats for reordering some ambiguous dates including dates where these do not have a split sign (i.e. "-", "/"). @jaeltan please let me know if all work on your side and if you have any questions/suggestions.