Learn R Programming

congressbr (version 0.2.2)

sen_commissions_senators: Information on the senators who serve on a certain commission in the Federal Senate

Description

Information on the senators who serve on a certain commission in the Federal Senate.

Usage

sen_commissions_senators(code = NULL, ascii = TRUE)

Arguments

code

character. Character code (abbreviation) of the commission requested. A list of these may be obtained with sen_commissions(), although not all of the abbreviations in this data frame will return information.

ascii

logical. If TRUE, certain strings are converted to ascii format.

Value

A tibble, of classes tbl_df, tbl and data.frame.

Details

Returns a data frame with the following variables:

  • commission: name of the commission.

  • commission_abbr: abbreviated name of the commission.

  • senator_id: unique code for each senator.

  • senator_name

  • senator_party

  • senator_state

Examples

Run this code
# NOT RUN {
# get info on the senators who serve on the CCJ commission:
ccj <- sen_commissions_senators(code = "CCJ")

# }

Run the code above in your browser using DataLab