senador: Retrieves the open data of a senator.

View source: R/senador.R

senadorR Documentation

Retrieves the open data of a senator.

Description

Retrieves the open data of a senator.

Usage

senador(legislatura, codigo)

Arguments

legislatura

A numeric value. Constituent was 0.

codigo

Number or idweb of the senator.

Examples

if (interactive()) {
    s <- senador(14, 19050)
    head(s)
}

rOpenSpain/senadoRES documentation built on Dec. 26, 2024, 8:18 p.m.