fix_dates: Fix a character field to date

Description Usage Arguments Examples

Description

This function will return a dataframe with all

Usage

1
fix_dates(df, format = "%Y-%m-%d %H:%M:%S", date_search = "date")

Arguments

df

dataframe you want add information to

format

formt that date is currently in so we can parse it

date_search

character string to search for within the names of each column; Any that match will be changed to a date format

Examples

1
fix_dates(myydataframe)

keithabailey/PRMTools documentation built on May 20, 2019, 8:45 a.m.