commons_oral_question_times: commons_oral_question_times

Description Usage Arguments Examples

View source: R/commons_oral_question_times.R

Description

Imports data on House of Commons oral question times

Usage

1
2
commons_oral_question_times(session = NULL, question_id = NULL,
  extra_args = NULL, tidy = TRUE)

Arguments

session

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

question_id

Accepts a question time ID, and returns a data frame of that question time.

extra_args

Additional parameters to pass to API. Defaults to NULL.

tidy

Fix the variable names in the data frame to remove extra characters, superfluous text and convert variable names to snake_case. Defaults to TRUE.

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 May 29, 2017, 11:06 a.m.

Search within the hansard package
Search all R packages, documentation and source code