trelliscope (version 0.9.7)

toHash: Methods for dealing with state and hashes

Description

Methods for dealing with state and hashes

Usage

toHash(x)
fromHash(x)

Arguments

x
state or hash object

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