fetch_deputado: Retrieves details about a deputy

Description Usage Arguments Value Examples

View source: R/deputados.R

Description

ID, name, birth date, birth city among other informations are returned.

Usage

1
2
3
fetch_deputado(id = NULL, nome = NULL, idLegislatura = NULL,
  siglaUf = NULL, siglaPartido = NULL, siglaSexo = NULL, itens = NULL,
  ordenarPor = NULL)

Arguments

id

Deputy's ID

nome

Deputy's name (partially or complete)

idLegislatura

Id of one or more mandates of the deputy

siglaUf

State's abbreviation of the deputy

siglaPartido

Party's abbreviation of the deputy

siglaSexo

Gender's abbreviation

itens

Items quantity. '-1' returns all current deputies at the request moment

ordenarPor

Element that will be used to sort the returned list

Value

Dataframe containing details about the deputy.

Examples

1
abel_mesquita_info <- fetch_deputado(id = 178957)

rcongresso documentation built on May 26, 2018, 1:04 a.m.