publication_logs.Rd
Imports data on House of Commons and House of Lords publications.
publication_logs(ID = NULL, house = NULL, start_date = "1900-01-01", end_date = Sys.Date(), extra_args = NULL, tidy = TRUE, tidy_style = "snake", verbose = TRUE) hansard_publication_logs(ID = NULL, house = NULL, start_date = "1900-01-01", end_date = Sys.Date(), extra_args = NULL, tidy = TRUE, tidy_style = "snake", verbose = TRUE)
ID | Publication ID. Defaults to |
---|---|
house | The house that produced the particular publication. Accepts
|
start_date | Only includes publications issued on or after this date.
Accepts character values in |
end_date | Only includes publications issued on or before this
date. Accepts character values in |
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 |
A tibble with details from publications in the House of Commons and House of Lords
# NOT RUN { # All publications in the house of commons x <- publication_logs(house = "commons") # Returns a given publication y <- publication_logs(683267) # }