getMSP: Get information on a Member of the Scottish Parliament

Description Usage Arguments Value

View source: R/twfy.R

Description

Get information on a Member of the Scottish Parliament

Usage

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

Arguments

id

Person identifier

postcode

A postcode, which specifies the constituency whose MSP is required

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.