MP Search

Share:

Description

Search for an MP or Lord by name and constituency

Usage

1
members_search(Search = NULL)

Arguments

Search

Search for members by name and constituency. 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
###NOT RUN
# x <- members_search(Search=NULL)
# Returns members('all')
# x <- members_search(Search='chris')
# head(x)
# Returns all members with 'chris' in their name or the name of their constituency