members_search

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)

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

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