### Produce and store five UIDs
fiveUIDs <-
rock::generate_uids(5);
### Look at them
fiveUIDs;
### Use a specific origin to be able to reproduce
### a set of UIDs later (e.g. in a script)
uidOrigin <-
as.POSIXct("2025-05-21 21:53:25 CEST");
rock::generate_uids(
5,
origin = uidOrigin
);
### Produce five more UIDs to show
### their 'progression'
rock::generate_uids(5);
### Produce a set of five UIDs that follow
### the first set of five UIDs
rock::generate_uids(
5,
follow = fiveUIDs
);
### Follow with a 'distance' of 5 utterances
rock::generate_uids(
5,
follow = fiveUIDs,
followBy = 5
);
Run the code above in your browser using DataLab