sen_senator_list: Downloads and tidies information on the senators in the...

Description Usage Arguments Value Author(s) Examples

View source: R/sen_senator_list.R

Description

Downloads and tidies information on the senators in the Federal Senate.

Usage

1
sen_senator_list(present = TRUE, state = NULL, status = NULL, ascii = TRUE)

Arguments

present

logical. If TRUE, downloads data on the legislature currently sitting in the Federal Senate, otherwise returns information on senators who are currently absent.

state

character. Two-letter abbreviation of Brazilian state. A list of these is available with the function UF().

status

character, either "T" or "S", representing titular or suplente (stand-in senator), respectively.

ascii

logical. If TRUE, strips Latin characters from strings.

Value

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

Author(s)

Robert Myles McDonnell, Guilherme Jardim Duarte & Danilo Freire.

Examples

1
2
3
4
5
all <- sen_senator_list()

# Who represents Rio de Janeiro?

rj <- sen_senator_list(state = "RJ")

RobertMyles/congressbr documentation built on July 18, 2020, 4:04 a.m.