Description Usage Arguments Details Functions See Also Examples
Fetch questions put to the government by LegCo members in council meetings.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | questions(
rundown_id = NULL,
speaker_id = NULL,
type = "all",
lang = "en",
from = "1900-01-01",
to = Sys.Date(),
floor = FALSE,
n = 1000,
extra_param = NULL,
count = FALSE,
verbose = TRUE
)
legco_questions(
rundown_id = NULL,
speaker_id = NULL,
type = "all",
lang = "en",
from = "1900-01-01",
to = Sys.Date(),
floor = FALSE,
n = 1000,
extra_param = NULL,
count = FALSE,
verbose = TRUE
)
|
rundown_id |
the id of a rundown, or a vector of ids. If |
speaker_id |
the id of a speaker at the Legislative Council, or a vector
of ids. If |
type |
the type of question. |
lang |
the language of hansard files to search from. |
from |
only fetch results of meetings on or after this date. Accepts
character values in |
to |
only fetch results of meetings on or before this date. Accepts
character values in |
floor |
logical: whether to fetch results from the floor version of the
hansard files? The floor version is the first presented version of hansard
file in the original language delivered by the speakers in LegCo. If
|
n |
the number of record to fetch. Defaults to |
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 Questions 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/odata/english/hansard-db.html
1 2 | # Fetch questions being put on the government during the Council meeting on February 20, 2019
x <- questions(from = "2019-02-20", to = "2019-02-20")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.