Learn R Programming

datetoiso

Copy Link

Version

Install

install.packages('datetoiso')

Monthly Downloads

285

Version

1.2.1

License

MIT + file LICENSE

Maintainer

Lukasz Andrzejewski

Last Published

December 16th, 2025

Functions in datetoiso (1.2.1)

get_max_score_within_data_formats

Score each of date format ymd, ydm, dmy, dym, mdy, myd and return only the highest score
get_full_name_months_sep_by_vertical_bar

Get vector with full name of months separated by vertical bar
find_ydm_date_format

Find YDM dates only
reconcile

Reconcile Two Versions of a Data Frame
dfiso

Function recognize date variables and modify them to ISO standard ("International Organization for Standardization")
get_same_class

Harmonizes variable classes between two data frames
impute_date

Impute Missing Components in Partial Date Strings
get_months_sep_by_vertical_bar

Get vector with full and abbreviated name of months separated by vertical bar
get_months_full_names

List month names: full names in lower case
get_number_of_symbols_in_string

Function to find number of symbols in date
find_only_dates

Return TRUE if data frame column or vector contains date
find_unknow_date

Find Unknown date, defined as UN or UNK
get_abbreviated_month_name

Replace full month name by abbreviated month name
find_myd_date_format

Find MYD dates only
find_dmy_date_format

Find DMY dates only
impute_date_dmy

Impute Missing Components in Partial Date Strings
viso

transform date vector to date vector in ISO standard ("International Organization for Standardization")
has_dash_or_slash_or_white_space_characters_or_months_separated_by_vertical_bar

Function return special characters and months separated by vertical bars
impute_date_ymd

Impute Missing Components in Partial Date Strings
has_dash_or_slash_or_white_space_characters_separated_by_vertical_bar

Function return special characters separated by vertical bars
get_up_to_12_char

function return observations with up to 12 characters
remove_no_date_characters

Remove unnecessary characters from date-like strings
remove_unnecessary_part_of_date

Get substring of date to eliminate unnecessary part
reconcile_without_index

Reconcile Two Data Frames
check_day_correctly_entered_dmy

Check if Day Component is Valid in dmy date type
choose_mdy_format

Get TRUE if date format is mdy
choose_dym_format

Get TRUE if date format is dym
check_if_year_month_day_entered

Check if a vector contains a complete date
check_if_month_year_entered

Check if a Vector Contains a Month and Year
check_if_year_month_entered

Check if a Vector Contains a Year and Month
choose_dmy_format

Get TRUE if date format is dmy
check_if_only_year_entered

Check if a Vector Contains only Year
check_day_correctly_entered_ymd

Check if Day Component is Valid in ymd date type
find_mdy_date_format

Find MDY dates only
choose_ydm_format

Get TRUE if date format is ydm
choose_ymd_format

Get TRUE if date format is ymd
find_dym_date_format

Find DYM dates only
choose_myd_format

Get TRUE if date format is myd
clean_date

Prepare and normalize date-like strings before YMD conversion
compare_rows_with_same_index

Identifies and summarizes value-level changes between two datasets
find_ymd_date_format

Find YMD dates only
get_months

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