lords_attendance_date()
and
lords_attendance_session()
.R/hansard-defunct.R
lords_attendance.Rd
Imports data on House of Lords attendance. Please note that the attendance data is not as tidy as some of the others that are accessible through this API, and so additional work to prepare this data in a way that you want may be required.
lords_attendance(session_id = NULL, start_date = "1900-01-01", end_date = Sys.Date(), extra_args = NULL, tidy = TRUE, tidy_style = "snake", verbose = TRUE) hansard_lords_attendance(session_id = NULL, start_date = "1900-01-01", end_date = Sys.Date(), extra_args = NULL, tidy = TRUE, tidy_style = "snake", verbose = TRUE)
session_id | The ID of the House of Lords session. If |
---|---|
start_date | Only includes attendance on or after this date. Accepts
character values in |
end_date | Only includes attendance on or before this date. Accepts
character values in |
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 |
A tibble with details on the lords who attended a given session.
if (FALSE) { x <- lords_attendance(session_id = 706178) }