powered by
Imports the parliamentary thesaurus. The API is rate limited to 5500 requests at a time, so some use of parameters is required.
commons_terms(search = NULL, class = NULL, extra_args = NULL, tidy = TRUE)
A string to search the parliamentary thesaurus for.
The class of definition to be returned Accepts one of 'ID', 'ORG', 'SIT', 'NAME', 'LEG','CTP', 'PBT' and 'TPG'. Defaults to NULL
Additional parameters to pass to API. Defaults to NULL.
Fix the variable names in the data frame to remove extra characters, superfluous text and convert variable names to snake_case. Defaults to TRUE.
x <- commons_terms(search='estate') x <- commons_terms(search='estate', class='ORG')
Run the code above in your browser using DataLab