Fetch the basic information of LegCo terms.
term(term_id = NULL, date = NULL, extra_param = NULL, verbose = TRUE)
legco_term(term_id = NULL, date = NULL, extra_param = NULL, verbose = TRUE)the id of a term, or a vector of ids. If NULL, returns
results of all terms. Defaults to NULL.
only fetch the result in which the specified date falls within.
Accepts character values in "YYYY-MM-DD" format, and objects of
class Date, POSIXt, POSIXct, POSIXlt or
anything else that can be coerced to a date with as.Date(). Defaults
to NULL.
additional query parameters defined in LegCo API. Must
begin with "&".
logical: Whether to display progress messages when fetching
data? Defaults to TRUE.
This function corresponds to the Tterm data endpoint of the Meeting Schedule Database.
Functions of the Meeting Schedule Database:
term: LegCo terms
session: LegCo
sessions
committee: LegCo committees
membership: Membership of LegCo committees
member: LegCo members
member_term: Terms
served by LegCo members
meeting: Meetings of LegCo
committees
meeting_committee: Committees of LegCo
meetings
LegCo API documentation for the Meeting Schedule database: https://www.legco.gov.hk/en/open-legco/open-data/meeting-schedule.html
# \donttest{
# Fetch all LegCo terms
x <- term()
#> Retrieving records...
#> Retrieved 3 record(s). 3 record(s) available in total.
# }