rcx: DW-Nominate estimates for the House

rcxR Documentation

DW-Nominate estimates for the House

Description

A data frame with variables relating to legislator ideology

Usage

data(rcx)

Format

A data frame with the following variables:

cong

Congress

id

Legislator ID

state

Legislator's state (numeric code)

dist

Congressional district

lstate

Legislator's state (name)

party

Legislator's political party

name

Legislator's name

dwnom1

DW-Nominate first dimension score.

dwnom2

DW-Nominate second dimension score.

dwnom1bse

DW-Nominate first dimension bootstrapped standard error

dwnom2bse

DW-Nominate second dimension bootstrapped standard error

corrbse
LogL

Log-likelihood

nchoice

Number of votes

nerror

Number of errors

gmp

Details

We generated the data by doing the following:

rcx.file <- system.file("HL01111E21_PRES.DAT", package="asmcjr") rcx.fields <- c("cong","id","state","dist","lstate","party","name", "dwnom1","dwnom2","dwnom1bse","dwnom2bse","corrbse","LogL", "nchoice","nerror","gmp") rcx.fieldWidths <- c(4,6,3,2,9,4,12,7,7,7,7,7,12,5,6,6) rcx <- read.fwf(file=rcx.file,widths=rcx.fieldWidths,as.is=TRUE, col.names=rcx.fields)

Source

https://voteview.com/data

Examples

data(rcx)

davidaarmstrong/asmcjr documentation built on June 29, 2024, 12:07 p.m.