View source: R/senate_communication.R
| cong_senate_communication | R Documentation | 
Request Senate Communication Information
cong_senate_communication(
  congress = NULL,
  type = NULL,
  number = NULL,
  from_date = NULL,
  to_date = NULL,
  limit = 20,
  offset = 0,
  format = "json",
  clean = TRUE
)
congress | 
 Congress number to search for. 81 or later are supported.  | 
type | 
 Type of communication. Can be   | 
number | 
 Communication assigned number. Numeric.  | 
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   | 
a tibble::tibble or HTTP response if clean = FALSE
# Requires API Key
cong_senate_communication()
cong_senate_communication(congress = 117)
cong_senate_communication(congress = 117, type = 'ec')
cong_senate_communication(congress = 117, type = 'ec', number = 2561)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.