Learn R Programming

hansard (version 0.4.0)

commons_oral_question_times: commons_oral_question_times

Description

Imports data on House of Commons oral question times

Usage

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

Run this code


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


Run the code above in your browser using DataLab