use_filter: Filter publications based on selection criteria

Description Usage Arguments Author(s) Examples

Description

Filter publications based on selection criteria

Usage

1
2
3
4
5
use_filter(selection, filter_type = c("menu", "keywords", "from_date",
  "to_date"))

govuk_use_filter(selection, filter_type = c("menu", "keywords", "from_date",
  "to_date"))

Arguments

selection

Must be either a value that defines option from a drop-down menu (retrieved with get_filters) or a text to be inserted in search bar (keyword or date ranges)

filter_type

Type of filter to which the selection is applied (drop-down menu by default)

Author(s)

Tom Paskhalis

Examples

1
2
3
4
5
## Not run: 
use_filter("close-consultations")
use_filter("01/01/2018", filter_type = "from_date")

## End(Not run)

tpaskhalis/RgovUK documentation built on May 26, 2019, 9:37 a.m.