Description Usage Arguments Details See Also Examples
Fetch attendance record of LegCo committee meetings
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | attendance(
committee_id = NULL,
meet_id = NULL,
member_id = NULL,
attn = "all",
from = "1900-01-01",
to = Sys.Date(),
n = 1000,
extra_param = NULL,
count = FALSE,
verbose = TRUE
)
legco_attendance(
committee_id = NULL,
meet_id = NULL,
member_id = NULL,
attn = "all",
from = "1900-01-01",
to = Sys.Date(),
n = 1000,
extra_param = NULL,
count = FALSE,
verbose = TRUE
)
|
committee_id |
the id of a committee, or a vector of ids. If
|
meet_id |
the id of a meeting, or a vector of ids. If |
member_id |
the id of a LegCo member, or a vector of ids. If
|
attn |
the attendance. |
from |
only fetch results of meetings on or after this date. Accepts
character values in |
to |
only fetch results of meetings on or before this date. Accepts
character values in |
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 Tattendance data endpoint of the Meeting Attendance Database.
LegCo API documentation for the Attendance database: https://www.legco.gov.hk/odata/english/attendance-db.html
1 2 3 | # Fetch members who were absent from the Subcommittee on Issues
# Relating to Bazaars meetings on October 13, 2017
x <- attendance(committee_id = 2704, from = "2017-10-13", to = "2017-10-13", attn = "a")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.