gpo_published {govinfoR} | R Documentation |
Retrieve documents based on official publication date.
Description
The following params correspond to those listed in the
GovInfo API documentation, but the offset
param is not
supported. GovInfo documentation indicates that it was to be deprecated in December, 2022, and
though it is still available through the API, the offsetMark
parameter is supported instead.
Parameter descriptions are adapted from GovInfo API documentation.
Usage
gpo_published(
start_date,
end_date = NULL,
page_size = 10,
collection,
congress = NULL,
doc_class = NULL,
bill_version = NULL,
modified_since = NULL,
court_code = NULL,
court_type = NULL,
state = NULL,
topic = NULL,
nature_suit_code = NULL,
nature_suit = NULL,
offset_mark = "*",
is_glp = NULL
)
Arguments
start_date |
ISO8601 date and time formatted string (yyyy-MM-dd'T'HH:mm:ss'Z') Example: 2018-01-28T20:18:10Z |
end_date |
ISO8601 date and time formatted string (yyyy-MM-dd'T'HH:mm:ss'Z') Example: 2018-01-28T20:18:10Z |
page_size |
The number of records to return for a given request. |
collection |
Filter by GPO collection. |
congress |
Filter by Congress, e.g., 116, 117 |
doc_class |
Filter by collection-specific categories, which vary among collections. |
bill_version |
Specific to the |
modified_since |
Request only packages modified since a given date/time. ISO8601 date and time formatted string (yyyy-MM-dd'T'HH:mm:ss'Z') Example: 2018-01-28T20:18:10Z |
court_code |
|
court_type |
|
state |
Collection specific. |
topic |
Collection specific. |
nature_suit_code |
Collection specific. |
nature_suit |
Collection specific. |
offset_mark |
Indicates starting record for a given request. |
is_glp |
Collection specific. |
Value
A tibble
Examples
gpo_published(
start_date = "2024-01-01",
end_date = "2024-01-03",
collection = c("BILLS")
)