membership | R Documentation |
Fetch the members of LegCo committees.
membership( member_id = NULL, committee_id = NULL, term_id = NULL, post = NULL, n = 10000, extra_param = NULL, count = FALSE, verbose = TRUE ) legco_membership( member_id = NULL, committee_id = NULL, term_id = NULL, post = NULL, n = 10000, extra_param = NULL, count = FALSE, verbose = TRUE )
member_id |
the id of a LegCo member, or a vector of ids. If
|
committee_id |
the id of a committee, or a vector of ids. If
|
term_id |
the id of a term, or a vector of ids. If |
post |
the post of a member in the committee, or a vector of posts.
|
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 Tmembership 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
# Fetch members of the Subcommittee on Issues Relating to Bazaars x <- membership(committee_id = 2704)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.