std_short_party | R Documentation |
Standardize party codes to single capital letters
std_short_party(x)
x |
A vector of characters with unstandardized party, e.g. "Republican", "Not sure".. |
A vector of "D", "R",
std_short_party(
c("Republican",
"Democrat",
"Not sure",
"Other Party / Independent",
"Never Heard of Person")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.