| as_timeperiod | R Documentation | 
Convert any date or string vector to tpr class.
as_timeperiod(x)
x | 
 Date or string vector  | 
Object of tpr class
Alexey Seleznev
See custom_period()
dates <- as.Date(c("2019-09-11", 
                   "2019-09-02", 
				   "2019-10-11", 
				   "2019-08-30"))
				   
dates_tpr <- as_timeperiod(dates)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.