powered by
Get random date vector from an interval
random_date_vector(size, min_date, max_date, format = NULL, unique = FALSE)
integer, vector length
character or date, beginning of the time interval to sample from
character or date, ending of the time interval to sample from
character, check strptime for details
strptime
boolean, should the output be unique?
# NOT RUN { random_date_vector(12, "2012-12-04", "2020-10-31") # }
Run the code above in your browser using DataLab