# Filter Input Catalog

# Contents

Return Types:

- `dateInput`
- `dateRangeInput`
- `numericInput`
- `radioButtons`
- `selectInput`
- `selectizeInput`
- `sliderInput`
- `textAreaInput`
- `textInput`

Input Types:

- character
- Date
- factor
- list
- numeric
- POSIXt

# Return Types

## `dateInput`

### Date

    filterInput(
        x = Sys.Date() + 0:9,
        inputId = "id",
        label = "Pick a date:"
    )

### POSIXt

    filterInput(
        x = Sys.time() + as.difftime(0:9, units = "days"),
        inputId = "id",
        label = "Pick a date:"
    )

## `dateRangeInput`

### Date

- `range = TRUE`

    filterInput(
        x = Sys.Date() + 0:9,
        inputId = "id",
        label = "Pick a date range:",
        range = TRUE
    )

### POSIXt

- `range = TRUE`

    filterInput(
        x = Sys.time() + as.difftime(0:9, units = "days"),
        inputId = "id",
        label = "Pick a date range:",
        range = TRUE
    )

## `numericInput`

### numeric

    filterInput(
        x = 0:9,
        inputId = "id",
        label = "Pick a number:"
    )

Pick a number:

## `radioButtons`

### character

- `radio = TRUE`

    filterInput(
        x = letters[1:10],
        inputId = "id",
        label = "Pick a letter:",
        inline = TRUE,
        radio = TRUE
    )

Pick a letter:
a b c d e f g h i j

### factor

- `radio = TRUE`

    filterInput(
        x = as.factor(letters[1:10]),
        inputId = "id",
        label = "Pick a letter:",
        inline = TRUE,
        radio = TRUE
    )

Pick a letter:
a b c d e f g h i j

### list

- `radio = TRUE`

    filterInput(
        x = as.list(letters[1:10]),
        inputId = "id",
        label = "Pick a letter:",
        inline = TRUE,
        radio = TRUE
    )

Pick a letter:
a b c d e f g h i j

## `selectInput`

### character

    filterInput(
        x = letters[1:10],
        inputId = "id",
        label = "Pick a letter:"
    )

Pick a letter:

### factor

    filterInput(
        x = as.factor(letters[1:10]),
        inputId = "id",
        label = "Pick a letter:"
    )

Pick a letter:

### list

    filterInput(
        x = as.list(letters[1:10]),
        inputId = "id",
        label = "Pick a letter:"
    )

Pick a letter:

## `selectizeInput`

### character

- `selectize = TRUE`

    filterInput(
        x = letters[1:10],
        inputId = "id",
        label = "Pick a letter:",
        selectize = TRUE
    )

Pick a letter:

### factor

- `selectize = TRUE`

    filterInput(
        x = as.factor(letters[1:10]),
        inputId = "id",
        label = "Pick a letter:",
        selectize = TRUE
    )

Pick a letter:

### list

- `selectize = TRUE`

    filterInput(
        x = as.list(letters[1:10]),
        inputId = "id",
        label = "Pick a letter:",
        selectize = TRUE
    )

Pick a letter:

## `sliderInput`

### numeric

- `slider = TRUE`

    filterInput(
        x = 0:9,
        inputId = "id",
        label = "Pick a number:",
        slider = TRUE
    )

## `textAreaInput`

### character

- `textbox = TRUE`
- `area = TRUE`

    filterInput(
        x = letters[1:10],
        inputId = "id",
        label = "Type many letters[1:10]:",
        textbox = TRUE,
        area = TRUE
    )

Type many letters[1:10]:

## `textInput`

### character

- `text = TRUE`

    filterInput(
        x = letters[1:10],
        inputId = "id",
        label = "Type a letter:",
        textbox = TRUE
    )

Type a letter:

# Input Types

## character

### `selectInput`

    filterInput(
        x = letters[1:10],
        inputId = "id",
        label = "Pick a letter:"
    )

Pick a letter:

### `selectizeInput`

- `selectize = TRUE`

    filterInput(
        x = letters[1:10],
        inputId = "id",
        label = "Pick a letter:",
        selectize = TRUE
    )

Pick a letter:

### `radioButtons`

- `radio = TRUE`

    filterInput(
        x = letters[1:10],
        inputId = "id",
        label = "Pick a letter:",
        inline = TRUE,
        radio = TRUE
    )

Pick a letter:
a b c d e f g h i j

### `textInput`

- `textbox = TRUE`

    filterInput(
        x = letters[1:10],
        inputId = "id",
        label = "Type a letter:",
        textbox = TRUE
    )

Type a letter:

### `textAreaInput`

- `textbox = TRUE`
- `area = TRUE`

    filterInput(
        x = letters[1:10],
        inputId = "id",
        label = "Type many letters[1:10]:",
        textbox = TRUE,
        area = TRUE
    )

Type many letters[1:10]:

## Date

### `dateInput`

    filterInput(
        x = Sys.Date() + 0:9,
        inputId = "id",
        label = "Pick a date:"
    )

### `dateRangeInput`

- `range = TRUE`

    filterInput(
        x = Sys.Date() + 0:9,
        inputId = "id",
        label = "Pick a date range:",
        range = TRUE
    )

## factor

### `selectInput`

    filterInput(
        x = as.factor(letters[1:10]),
        inputId = "id",
        label = "Pick a letter:"
    )

Pick a letter:

### `selectizeInput`

- `selectize = TRUE`

    filterInput(
        x = as.factor(letters[1:10]),
        inputId = "id",
        label = "Pick a letter:",
        selectize = TRUE
    )

Pick a letter:

### `radioButtons`

- `radio = TRUE`

    filterInput(
        x = as.factor(letters[1:10]),
        inputId = "id",
        label = "Pick a letter:",
        inline = TRUE,
        radio = TRUE
    )

Pick a letter:
a b c d e f g h i j

## list

### `selectInput`

    filterInput(
        x = as.list(letters[1:10]),
        inputId = "id",
        label = "Pick a letter:"
    )

Pick a letter:

### `selectizeInput`

- `selectize = TRUE`

    filterInput(
        x = as.list(letters[1:10]),
        inputId = "id",
        label = "Pick a letter:",
        selectize = TRUE
    )

Pick a letter:

### `radioButtons`

- `radio = TRUE`

    filterInput(
        x = as.list(letters[1:10]),
        inputId = "id",
        label = "Pick a letter:",
        inline = TRUE,
        radio = TRUE
    )

Pick a letter:
a b c d e f g h i j

## numeric

### `numericInput`

    filterInput(
        x = 0:9,
        inputId = "id",
        label = "Pick a number:"
    )

Pick a number:

### `sliderInput`

- `slider = TRUE`

    filterInput(
        x = 0:9,
        inputId = "id",
        label = "Pick a number:",
        slider = TRUE
    )

## POSIXt

### `dateInput`

    filterInput(
        x = Sys.time() + as.difftime(0:9, units = "days"),
        inputId = "Id",
        label = "Pick a date:"
    )

### `dateRangeInput`

- `range = TRUE`

    filterInput(
        x = Sys.time() + as.difftime(0:9, units = "days"),
        inputId = "Id",
        label = "Pick a date range:",
        range = TRUE
    )