commons_oral_question_times {hansard} | R Documentation |
Commons oral question times
Description
Imports data on House of Commons oral question times. Query with parameters
for the parliamentary session or the question ID. If tidy=TRUE
,
datetime variables are converted to POSIXct
class.
Usage
commons_oral_question_times(session = NULL, question_id = NULL,
extra_args = NULL, tidy = TRUE, tidy_style = "snake",
verbose = TRUE)
hansard_commons_oral_question_times(session = NULL, question_id = NULL,
extra_args = NULL, tidy = TRUE, tidy_style = "snake",
verbose = TRUE)
Arguments
session |
Accepts a session in format |
question_id |
Accepts a question time ID, and returns a tibble of that question time. |
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 information on oral question times in the House of Commons.
See Also
Examples
## Not run:
x <- commons_oral_question_times(session = "2016/17", question_id = "685697")
## End(Not run)