Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
2022-rstudio-conf-its-about-time
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Davis Vaughan
July 05, 2022
560
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
2022-rstudio-conf-its-about-time
Davis Vaughan
July 05, 2022
More Decks by Davis Vaughan
See All by Davis Vaughan
New features in dplyr 1.1.0, plus an intro to ivs
davisvaughan
0
1.2k
slide-almanac.pdf
davisvaughan
0
590
useR-2019-rray.pdf
davisvaughan
0
1.3k
Rethinking Arrays in R
davisvaughan
3
1.8k
Arrays in R
davisvaughan
0
230
Modeling in the tidyverse
davisvaughan
0
310
Time series & financial analysis in the tidyverse
davisvaughan
4
1k
Featured
See All Featured
Utilizing Notion as your number one productivity tool
mfonobong
4
330
Faster Mobile Websites
deanohume
310
32k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
240
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
200
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
450
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
200
Skip the Path - Find Your Career Trail
mkilby
1
150
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
400
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.7k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
220
Transcript
It’s about time Davis Vaughan July 2022
None
clock is not replacing lubridate
🔗 clock.r-lib.org Safety
🔗 clock.r-lib.org Calendars Safety
🔗 clock.r-lib.org 2022-01-30 Calendars Safety
None
🔗 clock.r-lib.org Jan 27 28 29 30 31 Feb Mar
1 2 Feb 27 28 1 2
🔗 clock.r-lib.org Jan 27 28 29 30 31 Feb Mar
1 2 Feb Add 1 month? ? 27 28 1 2
🔗 clock.r-lib.org "2022-01-30" + months(1) = NA Jan 27 28
29 30 31 Feb Mar 1 2 Feb Add 1 month? ? 27 28 1 2
🔗 clock.r-lib.org add_months("2022-01-30", 1) #> ! Invalid date found at
location 1. #> ℹ Resolve invalid date issues by #> specifying the `invalid` argument. Jan 27 28 29 30 31 Feb Mar 1 2 Feb Add 1 month? ? 27 28 1 2
🔗 clock.r-lib.org add_months("2022-01-30", 1, invalid = "previous") = "2022-02-28" Jan
27 28 29 30 31 Feb Mar 1 2 Feb Add 1 month? 27 28 1 2
🔗 clock.r-lib.org add_months("2022-01-30", 1, invalid = "next") = "2022-03-01" Jan
27 28 29 30 31 Feb Mar 1 2 Feb Add 1 month? 27 28 1 2
🔗 clock.r-lib.org add_months("2022-01-30", 1, invalid = "NA") = NA Jan
27 28 29 30 31 Feb Mar 1 2 Feb Add 1 month? 27 28 1 2
🔗 clock.r-lib.org "2022-01-30" year_month_day
🔗 clock.r-lib.org "2022-030" year_day "2022-01-30" year_month_day
🔗 clock.r-lib.org "2022-030" year_day "2022-01-Sun[5]" year_month_weekday "2022-Q1-30" year_quarter_day "2022-W04-7" iso_year_week_day
"2022-01-30" year_month_day
🔗 clock.r-lib.org "2022-030" year_day "2022-01-Sun[5]" year_month_weekday "2022-Q1-30" year_quarter_day "2022-W04-7" iso_year_week_day
"2022-01-30" year_month_day
🔗 clock.r-lib.org "2022-030" year_day "2022-01-Sun[5]" year_month_weekday "2022-Q1-30" year_quarter_day "2022-W04-7" iso_year_week_day
"2022-01-30" year_month_day Date POSIXct
🔗 clock.r-lib.org "2022-030" year_day "2022-01-Sun[5]" year_month_weekday "2022-Q1-30" year_quarter_day "2022-W04-7" iso_year_week_day
"2022-01-30" year_month_day Date POSIXct "2022-01" year_month_day<month> "2022-01-30" year_month_day
🔗 clock.r-lib.org Compatibility slider ivs Rolling average, looking back 3
quarters Intervals, i.e. [2022-01, 2022-07)
lubridate is NOT going anywhere But try clock for: -
Enhanced safety - Powerful types clock.r-lib.org