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.6.1
Depends: R (≥ 4.1.0)
Imports: lifecycle, Rcpp, rlang, stringr
LinkingTo: Rcpp
Suggests: DT, htmltools, knitr, readxl, rmarkdown, shiny, shinytest2, spelling, testthat (≥ 3.0.0), withr, parsedate, readr, png, pkgbuild
Published: 2023-12-11
DOI: 10.32614/CRAN.package.datefixR
Author: Nathan Constantine-Cooke ORCID iD [aut, cre], Jonathan Kitt [ctb, trl], Antonio J. PĂ©rez-Luque ORCID iD [ctb, trl], Daniel Possenriede ORCID iD [ctb, trl], Michal Lauer [ctb, trl], Kaique dos S. Alves ORCID iD [rev], Al-Ahmadgaid B. Asaad ORCID iD [rev], Anatoly Tsyplenkov ORCID iD [ctb, trl]
Maintainer: Nathan Constantine-Cooke <nathan.constantine-cooke at>
License: GPL (≥ 3)
NeedsCompilation: yes
Language: en-US
Citation: datefixR citation info
Materials: README NEWS
CRAN checks: datefixR results


Reference manual: datefixR.pdf
Vignettes: datefixR


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


Please use the canonical form to link to this page.