Invert the identifier (generated by generate_id() for one or more constructs. This means that the identifier prefix is stripped and the last part is converted back from base 30 to base 10.

invert_id(x)

Arguments

x

The identifier(s) as a character vector.

Value

The identifier(s) as a numeric vector.

Examples

invert_id(generate_id('example'));
#> [1] 166911744703