Fetch basic information of LegCo committees.

committee(
  committee_id = NULL,
  code = NULL,
  term_id = NULL,
  extra_param = NULL,
  count = FALSE,
  verbose = TRUE
)

legco_committee(
  committee_id = NULL,
  code = NULL,
  term_id = NULL,
  extra_param = NULL,
  count = FALSE,
  verbose = TRUE
)

Arguments

committee_id

the id of a committee, or a vector of ids. If NULL, returns results of all committees. Defaults to NULL.

code

the code of a committee, or a vector of ids. If NULL, returns all committees. Defaults to NULL.

term_id

the id of a term, or a vector of ids. If NULL, returns results of all terms. Defaults to NULL.

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 FALSE.

verbose

logical: Whether to display progress messages when fetching data? Defaults to TRUE.

Details

This function corresponds to the Tcommittee data endpoint of the Meeting Schedule Database.

Functions

Functions of the Meeting Schedule Database:

See also

LegCo API documentation for the Meeting Schedule database: https://www.legco.gov.hk/en/open-legco/open-data/meeting-schedule.html

Examples

# \donttest{
# Fetch all LegCo committees from the sixth term
x <- committee(term_id = 5)
#> Retrieving records...
#> Retrieved 332 record(s). 332 record(s) available in total.
# }