A function that generates data.frames for input. Scatter XY values use runif(12)

cjs_example_data(type = "bar", grouped = FALSE, shuffle = FALSE)

Arguments

type

data for chart type: 'bar', 'scatter', so far ...

grouped

whether to include a group column for multiple datasets/traces

shuffle

whether to shuffle the data. Used in testing.

Value

a data.frame