sen_senator_mandates: Downloads and tidies information on senators' mandates in the...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/sen_senator_details.R

Description

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

Usage

1
sen_senator_mandates(id = 0, ascii = TRUE)

Arguments

id

integer. This number represents the id of the senator you wish to get information on. These ids can be extracted from the API using the sen_senator_list() function, where they will appear as the first column in the data frame returned, under the name 'id'.

ascii

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

Value

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

Author(s)

Robert Myles McDonnell, Guilherme Jardim Duarte & Danilo Freire.

See Also

sen_senator_list()

Examples

1
2

congressbr documentation built on Dec. 16, 2019, 1:21 a.m.