Fetch the serving terms in Term ID of LegCo members
member_term(
member_id = NULL,
extra_param = NULL,
count = FALSE,
verbose = TRUE
)
legco_member_term(
member_id = NULL,
extra_param = NULL,
count = FALSE,
verbose = TRUE
)
the id of a LegCo member, or a vector of ids. If
NULL
, returns results of all LegCo members. Defaults to NULL
.
additional query parameters defined in LegCo API. Must
begin with "&"
.
logical: Whether to return only the total count of records that
matches the parameter(s) instead of the result. Defaults to FALSE
.
logical: Whether to display progress messages when fetching
data? Defaults to TRUE
.
This function corresponds to the Tmember_term 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{
# Fetches the term served by Hon Chan Kin-por and Kwong Chun-yu
x <- member_term(member_id = c(273, 924))
#> Retrieving records...
#> Retrieved 2 record(s). 2 record(s) available in total.
# }