appg_officers: Fetch details on officers of APPGs

Description Usage Arguments Details Value Examples

View source: R/main.R

Description

appg_officers retrieves details on which MPs and Lords are officers of APPGs along with their role and party affiliation. Each row is one APPG officer.

Usage

1
appg_officers(appg = NA, category = NA, officer = NA, party = NA)

Arguments

appg

A character string of an APPG title written within a pair of single qoute or double qoutes. Can be a vector with more than one element. By default all APPG titles are selected.

category

A characer string of a APPG type written within a pair of single qoute or double qoutes. APPG types available: Country, Subject, Club. Can be a vector with more than one element. By default all APPG types are selected.

officer

A character string of an APPG officer written within a pair of single qoute or double qoutes. Can be a vector with more than one element. By default all APPG officers are selected.

party

A character string of a political party/grouping within the House of Commons or House of Lords written within a pair of single qoute or double qoutes. Can be a vector with more than one element. By default all parties are selected.

Details

If no parameters are supplied the function will return all APPG officers.

Value

A tibble of details on APPG officers, with one row per APPG officer.

Examples

1
2
3
appg_officers()
appg_officers(officer = c("Chi Onwurah", "Lord Chidgey"))
appg_officers(officer = "Chi Onwurah", category = "Subject")

dempseynoel/parlygroups documentation built on Sept. 9, 2020, 8:07 a.m.