speakers | R Documentation |
Fetch the basic information of speakers in LegCo council meetings, including LegCo members, government officials and Secretariat staff.
speakers( speaker_id = NULL, type = "all", extra_param = NULL, count = FALSE, verbose = TRUE ) legco_speakers( speaker_id = NULL, type = "all", extra_param = NULL, count = FALSE, verbose = TRUE )
speaker_id |
the id of a speaker at the Legislative Council, or a vector
of ids. If |
type |
the position of a speaker. |
extra_param |
additional query parameters defined in LegCo API. Must
begin with |
count |
logical: Whether to return only the total count of records that
matches the parameter(s) instead of the result. Defaults to |
verbose |
logical: Whether to display progress messages when fetching
data? Defaults to |
This function corresponds to the Speakers data endpoint of the Hansard Database.
Functions of the Hansard database:
hansard
: Hansard files
legco_section_type
: Section code
subjects
: Subjects speakers
: Speakers in the
council, including members, government officials and secretariat staff
rundown
: Rundown (Paragraphs in hansard)
questions
: Questions raised by members
bills
: Bills
motions
: Motions
petitions
: Petitions
addresses
: Addresses
made by members or government officials when presenting papers to the
Council
statements
: Statements made by government
officials
voting_results
: Results of votes in council
meetings
summoning_bells
: Instances of summoning bells
being rung
LegCo API documentation for the Hansard database: https://www.legco.gov.hk/en/open-legco/open-data/hansard-database.html
# Fetch a list of all speakers in LegCo council meetings x <- speakers() # Fetch a list of all speakers who are LegCo members x <- speakers(type = "MB") # Look up the details of a speaker with the id 6 x <- speakers(speaker_id = 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.