Package: datetoiso 1.2.1

Lukasz Andrzejewski

datetoiso: Convert and Impute Dates to ISO 8601 Format and Reconcile Data Sets

Provides tools for converting and imputing date values to the ISO 8601 standard format and for reconciling differences between two versions of a data set. The package automatically detects date patterns within data frame columns and converts them to consistent ISO-formatted dates, with optional imputation of missing day or month components based on user-defined rules. It also includes functionality to identify inserted, deleted, and updated records, as well as column- and value-level changes, when comparing old and new versions of a data frame. Only one date format may be applied within a single column.

Authors:Lukasz Andrzejewski [aut, cre]

datetoiso_1.2.1.tar.gz
datetoiso_1.2.1.tar.gz(r-4.7-any)datetoiso_1.2.1.tar.gz(r-4.6-any)
datetoiso_1.2.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
datetoiso/json (API)
NEWS

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

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.30 score 1 scripts 221 downloads 5 exports 22 dependencies

Last updated from:1a4f994068. Checks:4 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK134
source / vignettesOK158
linux-release-x86_64OK138
wasm-releaseOK105

Exports:clean_datedfisoimpute_datereconcileviso

Dependencies:clicpp11data.tabledplyrgenericsgluelifecyclelubridatemagrittrpillarpkgconfigpurrrR6rlangstringistringrtibbletidyselecttimechangeutf8vctrswithr

Readme and manuals

Help Manual

Help pageTopics
Check if Day Component is Valid in dmy date typecheck_day_correctly_entered_dmy
Check if Day Component is Valid in ymd date typecheck_day_correctly_entered_ymd
Check if a Vector Contains a Month and Yearcheck_if_month_year_entered
Check if a Vector Contains only Yearcheck_if_only_year_entered
Check if a vector contains a complete datecheck_if_year_month_day_entered
Check if a Vector Contains a Year and Monthcheck_if_year_month_entered
Get TRUE if date format is dmychoose_dmy_format
Get TRUE if date format is dymchoose_dym_format
Get TRUE if date format is mdychoose_mdy_format
Get TRUE if date format is mydchoose_myd_format
Get TRUE if date format is ydmchoose_ydm_format
Get TRUE if date format is ymdchoose_ymd_format
Prepare and normalize date-like strings before YMD conversionclean_date
Identifies and summarizes value-level changes between two datasetscompare_rows_with_same_index
Function recognize date variables and modify them to ISO standard ("International Organization for Standardization")dfiso
Find DMY dates onlyfind_dmy_date_format
Find DYM dates onlyfind_dym_date_format
Find MDY dates onlyfind_mdy_date_format
Find MYD dates onlyfind_myd_date_format
Return TRUE if data frame column or vector contains datefind_only_dates
Find Unknown date, defined as UN or UNKfind_unknow_date
Find YDM dates onlyfind_ydm_date_format
Find YMD dates onlyfind_ymd_date_format
Replace full month name by abbreviated month nameget_abbreviated_month_name
Get vector with full name of months separated by vertical barget_full_name_months_sep_by_vertical_bar
Score each of date format ymd, ydm, dmy, dym, mdy, myd and return only the highest scoreget_max_score_within_data_formats
List month names: full names and abbreviated names in lower caseget_months
List month names: full names in lower caseget_months_full_names
Get vector with full and abbreviated name of months separated by vertical barget_months_sep_by_vertical_bar
Function to find number of symbols in dateget_number_of_symbols_in_string
Harmonizes variable classes between two data framesget_same_class
function return observations with up to 12 charactersget_up_to_12_char
Function return special characters and months separated by vertical barshas_dash_or_slash_or_white_space_characters_or_months_separated_by_vertical_bar
Function return special characters separated by vertical barshas_dash_or_slash_or_white_space_characters_separated_by_vertical_bar
Impute Missing Components in Partial Date Stringsimpute_date
Impute Missing Components in Partial Date Stringsimpute_date_dmy
Impute Missing Components in Partial Date Stringsimpute_date_ymd
Reconcile Two Versions of a Data Framereconcile
Reconcile Two Data Framesreconcile_without_index
Remove unnecessary characters from date-like stringsremove_no_date_characters
Get substring of date to eliminate unnecessary partremove_unnecessary_part_of_date
transform date vector to date vector in ISO standard ("International Organization for Standardization")viso