Package: datefixR 2.0.1.9000

Nathan Constantine-Cooke

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.

Authors: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]

datefixR_2.0.1.9000.tar.gz
datefixR_2.0.1.9000.zip(r-4.7)datefixR_2.0.1.9000.zip(r-4.6)datefixR_2.0.1.9000.zip(r-4.5)
datefixR_2.0.1.9000.tgz(r-4.6-x86_64)datefixR_2.0.1.9000.tgz(r-4.6-arm64)datefixR_2.0.1.9000.tgz(r-4.5-x86_64)datefixR_2.0.1.9000.tgz(r-4.5-arm64)
datefixR_2.0.1.9000.tar.gz(r-4.7-arm64)datefixR_2.0.1.9000.tar.gz(r-4.7-x86_64)datefixR_2.0.1.9000.tar.gz(r-4.6-arm64)datefixR_2.0.1.9000.tar.gz(r-4.6-x86_64)
datefixR_2.0.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
datefixR/json (API)

# Install 'datefixR' in R:
install.packages('datefixR', repos = c('https://ropensci.r-universe.dev', 'https://cloud.r-project.org'))

Reviews:rOpenSci Software Review #533

Bug tracker:https://github.com/ropensci/datefixr/issues

Pkgdown/docs site:https://docs.ropensci.org

Datasets:
  • exampledates - Example dataset of dates in different formats

On CRAN:

Conda:

dateswranglingrustcargo

8.24 score 34 stars 47 scripts 733 downloads 3 exports 3 dependencies

Last updated from:9153c32dad (on main). Checks:14 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK214
linux-devel-x86_64OK187
pkgdown docsOK242
source / vignettesOK275
linux-release-arm64OK197
linux-release-x86_64OK192
macos-release-arm64OK122
macos-release-x86_64OK251
macos-oldrel-arm64OK177
macos-oldrel-x86_64OK351
windows-develOK237
windows-releaseOK187
windows-oldrelOK201
wasm-releaseOK175

Exports:fix_date_appfix_date_charfix_date_df

Dependencies:clilifecyclerlang

Localization with datefixR
Introduction | Supported Languages and Formats | Fully Supported Languages | Language Detection Features | Language-Specific Examples | English | French (Français) | German (Deutsch) | Spanish (Español) | Portuguese | Russian (Русский) | Indonesian (Bahasa Indonesia) | Handling Mixed Languages | Format Detection | Roman Numeral Support (Experimental) | Best Practices | Adding New Languages

Last update: 2025-08-09
Started: 2025-07-29

datefixR: Comprehensive Date Standardization Guide
Introduction | Key Features | Core Functions | When to Use datefixR | Core Workflow | Date standardization | Advanced Topics | Localization | Date and Month Imputation | Converting Numeric Dates | Roman Numeral Months Experimental | Error & Edge-Case Handling | Common Error Examples | FAQ | Understanding Year Parsing Logic | Two-Digit vs Four-Digit Years | Automatic YMD Detection Logic | 1. Year-First Detection | 2. Month Name Detection | 3. Numeric Component Defaults | 4. Handling Ambiguous Cases | 5. Format Detection Examples | Overriding Automatic Detection | Explicit Format Specification | Data Frame Processing | Citation

Last update: 2025-07-29
Started: 2021-11-13

Using the datefixR Shiny App
Introduction | Installation and Setup | Prerequisites | Launching the App | Theme Options | Step-by-Step Usage Guide | 1. File Upload | 2. Column Selection | 3. Imputation Settings | Day of Month Imputation | Month Imputation | Format Assumption | 4. Processing and Review | 5. Download Results | Advanced Features | File Format Support | Error Handling | Data Privacy | Example Workflow

Last update: 2025-07-29
Started: 2025-07-29