Description Usage Arguments Details Value Author(s) See Also Examples
QQIDexample
returns synthetic, valid QQIDs for testing and
development. The synthetic examples are easy to distinguish from "real" IDs
to prevent their accidental use in an application.
1 | QQIDexample(sel = 1:5)
|
sel |
(numeric, or logical) a subsetting vector |
The function stores five artificial QQIDs. Input is an index vector that
specifies which QQIDs to return. More than five IDs can be requested by
applying the usual subsetting rules. The QQIDs represent the exact same
numbers provided by xltIDexample()
. However the qqid
package provides only format conversion to UUID at this time, so the reverse
comparison will only succeed with xltIDexample("UUID")
.
(character) a vector of QQIDs
(c) 2019 Boris Steipe,
licensed under MIT (see file LICENSE
in this package).
xltIDexample()
Returns five 128-bit "hexlets", formatted
as Md5, hex-number, UUID, and IPv6.
1 2 3 4 5 | QQIDexample() # the five stored QQIDs
QQIDexample(2:3) # two QQIDS
QQIDexample(c(TRUE, FALSE)) # vector recycling
QQIDexample(sample(1:5, 17, replace = TRUE)) # seventeen in random order
QQIDexample() == xlt2qq(xltIDexample()) # TRUE TRUE TRUE TRUE TRUE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.