trelliscope (version 0.9.7)

makeStateHash: Make a URL hash out of state information

Description

Make a URL hash out of cognostics state information

Usage

makeStateHash(x)

Arguments

x
a list of cognostics state parameters

Value

a URL hash

See Also

validateState

Examples

Run this code
state <- stateSpec(
  name = "my_display",
  sort = list(state = "desc", county = "asc"),
  filter = list(
    county = list(regex = "Ben"),
    state = list(select = c("OR", "WA")),
    meanList = list(from = 50, to = 150)
  ),
  layout = list(nrow = 2, ncol = 4),
  labels = c("county", "state")
)

state <- validateState(state, checkDisplay = FALSE)

makeStateHash(state)

Run the code above in your browser using DataLab