The goal of lubrilog is to provide feedback from a subset of
lubridate
functions such as ymd
,
dmy
, mdy
and year
.
lubrilog contains a games
dataset which is a subset of
data from games on Steam. For more information use:
library(lubrilog)
?games
lubrilog
would not be possible without the following
packages:
# The easiest way to install lubrilog is directly from CRAN:
install.packages("lubrilog")
# Or you can install the development version of lubrilog from GitHub with:
# install.packages("devtools")
::install_github("arrismo/lubrilog") devtools
Load lubrilog
:
library("lubrilog")
Using the games
data set let’s clean our
release_date
column:
head(games$release_date)
#> [1] "Nov 1 2000" "Apr 1 1999" "May 1 2003" "Jun 1 2001" "Nov 1 1999"
#> [6] "Nov 1 2000"
Lubrilog will give you information about the lubridate
operation:
head(mdy(games$release_date))
#> ✖ NA values created by parsing: 465
#> ✔ Example successful parse:
#> → Original: Nov 1 2000
#> → Parsed: 2000-11-01
#> ✖ Example failed parse:
#> → Original: Coming Soon
#> → Parsed: NA
#> [1] "2000-11-01" "1999-04-01" "2003-05-01" "2001-06-01" "1999-11-01"
#> [6] "2000-11-01"