Description Usage Arguments Details See Also Examples
Fetch the information of bills presented in LegCo since 1906.
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 26 27 28 29 30 31 32 33 34 35 36 37 | all_bills(
id = NULL,
ordinance = NULL,
title = NULL,
proposer = NULL,
gazette_from = "all",
gazette_to = "all",
first_from = "all",
first_to = "all",
second_from = "all",
second_to = "all",
third_from = "all",
third_to = "all",
n = 10000,
extra_param = NULL,
count = FALSE,
verbose = TRUE
)
legco_all_bills(
id = NULL,
ordinance = NULL,
title = NULL,
proposer = NULL,
gazette_from = "all",
gazette_to = "all",
first_from = "all",
first_to = "all",
second_from = "all",
second_to = "all",
third_from = "all",
third_to = "all",
n = 10000,
extra_param = NULL,
count = FALSE,
verbose = TRUE
)
|
id |
the id of a bill, or a vector of ids. Defaults to |
ordinance |
the ordinance associated with the bill. Takes the full
English name of the ordinance, e.g. |
title |
the title of the bill. Takes the full English name of the bill,
e.g. |
proposer |
the proposer of the bill. Takes the full English title of the
proposer, e.g. |
gazette_from |
only fetch bills gazetted on or after this date. Accepts
|
gazette_to |
only fetch bills gazetted on or before this date. Accepts
|
first_from |
only fetch bills that have gone through first reading on or
after this date. Accepts |
first_to |
only fetch bills that have gone through first reading on or
before this date. Accepts |
second_from |
only fetch bills that have gone through second reading on
or after this date. Accepts |
second_to |
only fetch bills that have gone through second reading on or
before this date. Accepts |
third_from |
only fetch bills that have gone through third reading on or
after this date. Accepts |
third_to |
only fetch bills that have gone through third reading on or
before this date. Accepts |
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 Vbills data endpoint of the Bills Database.
LegCo API documentation for the Meeting Schedule database: https://www.legco.gov.hk/odata/english/billsdb.html
1 2 | # Fetch bills that passed third reading on February 20, 2019
x <- all_bills(third_from = "2019-02-20")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.