Learn R Programming

pumBayes (version 1.0.2)

h116: 116th U.S. House of Representatives Roll Call Votes

Description

This dataset contains roll call voting records from the 116th U.S. House of Representatives. The data was obtained using the `readKH()` function from Voteview, which reads roll call vote data from the Voteview database.

Usage

data(h116)

Arguments

Format

A list with 8 elements:

votes

A `452 × 952` matrix of roll call votes, where each row represents a legislator and each column represents a vote.

codes

A list containing vote codes:

n

Integer, number of legislators (452).

m

Integer, number of votes (952).

legis.data

A data frame (`452 × 6`) containing legislator information:

vote.data

Currently NULL (reserved for additional vote metadata).

desc

Description: `"116th U.S. House of Representatives"`.

source

URL for the original data source.

Examples

Run this code
data(h116)
str(h116)

Run the code above in your browser using DataLab