lnt_asDate | R Documentation |
Converts dates from string formats common in LexisNexis to a date object.
lnt_asDate(x, format = "auto", locale = "auto", ...)
x |
A character object to be converted. |
format |
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). |
locale |
A ISO 639-1 locale code (see https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes). |
... |
Not used. |
This function returns an object of class date.
LNToutput <- lnt_read(lnt_sample(copy = FALSE), convert_date = FALSE)
d <- lnt_asDate(LNToutput@meta$Date)
d
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.