View source: R/get_parlperiod_presidency.R
get_parlperiod_presidency | R Documentation |
A function for retrieving the presidency for a given parliamentary period from the parliament API.
get_parlperiod_presidency(periodid = NA, good_manners = 0)
periodid |
Character string indicating the id of the parliamentary period to retrieve. |
good_manners |
Integer. Seconds delay between calls when making multiple calls to the same function |
A data.frame with the following variables:
response_date | Date of data retrieval |
version | Data version from the API |
last_name | Last name of presidency member |
first_name | First name of presidency member |
from_date | Presidency member from date |
party_id | Party affiliation of presidency member |
person_id | Id of the presidency member |
to_date | Presidency member to date |
position | Presidency position |
get_mp get_mp_bio
## Not run:
# Request one MP by id
get_parlperiod_presidency("2005-2009")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.