Interval is a duration with specific start and end date. lubridate package comes with helper functions that work with interval.
- You can retrieve the amount of time interval covers, either as duration or period.
- You can test whether another date time is in the interval
- You can test whether two intervals overlap.
In this video, we will work with various helper functions that make working with time interval easy. We will use Indian Prime Minister's data set and use various time interval helper functions on it. We will try to answer some interesting questions such as, Who was the Prime Minister at office when some of the major events have unfolded in India's history post independence era.
The video link for parsing functions in lubridate package is:
• lubridate package | Pa...
The video link for mutate function in dply package is:
• Dplyr Package | Use mu...
Rmarkdown file and data set can be found at Git repo:
github.com/sid...
4 сен 2024