cong_record {congress}R Documentation

Request Congressional Record Information

Description

Request Congressional Record Information

Usage

cong_record(
  year = NULL,
  month = NULL,
  day = NULL,
  limit = 20,
  offset = 0,
  format = "json",
  clean = TRUE
)

Arguments

year

integer for year

month

integer for month

day

integer for day of month

limit

number of records to return. Default is 20. Will be truncated to between 1 and 250.

offset

number of records to skip. Default is 0. Must be non-negative.

format

Output format for clean = FALSE. One of xml or json.

clean

Default is TRUE. Should output be returned as a tibble (TRUE) or requested format.

Value

tibble or HTTP response if clean = FALSE

Examples



# Requires API Key

cong_record()

cong_record(year = 2022, month = 6, day = 28)


[Package congress version 0.0.3 Index]