Description Usage Arguments Value Examples
View source: R/publication_logs.R
Imports data on House of Commons and House of Lords publications.
1 2 3 4 5 6 7 8  | 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
1 2 3 4 5 6 7 8  | ## Not run: 
# All publications in the house of commons
x <- publication_logs(house = "commons")
# Returns a given publication
y <- publication_logs(683267)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.