datefixR: Standardize Dates in Different Formats or with Missing Data

There are many different formats dates are commonly represented with: the order of day, month, or year can differ, different separators ("-", "/", or whitespace) can be used, months can be numerical, names, or abbreviations and year given as two digits or four. 'datefixR' takes dates in all these different formats and converts them to R's built-in date class. If 'datefixR' cannot standardize a date, such as because it is too malformed, then the user is told which date cannot be standardized and the corresponding ID for the row. 'datefixR' also allows the imputation of missing days and months with user-controlled behavior.

Version: 1.2.0
Depends: R (≥ 4.0.0)
Imports: lifecycle, rlang, stringr
Suggests: DT, htmltools, knitr, readxl, rmarkdown, shiny, shinytest, spelling, testthat (≥ 3.0.0), withr
Published: 2022-09-22
Author: Nathan Constantine-Cooke ORCID iD [aut, cre], Jonathan Kitt [ctb, trl], Antonio J. PĂ©rez-Luque ORCID iD [ctb, trl], Kaique dos S. Alves ORCID iD [rev], Al-Ahmadgaid B. Asaad ORCID iD [rev]
Maintainer: Nathan Constantine-Cooke <nathan.constantine-cooke at>
License: GPL (≥ 3)
NeedsCompilation: no
Language: en-US
Citation: datefixR citation info
Materials: README NEWS
CRAN checks: datefixR results


Reference manual: datefixR.pdf
Vignettes: datefixR


Package source: datefixR_1.2.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): datefixR_1.2.0.tgz, r-oldrel (arm64): datefixR_1.2.0.tgz, r-release (x86_64): datefixR_1.2.0.tgz, r-oldrel (x86_64): datefixR_1.2.0.tgz
Old sources: datefixR archive


Please use the canonical form to link to this page.