View source: R/get_session_publications.R
get_session_publications | R Documentation |
A function for retrieving one of several publication types within a parliamentary session.
get_session_publications(sessionid = NA, type = "referat", good_manners = 0)
sessionid |
Character string indicating the id of the hearing to retrieve. |
type |
Character specifying type of publication to download. Available types are "referat" (minutes), "innstilling" (proposition), "innberetning" (report), "lovvedtak" (law decision), "lovanmerkning" (law note), "dok8" (MP proposal) "dok12" (Constitutional proposal), and "dokumentserie" (document series). Defaults to "referat". |
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 |
session_id | Session id |
publication_date | Date of publication |
publication_id | Id of publication |
publication_format | Publication format (XML) |
publication_available_date | When the publication was made available |
publication_title | Publication title |
publication_type | Publication type |
get_publication
## Not run:
pub <- get_session_publications("1998-99")
head(pub)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.