mnis_peers_on_date {mnis} | R Documentation |
Peers on date
Description
Requests data on all peers who were members of the House of Lords on the
date specified, (if only date1
is included as a parameter), or on
or between the two dates if both date1
and date2
are
specified. Either date1
or date2
can be the latter of the
two dates.
Usage
mnis_peers_on_date(
date1 = Sys.Date(),
date2 = NULL,
tidy = TRUE,
tidy_style = "snake_case"
)
Arguments
date1 |
The date to return the list of peers from. Defaults to current
system date. Accepts character values in |
date2 |
An optional query parameter. Accepts character values in
|
tidy |
If |
tidy_style |
The style to convert variable names to, if
|
Value
A tibble with information on all peers who were members of the
House of Lords on the date specified, (if only date1
is included
as a parameter), or on or between the two dates if both date1
and date2
are specified.
See Also
Examples
## Not run:
x <- mnis_peers_on_date(date1 = "2017-01-01")
## End(Not run)