Get information about Lords

getLords(date = NULL, party = NULL, search = NULL)

Arguments

date

ISO-style date, e.g. "1990-01-02", to compile a list of Lords for

party

Restrict list to Lords in this party

search

A search term

Value

A data.frame with columns

  • member_id Member identifier, dependent on position

  • person_id Person identifier

  • name Name of Lord

  • party Party

  • office NULL if no offices held, or a list with one element: a data.frame with column headings:

    • dept The committee or commission name

    • position Job role, e.g. Member or Leader,

    • from_date Date tenure in office began

    • to_date Date tenure in office ended, or 9999-12-31 if still in office