Description Usage Arguments Details Value See Also Examples
View source: R/early_day_motions.R
Return data on the content, signatories, and sponsors of early day motions (EDMS).
1 2 3 4 5 6 7 8 9 | early_day_motions(edm_id = NULL, session = NULL,
start_date = "1900-01-01", end_date = Sys.Date(), signatures = 1,
extra_args = NULL, tidy = TRUE, tidy_style = "snake",
verbose = TRUE)
hansard_early_day_motions(edm_id = NULL, session = NULL,
start_date = "1900-01-01", end_date = Sys.Date(), signatures = 1,
extra_args = NULL, tidy = TRUE, tidy_style = "snake",
verbose = TRUE)
|
edm_id |
Accepts the ID number of an early day motion, and returns
data on that motion. If |
session |
Accepts a parliamentary session, in |
start_date |
Only includes early day motions tabled on or after
this date. Accepts character values in |
end_date |
Only includes early day motions tabled on or before
this date. Accepts character values in |
signatures |
The minimum number of signatures required for inclusion in the tibble. Defaults to 1. |
extra_args |
Additional parameters and queries to pass to API. These
queries must be strings and start with "&". See the
API documentation
or the package vignette for more details. Defaults to |
tidy |
Logical parameter. If |
tidy_style |
The style to convert variable names to, if
|
verbose |
If |
Early Day Motion IDs reset for each parliamentary session, so not including
a query for session
but including an edm_id
will return
multiple early day motions with the same ID code from different
parliamentary sessions.
A tibble with details on the content, signatories and sponsors of all or a specified early day motions.
1 2 3 4 5 6 7 8 9 | ## Not run:
# Returns all EDMs with a given ID
x <- early_day_motions(edm_id = 1073)
# Return a specific early day motion by ID
x <- early_day_motions(edm_id = 1073, session = "2017/19")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.