View source: R/rating_get_candidate_ratings.R
rating_get_candidate_ratings | R Documentation |
Get SIG (Special Interest Group) ratings for candidates
rating_get_candidate_ratings(
candidate_ids,
sig_ids = "",
all = TRUE,
verbose = TRUE
)
candidate_ids |
A vector of candidate ids. |
sig_ids |
A vector of SIG ids. Default is |
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? |
A dataframe with the columns rating_id, candidate_id, sig_id, rating, rating_name, timespan, categories, rating_text
.
## Not run:
pelosi_id <- "26732"
rating_get_candidate_ratings(pelosi_id)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.