ca2006                 package:pscl                 R Documentation

_C_a_l_i_f_o_r_n_i_a _C_o_n_g_r_e_s_s_i_o_n_a_l _D_i_s_t_r_i_c_t_s _i_n _2_0_0_6

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

     Election returns and identifying information, California's 53
     congressional districts in the 2006 Congresisonal elections.

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

     data(ca2006)

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

     A data frame with 53 observations on the following 11 variables.

     '_d_i_s_t_r_i_c_t' numeric, number of Congressional district

     '_D' numeric, number of votes for the Democratic candidate

     '_R' numeric, votes for the Republican candidate

     '_O_t_h_e_r' numeric, votes for other candidates

     '_I_n_c_P_a_r_t_y' character, party of the incumbent (or retiring member),
          'D' or 'R'

     '_I_n_c_N_a_m_e' character, last name of the incumbent, character 'NA' if
          no incumbent running

     '_o_p_e_n' logical, 'TRUE' if no incumbent running

     '_c_o_n_t_e_s_t_e_d' logical, 'TRUE' if both major parties ran candidates

     '_B_u_s_h_2_0_0_4' numeric, votes for George W. Bush (R) in the district
          in the 2004 presidential election

     '_K_e_r_r_y_2_0_0_4' numeric, votes for John Kerry (D) in 2004

     '_O_t_h_e_r_2_0_0_4' numeric votes for other candidates in 2004

     '_B_u_s_h_2_0_0_0' numeric, votes for George W. Bush in 2000

     '_G_o_r_e_2_0_0_0' numeric, votes for Al Gore (D) in 2000

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

     2006 data from the California Secretary of State's web site, <URL:
     http://vote.ss.ca.gov/Returns/usrep/all.htm> (last updated Tuesday
     November 14, 2006).  2004 and 2000 presidential vote in
     congressional districts from the 2006 _Almanac of American
     Politics_.

_R_e_f_e_r_e_n_c_e_s:

     Michael Baraon and Richard E. Cohen.  2006. The Almanac of
     American Politics, 2006. National Journal Group: Washington, D.C.

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

     data(ca2006)

     ## 2006 CA congressional vote against 2004 pvote
     y <- ca2006$D/(ca2006$D+ca2006$R)
     x <- ca2006$Kerry2004/(ca2006$Kerry2004+ca2006$Bush2004)

     pch <- rep(19,length(y))
     pch[ca2006$open] <- 1
     col <- rep("black",length(y))
     col[11] <- "red"    ## Pembo (R) loses to McNerney (D)
     plot(y~x,pch=pch,
          col=col,
          xlim=range(x,y,na.rm=TRUE),
          ylim=range(x,y,na.rm=TRUE),
          xlab="Kerry Two-Party Vote, 2004",
          ylab="Democratic Two-Party Vote Share, 2006")
     abline(0,1)
     abline(h=.5,lty=2)
     abline(v=.5,lty=2)
     legend(x="topleft",
            bty="n",
            col=c("red","black","black"),
            pch=c(19,19,1),
            legend=c("Seat Changing Hands",
              "Seat Retained by Incumbent Party",
              "Open Seat (no incumbent running)")
            )

