lubridate (tidyverse)
http://lubridate.tidyverse.org/
https://rpubs.com/davoodastaraky/lubridate
https://www.r-statistics.com/2012/03/do-more-with-dates-and-times-in-r-with-lubridate-1-1-0/
Date 타입을 더 쉽게 다루기 위한 팩키지
String -> Datetime
여러형태의 string형식으로 표현된 날짜데이터를 Date형식으로 parsing할수 있다. 일관된format의 Date타입의 날짜시간데이터를 얻을 수 있다.
또한 Date형식의 데이터에서 필요한 요소를 추출할 수도 있다.
ymd_hms()
R
R
Datetime -> String
year, month, day….
R
R
Datetime -> Datetime
Round, floor and ceiling methods
https://rdrr.io/cran/lubridate/man/round_date.html
R