rating_get_sig_list {votesmart} | R Documentation |
Get SIG (Special Interest Group) list by category and state
Description
Get SIG (Special Interest Group) list by category and state
Usage
rating_get_sig_list(category_ids, state_ids = NA, all = TRUE, verbose = TRUE)
Arguments
category_ids |
Vector of category ids. |
state_ids |
Vector of state abbreviations. Default |
all |
Boolean: should all possible combinations of the variables be searched for, or just the exact combination of them in the order they are supplied? |
verbose |
Should cases when no data is available be messaged? |
Value
A dataframe with the columns sig_id, name, category_id, state_id
.
Examples
## Not run:
rating_get_categories() %>%
dplyr::pull(category_id) %>%
sample(3) %>%
rating_get_sig_list()
## End(Not run)
[Package votesmart version 0.1.2 Index]