Fetch basic information of LegCo committee meetings.
meeting(
slot_id = NULL,
meet_id = NULL,
from = "1900-01-01",
to = Sys.Date(),
type = "all",
term_id = NULL,
n = 10000,
extra_param = NULL,
count = FALSE,
verbose = TRUE
)
legco_meeting(
slot_id = NULL,
meet_id = NULL,
from = "1900-01-01",
to = Sys.Date(),
type = "all",
term_id = NULL,
n = 10000,
extra_param = NULL,
count = FALSE,
verbose = TRUE
)
the id of a meeting slot, or a vector of ids. If NULL
,
returns all meetings. Defaults to NULL
.
the id of a meeting, or a vector of ids. If NULL
,
returns all meetings. Useful for matching meeting with records from the
Attendance Database. Defaults to NULL
.
only fetch results of meetings on or after this date. Accepts
character values in "YYYY-MM-DD"
format, and objects of class
Date
, POSIXt
, POSIXct
, POSIXlt
or anything else
that can be coerced to a date with as.Date()
. Defaults to
"1900-01-01"
.
only fetch results of meetings on or before this date. Accepts
character values in "YYYY-MM-DD"
format, and objects of class
Date
, POSIXt
, POSIXct
, POSIXlt
or anything else
that can be coerced to a date with as.Date()
. Defaults to the
current system date.
the type of meeting. If "open"
, returns open meetings. If
"closed"
, returns closed meetings. If "all"
, returns all
meetings. Defaults to "all"
.
the id of a term, or a vector of ids. If NULL
, returns
results of all terms. Defaults to NULL
.
the number of record to fetch. Defaults to 1000
.
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 Tmeeting 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{
# Fetch all meeting conducted on March 20, 2019
x <- meeting(from = "2019-03-20", to = "2019-03-20")
#> Retrieving records...
#> Retrieved 3 record(s). 3 record(s) available in total.
# }