Learn R Programming

maxent (version 1.3.3.1)

USCongress: a sample dataset containing labeled bills from the United State Congress.

Description

A sample dataset containing labeled bills from the United States Congress, compiled by Professor John D. Wilkerson at the University of Washington, Seattle and E. Scott Adler at the University of Colorado, Boulder.

Usage

data(USCongress)

Arguments

Format

A data.frame containing five columns. 1. ID - A unique identifier for the bill. 2. cong - The session of congress that the bill first appeared in. 3. billnum - The number of the bill as it appears in the congressional docket. 4. h_or_sen - A field specifying whether the bill was introduced in the House (HR) or the Senate (S). 5. major - A manually labeled topic code corresponding to the subject of the bill.

Examples

Run this code
# READ THE CSV
data <- read.csv(system.file("data/USCongress.csv.gz",package="maxent"))
# ALTERNATIVELY, USE THE data() FUNCTION
data(USCongress)

Run the code above in your browser using DataLab