Learn R Programming

lubrilog

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

Inspirations

lubrilog would not be possible without the following packages:

Installation

# 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")
devtools::install_github("arrismo/lubrilog")

Example

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
#> ✔ Successful parse:
#> →   Original: Nov 1 2000
#> →   Parsed:   2000-11-01
#> ✖ 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"

Copy Link

Version

Install

install.packages('lubrilog')

Monthly Downloads

139

Version

1.3.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Mikael Moise

Last Published

June 15th, 2025

Functions in lubrilog (1.3.0)

dmy

Wrapper function around lubridate::dmy that gives feedback about parsed variable
ydm

Wrapper function around lubridate::ydm that gives feedback about parsed variable
yq

Wrapper function around lubridate::yq that gives feedback about parsed variable
ydm_h

Wrapper function around lubridate::ydm_h that gives feedback about parsed variable
ymd_h

Wrapper function around lubridate::ymd_h that gives feedback about parsed variable
ymd_hms

Wrapper function around lubridate::ymd_hms that gives feedback about parsed variable
ymd

Wrapper function around lubridate::ymd that gives feedback about parsed variable
dmy_hms

Wrapper function around lubridate::dmy_hms that gives feedback about parsed variable
ym

Wrapper function around lubridate::ym that gives feedback about parsed variable
games

Steam Games data
year

Wrapper function around lubridate::year that gives feedback about parsed variable
mdy

Wrapper function around lubridate::mdy that gives feedback about parsed variable
mdy_h

Wrapper function around lubridate::mdy_h that gives feedback about parsed variable
ydm_hms

Wrapper function around lubridate::ydm_hms that gives feedback about parsed variable
mdy_hms

Wrapper function around lubridate::mdy_hms that gives feedback about parsed variable
ms

Wrapper function around lubridate::ms that gives feedback about parsed variable
hm

Wrapper function around lubridate::hm that gives feedback about parsed variable
my

Wrapper function around lubridate::my that gives feedback about parsed variable
hms

Wrapper function around lubridate::hms that gives feedback about parsed variable
myd

Wrapper function around lubridate::myd that gives feedback about parsed variable
dmy_h

Wrapper function around lubridate::dmy_h that gives feedback about parsed variable