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.7.0 |
Depends: | R (≥ 4.1.0) |
Imports: | lifecycle, Rcpp, rlang, stringr |
LinkingTo: | Rcpp |
Suggests: | DT, htmltools, knitr, parsedate, pkgbuild, png, readr, readxl, rmarkdown, shiny, shinytest2, spelling, testthat (≥ 3.0.0), withr |
Published: | 2024-09-08 |
DOI: | 10.32614/CRAN.package.datefixR |
Author: | Nathan Constantine-Cooke [aut, cre], Jonathan Kitt [ctb, trl], Antonio J. PĂ©rez-Luque [ctb, trl], Daniel Possenriede [ctb, trl], Michal Lauer [ctb, trl], Kaique dos S. Alves [rev], Al-Ahmadgaid B. Asaad [rev], Anatoly Tsyplenkov [ctb, trl], Chitra M. Saraswati [ctb, trl] |
Maintainer: | Nathan Constantine-Cooke <nathan.constantine-cooke at ed.ac.uk> |
BugReports: | https://github.com/ropensci/datefixR/issues |
License: | GPL (≥ 3) |
URL: | https://docs.ropensci.org/datefixR/, https://github.com/ropensci/datefixR |
NeedsCompilation: | yes |
Language: | en-US |
Citation: | datefixR citation info |
Materials: | README NEWS |
CRAN checks: | datefixR results |
Reference manual: | datefixR.pdf |
Vignettes: |
datefixR (source, R code) |
Package source: | datefixR_1.7.0.tar.gz |
Windows binaries: | r-devel: datefixR_1.7.0.zip, r-release: datefixR_1.7.0.zip, r-oldrel: datefixR_1.7.0.zip |
macOS binaries: | r-release (arm64): datefixR_1.7.0.tgz, r-oldrel (arm64): datefixR_1.7.0.tgz, r-release (x86_64): datefixR_1.7.0.tgz, r-oldrel (x86_64): datefixR_1.7.0.tgz |
Old sources: | datefixR archive |
Please use the canonical form https://CRAN.R-project.org/package=datefixR to link to this page.