commons_terms {hansard} | R Documentation |
Parliamentary Thesaurus
Description
Imports the parliamentary thesaurus. The API is rate limited to 5500 requests at a time, so some use of parameters is required.
Usage
commons_terms(search = NULL, class = NULL, extra_args = NULL,
tidy = TRUE, tidy_style = "snake", verbose = TRUE)
hansard_commons_terms(search = NULL, class = NULL, extra_args = NULL,
tidy = TRUE, tidy_style = "snake", verbose = TRUE)
Arguments
search |
A string to search the parliamentary thesaurus for. |
class |
The class of definition to be returned Accepts one of
|
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 |
Value
A tibble with results from the parliamentary thesaurus.
Examples
## Not run:
x <- commons_terms(search = "estate")
x <- commons_terms(search = "estate", class = "ORG")
## End(Not run)