View source: R/member_voting_record.R
Fetch voting records of LegCo member(s).
1 2 3 4 5 6 7 | member_voting_record(speaker_id = NULL, member_id = NULL,
committee_id = NULL, slot_id = NULL, from = "1990-01-01T00:00:00",
to = Sys.time(), n = 10000, verbose = TRUE, ...)
legco_member_voting_record(speaker_id = NULL, member_id = NULL,
committee_id = NULL, slot_id = NULL, from = "1990-01-01T00:00:00",
to = Sys.time(), n = 10000, verbose = TRUE, ...)
|
speaker_id |
The Speaker ID, or a vector of IDs. If 'NULL', returns all LegCo members. Defaults to 'NULL'. |
member_id |
The Member ID, or a vector of IDs. If 'NULL', returns all LegCo members. Defaults to 'NULL'. |
committee_id |
The id of a committee, or a vector of IDs. If 'NULL', returns voting records of all committees. Note that not all committees have its voting records available. Defaults to 'NULL'. |
slot_id |
The id of a meeting slot. If 'NULL', returns voting records of all committee meetings. Note that not all committees have its voting records available. Defaults to 'NULL'. |
from |
Only fetch votes conducted at or after this time. Accepts character values in ''YYYY-MM-DDTHH:MM:SS'' format, and objects of class 'Date', 'POSIXt', 'POSIXct', 'POSIXlt' or anything else that can be coerced to a time with ‘as.POSIXlt()'. Defaults to '’1900-01-01T00:00:00''. |
to |
Only fetch votes conducted at or before this time. Accepts character values in ''YYYY-MM-DDTHH:MM:SS'' format, and objects of class 'Date', 'POSIXt', 'POSIXct', 'POSIXlt' or anything else that can be coerced to a time with 'as.POSIXlt()'. Defaults to system time. |
n |
The number of entry to fetch. Defaults to '10000'. |
verbose |
Defaults to 'TRUE'. |
... |
Parameters supported by 'legco::voting_record()'. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.