cong_amendment {congress} | R Documentation |
Request Amendment Information
Description
Request Amendment Information
Usage
cong_amendment(
congress = NULL,
type = NULL,
number = NULL,
item = NULL,
from_date = NULL,
to_date = NULL,
limit = 20,
offset = 0,
format = "json",
clean = TRUE
)
Arguments
congress |
Congress number to search for. 81 or later are supported. |
type |
Type of amendment. Can be |
number |
Amendment assigned number. Numeric. |
item |
Information to request. Can be |
from_date |
start date for search, e.g. |
to_date |
end date for search, e.g. |
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 |
Default is TRUE. Should output be returned as a |
Value
tibble
or HTTP response if clean = FALSE
.
Examples
# Requires API Key
cong_amendment()
cong_amendment(congress = 117)
cong_amendment(congress = 117, type = 'samdt', number = 2137)
cong_amendment(congress = 117, type = 'samdt', number = 2137, item = 'actions')
[Package congress version 0.0.3 Index]