Hi Slawa -- this is great. Am just about to get into some survey data where I am going to need to be tidy with my dates so this should be really useful. Thanks for posting! Nps - Am viewing this on a Chrome browser and the last 3 lines seem to get cut-off (appeared fine when I opened in IE). Would have missed the Steven Colbert link!
Thanks! Glad it's useful :) I'm still getting used to making the knitr seamless with blogger, and it's been a challenge. Does it look better now? Are you on a mac or PC?
Well I think lubridate package could help a lot here http://cran.r-project.org/web/packages/lubridate/index.html
Yeah there are lots of packages for dates and lubridate has a lot of capabilities but it seemed to me more useful for when you already have date objects. The functions and packages I used here are great for raw data that are not yet in any date format.
nice packages about. Visual Impact Muscle Building