Description Usage Arguments Details Functions Notes
View source: R/search_question.R
Search full text of questions put to the government by LegCo member(s).
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 | search_question(
speaker_id = NULL,
member_id = NULL,
rundown_id = NULL,
type = "all",
lang = "en",
from = "1900-01-01",
to = Sys.Date(),
floor = FALSE,
n = 50,
verbose = TRUE
)
legco_search_question(
speaker_id = NULL,
member_id = NULL,
rundown_id = NULL,
type = "all",
lang = "en",
from = "1900-01-01",
to = Sys.Date(),
floor = FALSE,
n = 50,
verbose = TRUE
)
|
speaker_id |
the id of a speaker at the Legislative Council, or a vector
of ids. If |
member_id |
the id of a LegCo member, or a vector of ids. If
|
rundown_id |
the id of a rundown, or a vector of ids. If |
type |
the type of meeting. If |
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 |
verbose |
logical: Whether to display progress messages when fetching
data? Defaults to |
This is a complementary function to questions()
.
Complementary Functions:
search_committee
: Search LegCo committees
search_member
: Search LegCo members
search_voting_record
: Search Voting Record in LegCo meetings
search_question
: Search full text of question put to
the government by LegCo members
The complementary functions work by calling a number of database functions and combining their output, meaning that a function call usually involves multiple API calls. Use with caution to prevent reaching the API’s rate limit too quickly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.