presidentialElections {pscl}R Documentation

elections for U.S. President, 1932-2004, by state

Description

Data from states and the District of Columbia, Democratic share of the presidential vote, 1932-2004.

Usage

data(presidentialElections)

Format

Note

945 observations, unbalanced panel data. The imbalance arises due to the facts that (a) Hawaii and Alaska contribute data from 1960 onwards, (b) the District of Columbia contributes data from 1964 onward, and (c) Alabama has missing data for 1948 and 1964.

Source

David Leip's Atlas of U.S. Presidential Elections http://uselectionsatlas.org

Examples

data(presidentialElections)
require(lattice)
xyplot(demVote ~ year | state,
       panel=panel.lines,
       ylab="Democratic Vote for President (percent)",
       xlab="Year",
       data=presidentialElections,
       scales=list(y=list(cex=.6),x=list(cex=.35)),
       strip=strip.custom(par.strip.text=list(cex=.6)))

[Package pscl version 1.03 Index]