tidyverts / tsibble

Tidy Temporal Data Frames and Tools
https://tsibble.tidyverts.org
GNU General Public License v3.0
528 stars 50 forks source link

Could you incorporate tibbletime::as_period() functionality? #230

Closed GitHunter0 closed 3 years ago

GitHunter0 commented 3 years ago

tibbletime::as_period() has a highly useful functionality that I cannot find elsewhere. Would you develop something like that in tsibble? I believe it would complement very well the other tsibblefunctions. Thanks a lot.

earowang commented 3 years ago

You may find {lubridate} useful. The {luridate} provides many as_period() functionality and beyond, like floor_date() https://lubridate.tidyverse.org/reference/round_date.html