Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
More tweaks
  • Loading branch information
hadley committed Aug 31, 2010
1 parent 2f7cb31 commit 9f4cd9c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README.md
@@ -1,17 +1,18 @@
#lubridate
# lubridate

Date-time data can be frustrating to work with in R. R commands for date-times are generally unintuitive and change depending on the type of date-time object being used. Moreover, the methods we use with date-times must be robust to time zones, leap days, daylight savings times, and other time related quirks. In some situations, R does not yet have the machinery needed to make robust time calculations. Lubridate makes it easier to do the things R does with date-times and possible to do the things R does not. Specifically, lubridate provides:
Date-time data can be frustrating to work with in R. R commands for date-times are generally unintuitive and change depending on the type of date-time object being used. Moreover, the methods we use with date-times must be robust to time zones, leap days, daylight savings times, and other time related quirks, and R lacks these capabilities in some situations. Lubridate makes it easier to do the things R does with date-times and possible to do the things R does not. Specifically, lubridate provides:

* a set of intuitive date-time related functions that work the same way for
all common date-time classes
all common date-time classes (including those from `chron`, `timeDate`,
`zoo`, `xts`, `its`, `tis`, `timeSeries`, `fts`, and `tseries`)

* quick and easy parsing of date-times: ymd(), dmy(), mdy()...
* quick and easy parsing of date-times: `ymd()`, `dmy()`, `mdy()`, ...

* simple functions to extract and modify components of a date-time, such as
years, months, days, hours, minutes, and seconds: second(), minute(),
hour()...
years, months, days, hours, minutes, and seconds: `year()`, `month()`,
`day()`, ...

* helper functions for handling time zones: with_tz(), force_tz()
* helper functions for handling time zones: `with_tz()`, `force_tz()`

Lubridate also expands the type of mathematical operations that can be performed with date-time objects. It introduces three new time span classes borrowed from http://joda.org.

Expand Down

0 comments on commit 9f4cd9c

Please sign in to comment.