commons_oral_question_times: Imports data on House of Commons oral question times

Description Usage Arguments Value See Also Examples

View source: R/commons_oral_question_times.R

Description

Imports data on House of Commons oral question times

Usage

1
2
3
4
5
commons_oral_question_times(session = NULL, question_id = NULL,
  extra_args = NULL, tidy = TRUE, tidy_style = "snake_case")

hansard_commons_oral_question_times(session = NULL, question_id = NULL,
  extra_args = NULL, tidy = TRUE, tidy_style = "snake_case")

Arguments

session

Accepts a session in format yyyy/yy (e.g. 2016/17) and returns a tibble of all oral question times from that session

question_id

Accepts a question time ID, and returns a tibble of that question time.

extra_args

Additional parameters to pass to API. Defaults to NULL.

tidy

Fix the variable names in the tibble to remove special characters and superfluous text, and converts the variable names to a consistent style. Defaults to TRUE.

tidy_style

The style to convert variable names to, if tidy = TRUE. Accepts one of 'snake_case', 'camelCase' and 'period.case'. Defaults to 'snake_case'.

Value

A tibble with information on oral question times in the House of Commons.

See Also

all_answered_questions

commons_answered_questions

commons_oral_questions

commons_written_questions

lords_written_questions

mp_questions

Examples

1
2
3
4
5
6
## Not run: 

 x <- commons_oral_question_times(session='2016/17', question_id='685697')


## End(Not run)

hansard documentation built on Aug. 13, 2017, 9:07 a.m.