У нас вы можете посмотреть бесплатно R Tutorial: Why lubridate? или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Want to learn more? Take the full course at https://learn.datacamp.com/courses/wo... at your own pace. More than a video, you'll learn hands-on coding & quickly apply skills to your daily work. --- As you've seen R has some built-in support for storing dates and datetimes, but for the rest of the course you'll learn about a package called lubridate. lubridate is designed to make working with dates and times as easy as possible in R. It's a tidyverse package, which means it obeys some key principles, including playing nicely with R's existing datetime objects and being designed for humans, not computers. It also means it will fit nicely in your data analysis pipelines that use other tidyverse tools. In particular, in this course you'll combine lubridate with dplyr and ggplot2 to answer questions about data that includes a datetime variable. One nice aspect is that you don't need to worry about whether your datetimes are stored in Date objects, POSIXct objects or even time series objects like zoo or xts, the lubridate functions will have consistent behaviour. You only need to learn one function for any kind of datetime object. You'll start by seeing how easy lubridate makes it to parse a character string into a datetime object. Although R has some built in parsing functions, lubridate's functions are simpler to use, more forgiving of different formats, and even allow parsing of many formats in one vector. Then, you'll learn about lubridate functions for extracting and manipulating components of a datetime. You'll be able to pull out the month, day of the week or day of the year from a datetime. Combined with dplyr and ggplot that will allow you to make plots like this joyplot of the maximum daily temperature by month in Auckland. lubridate also has special objects for handling time spans - the time that passes between two time points. You'll learn how to use time spans to generate sequences of datetimes and calculate the length of time intervals like the lengths of reigns of the kings and queens of England. In the final chapter you'll learn about lubridate functions for dealing with timezones, fast parsing of datetimes and outputting datetimes. Ready to get started? I'll see you in the next chapter. #R #RTutorial #DataCamp #Dates #Times #lubridate