datetoiso1.1.1 package

Convert and Impute Dates to ISO Standard ("International Organization for Standardization")

check_if_only_year_entered

Check if a Vector Contains only Year

check_if_year_month_day_entered

Check if a vector contains a complete date

check_if_year_month_entered

Check if a Vector Contains a Year and Month

choose_dmy_format

Get TRUE if date format is dmy

choose_dym_format

Get TRUE if date format is dym

choose_mdy_format

Get TRUE if date format is mdy

choose_myd_format

Get TRUE if date format is myd

choose_ydm_format

Get TRUE if date format is ydm

choose_ymd_format

Get TRUE if date format is ymd

viso

transform date vector to date vector in ISO standard ("International O...

has_dash_or_slash_or_white_space_characters_or_months_separated_by_vertical_bar

Function return special characters and months separated by vertical ba...

has_dash_or_slash_or_white_space_characters_separated_by_vertical_bar

Function return special characters separated by vertical bars

check_if_month_year_entered

Check if a Vector Contains a Month and Year

get_months

List month names: full names and abbreviated names in lower case

get_number_of_symbols_in_string

Function to find number of symbols in date

get_up_to_12_char

function return observations with up to 12 characters

check_day_correctly_entered_dmy

Check if Day Component is Valid in dmy date type

check_day_correctly_entered_ymd

Check if Day Component is Valid in ymd date type

clean_date

Prepare and normalize date-like strings before YMD conversion

dfiso

Function recognize date variables and modify them to ISO standard ("In...

find_dmy_date_format

Find DMY dates only

find_dym_date_format

Find DYM dates only

find_mdy_date_format

Find MDY dates only

find_myd_date_format

Find MYD dates only

find_only_dates

Return TRUE if data frame column or vector contains date

find_unknow_date

Find Unknown date, defined as UN or UNK

find_ydm_date_format

Find YDM dates only

find_ymd_date_format

Find YMD dates only

get_abbreviated_month_name

Replace full month name by abbreviated month name

get_full_name_months_sep_by_vertical_bar

Get vector with full name of months separated by vertical bar

get_max_score_within_data_formats

Score each of date format ymd, ydm, dmy, dym, mdy, myd and return only...

get_months_full_names

List month names: full names in lower case

get_months_sep_by_vertical_bar

Get vector with full and abbreviated name of months separated by verti...

impute_date_dmy

Impute Missing Components in Partial Date Strings

impute_date_ymd

Impute Missing Components in Partial Date Strings

impute_date

Impute Missing Components in Partial Date Strings

remove_no_date_characters

Remove unnecessary characters from date-like strings

remove_unnecessary_part_of_date

Get substring of date to eliminate unnecessary part

Provides functions to convert and impute date values to the ISO 8601 standard format. The package automatically recognizes date patterns within a data frame and transforms them into consistent ISO-formatted dates. It also supports imputing missing month or day components in partial date strings using user-defined rules. Only one date format can be applied within a single data frame column.