
Request Congressional Research Service (CRS) Report Information
Source:R/crs_report.R
cong_crs_report.Rd
Request Congressional Research Service (CRS) Report Information
Usage
cong_crs_report(
crs_id = NULL,
from_date = NULL,
to_date = NULL,
limit = 20,
offset = 0,
format = "json",
clean = TRUE
)
Arguments
- crs_id
Optional CRS identifier. If provided, returns a specific report.
- from_date
Start date for search, e.g.
'2022-01-01'
. Optional.- to_date
End date for search, e.g.
'2022-01-31'
. Optional.- 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'json'
or'xml'
.- clean
Should output be returned as a tibble (
TRUE
) or requested format (FALSE
). Default isTRUE
.
Value
A tibble::tibble
or raw HTTP response if clean = FALSE
.