epetition {hansard} | R Documentation |
Individual epetitions
Description
Imports data on a given epetition. For bulk epetion data,
see epetition_tibble()
.
Usage
epetition(ID = NULL, by_constituency = FALSE, extra_args = NULL,
tidy = TRUE, tidy_style = "snake", verbose = TRUE)
hansard_epetition(ID = NULL, by_constituency = FALSE,
extra_args = NULL, tidy = TRUE, tidy_style = "snake",
verbose = TRUE)
Arguments
ID |
The ID of a given petition. If |
by_constituency |
Accepts either |
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 electronic petitions submitted to parliament.
See Also
Examples
## Not run:
x <- epetition(ID = 706964, by_constituency = TRUE)
## End(Not run)