cong_law | R Documentation |
Request Law Information
cong_law(
congress = 118,
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 law. Must be |
number |
Law 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 = FALSE. One of |
clean |
Should output be returned as a tibble ( |
A tibble or raw HTTP response if clean = FALSE.
# Requires API Key
cong_law(congress = 118)
cong_law(congress = 118, type = 'pub')
cong_law(congress = 118, type = 'pub', number = 108)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.