member_term: Terms of Members of LegCo

Description Usage Arguments Details Functions See Also Examples

View source: R/member_term.R

Description

Fetch the serving terms in Term ID of LegCo members

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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
)

Arguments

member_id

the id of a LegCo member, or a vector of ids. If NULL, returns results of all LegCo members. 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 Tmember_term 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/odata/english/attendance-db.html

Examples

1
2
#Fetches the term served by Hon Chan Kin-por and Kwong Chun-yu
x <- member_term(member_id = c(273, 924))

legco documentation built on Oct. 16, 2021, 5:09 p.m.