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.
Package details |
|
---|---|
Author | Nathan Constantine-Cooke [aut, cre] (<https://orcid.org/0000-0002-4437-8713>), Jonathan Kitt [ctb, trl], Antonio J. Pérez-Luque [ctb, trl] (<https://orcid.org/0000-0002-1747-0469>), Daniel Possenriede [ctb, trl] (<https://orcid.org/0000-0002-6738-9845>), Michal Lauer [ctb, trl], Kaique dos S. Alves [rev] (<https://orcid.org/0000-0001-9187-0252>), Al-Ahmadgaid B. Asaad [rev] (<https://orcid.org/0000-0003-3784-8593>), Anatoly Tsyplenkov [ctb, trl] (<https://orcid.org/0000-0003-4144-8402>), Chitra M. Saraswati [ctb, trl] (<https://orcid.org/0000-0002-8159-0414>) |
Maintainer | Nathan Constantine-Cooke <nathan.constantine-cooke@ed.ac.uk> |
License | GPL (>= 3) |
Version | 1.7.0 |
URL | https://docs.ropensci.org/datefixR/ https://github.com/ropensci/datefixR |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.