presidentialElections          package:pscl          R Documentation

_e_l_e_c_t_i_o_n_s _f_o_r _U._S. _P_r_e_s_i_d_e_n_t, _1_9_3_2-_2_0_0_4, _b_y _s_t_a_t_e

_D_e_s_c_r_i_p_t_i_o_n:

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

_U_s_a_g_e:

     data(presidentialElections)

_F_o_r_m_a_t:


   _s_t_a_t_e name of state, character

   _d_e_m_V_o_t_e percent of the vote for president won by the Democratic
        candidate

   _y_e_a_r numeric, integer

   _s_o_u_t_h logical, 'TRUE' if state is one of the 11 states of the former
        Confederacy

_N_o_t_e:

     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.

_S_o_u_r_c_e:

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

_E_x_a_m_p_l_e_s:

     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)))

