View source: R/get_session_parties.R
get_session_parties | R Documentation |
A function for retrieving Norwegian parliamentary parties for a specified parliamentary session
get_session_parties(sessionid = NA, good_manners = 0)
sessionid |
Character string indicating the id of the parliamentary session 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 |
id | Party id |
name | Party name |
represented_party | Logical indication of whether party was represented |
session_id | Session id |
period_id | Parliamentary period id |
get_all_parties
## Not run:
parties <- get_session_parties("2003-2004")
parties
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.