Learn R Programming

politicaldata (version 0.1.3)

get_senate_nominate: Get DW-nominate Scores for members of the U.S. Senate

Description

Returns a dataset of nominate scores for Senate members of the the specified congress, available otherwise at VoteView.com.

Usage

get_senate_nominate(congress = "ALL")

Arguments

congress

Number for the congress you're interested in. Defaults to "ALL" to get the most recent scores for every congress.

Value

a data frame containing the relevant legislator names and DW-nominate scores, as well as otherinformation made available by VoteView

See Also

https://voteview.com/data

Examples

Run this code
# NOT RUN {

 # get the scores for the 116th (2019-2021) congress
 senate <- get_senate_nominate(congress=116)

 # returned as a data frame
 senate


# }

Run the code above in your browser using DataLab