members_search: members_search

Description Usage Arguments Details Examples

Description

Search for an MP or Lord by name and constituency

Usage

1
members_search(Search = NULL)

Arguments

Search

Accepts any string. Defaults to NULL.

Details

Function searches for the string and returns a data frame 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 data frame of all members of both houses, the same result as members('all').

Examples

1
2
3
4
5
6
7
## Not run: 

x <- members_search('chris')

x <- members_search(Search='chris')

## End(Not run)


Search within the hansard package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.