Description Usage Arguments Value Examples
Create a clean year, month, day date.
Reading data in and aout of R may cause date mistakes, using a simple set function will ensure data types are the right format and class type. This data format is cleaned up to be in the format yyyy-mm-dd with no hours, minutes, seconds, or time zone attached.
1 | extractCleanDate(dateVector, orders = "ymd")
|
dateVector |
A vector of character dates. |
orders |
The orders the dates appear in.
Sumobrain is "ymd" and Lens.org and Google data are "mdy". Hardcoded values include
|
A date vector of year, month, day dates.
1 | acars$pubDate <- extractCleanDate(dateVector = acars$pubDate, orders = "ymd")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.