ids: Generic id generating function

Description Usage Arguments Value Author(s) Examples

Description

Generic id generating function

Usage

1
ids(n, ..., vals = list(...), style = "snake")

Arguments

n

number of ids to return. If NULL, it instead returns the generating function

...

A number of character vectors

vals

A list of character vectors, instead of ...

style

Style to join words with. Can be one of "Pascal", "camel", "snake", "kebab", "dot", "title", "sentence", "lower", "upper", and "constant".

Value

Either a character vector of length n, or a function of one argument if n is NULL

Author(s)

Rich FitzJohn

Examples

1
# For an example, please see the vignette

Example output



ids documentation built on May 2, 2019, 2:08 a.m.