state.info | R Documentation |
Numeric codes and names of 50 states and the District of Columbia, required to parse Keith Poole and Howard Rosenthal's collections of U.S. Congressional roll calls.
data(state.info)
icpsr
integer, numeric code for state used by the Inter-university Consortium for Political and Social Research
state
character, name of state or Washington
D.C.
year
numeric or NA
, year of statehood
The function readKH
converts the integer ICPSR codes
into strings, via a table lookup in this data frame. Another table
lookup in state.abb
provides the 2-letter abbreviation
commonly used in identifying American legislators, e.g.,
KENNEDY, E (D-MA)
.
Various ICPSR codebooks. e.g., \Sexpr[results=rd]{tools:::Rd_expr_doi("10.3886/ICPSR00002.v5")}
state
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.