Description Usage Arguments Details Value See Also Examples
View source: R/members_search.R
Note that there are problems with the remote endpoint for this API, and that correct search queries may not return any results.
1 2 3 4 5 | 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 |
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()
.
A tibble with the results of the search.
1 2 3 4 5 6 | ## Not run:
x <- members_search("*chris*")
x <- members_search(search = "*chris*")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.