Description Usage Arguments Details Value
View source: R/divisions_lords.R
fetch_lords_divisions_members
fetches data from the Lords Votes API
showing key details about the voting record for a Lord for each division,
with one row per division. Only whether a Lord voted "Content" in a division
is returned.
1 2 3 4 5 6 | fetch_lords_divisions_members(
member_mnis_id = NULL,
from_date = NULL,
to_date = NULL,
on_date = NULL
)
|
member_mnis_id |
An integer or vector of integers representing a member mnis ID. |
from_date |
A string or Date representing a date. If a string is used it should specify the date in ISO 8601 date format e.g. '2000-12-31'. The default value is NULL, which means no records are excluded on the basis of the from_date. |
to_date |
A string or Date representing a date. If a string is used it should specify the date in ISO 8601 date format e.g. '2000-12-31'. The default value is NULL, which means no records are excluded on the basis of the to_date. |
on_date |
A string or Date representing a date. If a string is used it should specify the date in ISO 8601 date format e.g. '2000-12-31'. The default value is NULL, which means no records are excluded on the basis of the on_date. |
The from_date and to_date arguments can be used to filter divisions based on the dates they occurred. The on_date argument is a convenience that sets the from_date and to_date to the same given date. The on_date has priority: if the on_date is set, the from_date and to_date are ignored.
A tibble of key details for a Lords voting record, with one row per division.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.