I using, from package lubridate, the function parse_date_time() with the argument orders = \'YAU\' in order to transform a year an
parse_date_time()
orders = \'YAU\'