getMP: Get information about a Member of Parliament

Description Usage Arguments Value

View source: R/twfy.R

Description

Returns

Usage

1
2
getMP(id = NULL, postcode = NULL, constituency = NULL,
  always_return = NULL)

Arguments

id

An MP identifier

postcode

A postcode, used to identify a constituency and thereby an MP

constituency

Name of a constituency

always_return

whether to try to return an MP even if the seat is vacant or it before an election

Value

a data.frame with rows representing the MP's spells in Parliament and columns


twfy documentation built on May 2, 2019, 4:16 a.m.