papers_laid {hansard} | R Documentation |
Papers laid
Description
Imports data on papers laid before the House.
Usage
papers_laid(withdrawn = FALSE, house = NULL,
start_date = "1900-01-01", end_date = Sys.Date(),
extra_args = NULL, tidy = TRUE, tidy_style = "snake",
verbose = TRUE)
hansard_papers_laid(withdrawn = FALSE, house = NULL,
start_date = "1900-01-01", end_date = Sys.Date(),
extra_args = NULL, tidy = TRUE, tidy_style = "snake",
verbose = TRUE)
Arguments
withdrawn |
If |
house |
The house the paper was laid in. Accepts |
start_date |
Only includes papers laid before the House on or after
this date. Accepts character values in |
end_date |
Only includes papers laid before the House on or before
this date. Accepts character values in |
extra_args |
Additional parameters and queries to pass to API. These
queries must be strings and start with "&". See the
API documentation
or the package vignette for more details. Defaults to |
tidy |
Logical parameter. If |
tidy_style |
The style to convert variable names to, if
|
verbose |
If |
Value
A tibble with details on papers laid before the given House.
Examples
## Not run:
x <- papers_laid(withdrawn = FALSE, house = "commons")
x <- papers_laid(withdrawn = TRUE, house = NULL)
## End(Not run)