powered by
Converts dates from string formats common in LexisNexis to a date object.
lnt_asDate(x, format = "auto", locale = "auto", ...)
This function returns an object of class date.
A character object to be converted.
Either "auto" to guess the format based on a common order of day, month and year or provide a custom format (see stri_datetime_format for format options).
A ISO 639-1 locale code (see https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes).
Not used.
LNToutput <- lnt_read(lnt_sample(copy = FALSE), convert_date = FALSE) d <- lnt_asDate(LNToutput@meta$Date) d
Run the code above in your browser using DataLab