emend_clean_date | R Documentation |
This function standardise inconsistent date formats.
emend_clean_date(dates_vector, chat = get_default_chat())
dates_vector |
A character vector that is assumed to be dates. |
chat |
A chat object defined by ellmer. |
A vector of Date objects.
x <- c("16/02/1997", "20 November 2024", "24 Mar 2022", "2000-01-01", "Jason",
"Dec 25, 2030", "11/05/2024", "March 10, 1999")
chat <- ellmer::chat_ollama(model = "llama3.1:8b", seed = 0, echo = "none")
emend_clean_date(x, chat = chat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.