download_metadata: Download the metadata found on the VoteView Data page for...

Description Usage Arguments Value

View source: R/download.R

Description

Download the metadata found on the VoteView Data page for members, rollcalls, or parties.

Usage

1
2
3
download_metadata(type = c("rollcalls", "members", "parties"),
  chamber = c("both", "senate", "house"), congress = "all",
  usetemp = TRUE)

Arguments

type

A string that is either 'members', 'rollcalls', or 'parties'.

chamber

A string that defines the chamber for which data should be returned, either 'both', 'house', or 'senate'. Defaults to 'both' and is ignored if the type is 'party'.

congress

Either 'all' or a numeric vector that denotes the congresses for which data can be returned. Defaults to 'all'

Value

A data frame with all relevant metadata.


voteview/Rvoteview documentation built on May 1, 2018, 12:24 a.m.