members_search.Rd
Note that there are problems with the remote endpoint for this API, and that correct search queries may not return any results.
members_search(search = NULL, tidy = TRUE, tidy_style = "snake", verbose = TRUE) hansard_members_search(search = NULL, tidy = TRUE, tidy_style = "snake", verbose = TRUE)
search | Accepts any lucene query string, using * as a multiple
character wildcard, and ? as the single character wildcard. Searchs are
not case sensitive. If |
---|---|
tidy | Logical parameter. If |
tidy_style | The style to convert variable names to, if
|
verbose | If |
A tibble with the results of the search.
Function searches for the string and returns a tibble with all matches from
both houses of parliament. Returns all partial matches in the members'
names, constituencies, twitter handle and webpage. The default search is
NULL
, which returns a tibble of all members of both houses, the
same result as members()
.
# NOT RUN { x <- members_search("*chris*") x <- members_search(search = "*chris*") # }