Package: datetoiso 0.2.0

Lukasz Andrzejewski

datetoiso: Modify Dates to ISO Standard ("International Organization for Standardization")

Transfer any date type to ISO standard. Package recognizes dates in given data frame and transform to ISO format. Only one date format can be applied within one data frame column.

Authors:Lukasz Andrzejewski [aut, cre]

datetoiso_0.2.0.tar.gz
datetoiso_0.2.0.tar.gz(r-4.5-noble)datetoiso_0.2.0.tar.gz(r-4.4-noble)
datetoiso_0.2.0.tgz(r-4.4-emscripten)datetoiso_0.2.0.tgz(r-4.3-emscripten)
datetoiso.pdf |datetoiso.html
datetoiso/json (API)
NEWS

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

Peer review:

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

1.70 score 1 scripts 177 downloads 2 exports 12 dependencies

Last updated 1 years agofrom:906c653481. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 26 2024
R-4.5-linuxOKNov 26 2024

Exports:dfisoviso

Dependencies:clicpp11genericsgluelifecyclelubridatemagrittrrlangstringistringrtimechangevctrs

Readme and manuals

Help Manual

Help pageTopics
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
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
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
Additional step for YMD date typeprepare_date
Function remove symbolsremove_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