Description Usage Arguments Value
This function takes a district, vector of districts or state and district seperately and returns standardized district names.
1 2 3 |
full_district |
district or vector of districts. |
state |
state abbreviation or vector of state abbreviations. |
district |
district number or vector of district numbers. |
denote_al |
character to denote at large districts, in the district column, defaults to 01. |
sep |
separator to use in the new standardized district names, if old_sep is not specified it is also the separator input districts are split on. |
sep_old |
separator to split input districts on. Overrides sep for this role. |
sep_loc |
location to split state from district. Use if there is no separator between state abbreviation and district number in the input. |
A vector of standardized districts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.