ts_generate: Generate ULIDs from timestamps

Description Usage Arguments Examples

View source: R/RcppExports.R

Description

This function generates a new Universally Unique Lexicographically Sortable Identifier from a vector of POSIXct timestamps.

Usage

1

Arguments

tsv

vector of POSIXct values

Examples

1
ts_generate(as.POSIXct("2017-11-01 15:00:00", origin="1970-01-01"))

Example output

[1] "0001CZKRBG4YAVK35F328Y9XWK"

ulid documentation built on July 9, 2019, 5:03 p.m.