getMP {twfy}R Documentation

Get information about a Member of Parliament

Description

Returns

Usage

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


[Package twfy version 0.1.0 Index]