Changelog
Source:NEWS.md
congress 0.0.3
CRAN release: 2024-01-09
New features
- When
clean = TRUE
, a new attribute is added (response_info
) which provides pagination and request information. - When
clean = TRUE
, date and datetime columns are now converted automatically to the correct types. - Adds
cong_request_next()
function which requests the next set of results. This can be piped from the last response, such ascong_bill() |> cong_request_next()
to row bind the results.
Upstream API Updates
- Addresses changes in December 2023 API changes (#16)
-
cong_amendment()
can takeitem = 'text'
for congress <= 117 and warns otherwise.
-
- Addresses changes in October 2023 API changes (#15)
- No changes necessary within
congress
package. All changes upstream automatically handled.
- No changes necessary within
- Addresses changes in October 2023 API changes (#14)
- No changes necessary within
congress
package. All changes upstream automatically handled.
- No changes necessary within
- Addresses changes in September 2023 API changes (#13)
- All inputs are internally coerced to lowercase before being passed to the API. This excludes
cong_treaty()
which has case-sensitive suffixes.
- All inputs are internally coerced to lowercase before being passed to the API. This excludes
- Addresses changes in August 2023 API changes (#12)
- Adds
cong_bound_record()
to access newbound-congressional-record
API endpoint.
- Adds
- Addresses changes in July 2023 API changes (#11)
- Adds
cong_daily_record()
to access newdaily-congressional-record
API endpoint.
- Adds
- Addresses changes in June 2023 API changes (#10)
- No changes necessary within
congress
package. All changes upstream automatically handled.
- No changes necessary within
- Addresses changes in May 2023 API changes (#9)
- Supports new
item
endpoint withincong_house_requirement()
- Renames (internal)
cong_house_communication()
endpoint whennumber
is provided. This is due to an upstream change fromhouse-communication
tohouseCommunication
.
- Supports new
- Addresses changes in March 2023 API changes (#7)
- Adds
cong_hearing()
to access newhearing
API endpoint. - Adds
cong_committee_meeting()
to access newcommittee-meeting
API endpoint. - Adds
cong_committee_print()
to access newcommittee-print
API endpoint.
- Adds
Bug fixes
- Resolves a bug in
cong_senate_communication()
where providingnumber
would return an empty tibble. - Resolves a bug in
cong_member()
where rows would be duplicated ifbioguide
was provided. - Resolves a bug in
cong_amendment()
where rows would be duplicated ifitem
was provided. - Resolves a bug in
cong_bill()
where some rows were (sometimes) duplicated ifitem
was provided.
Deprecated functions
- Removes
cong_communication()
(Deprecated in 0.0.2) in favor ofcong_house_communication()
.
congress 0.0.2
Resolves a bug in
cong_bill()
whereitem = 'text'
would return an empty tibble.-
Addresses changes in February 2023 API changes (#6)
- Allows for
house-communication
andsenate-communication
items incong_committee()
. - Passes on format to
cong_senate_communication()
for returned data incommittees
list-column. - Additional bug fixes in upstream API, which may slightly modify columns in
cong_member()
,cong_committee()
, andcong_amendment()
. These changes were automatically handled in version 0.0.1 since February 2023.
- Allows for
-
Addresses changes in January 2023 API changes (#4) and (#5)
- Upstream API changes allow for full coverage of MCs for
cong_member()
. - Upstream API changes let
cong_bill()
include CBO estimates. These changes were automatically handled in version 0.0.1 since January 2023.
- Upstream API changes allow for full coverage of MCs for
-
Addresses changes in December 2022 API changes (#3).
- Adds
cong_house_requirement()
to access newhouse-requirement
API endpoint.
- Adds
-
Addresses changes in November 2022 API changes (#1) and (#2).
-
cong_communication()
is deprecated in favor ofcong_house_communication()
, as a new senate endpoint was added. This can be accessed viacong_senate_communication()
. - Returned columns are slightly modified for
cong_nomination()
,cong_committee_report()
, andcong_nomination()
. These changes were automatically handled in version 0.0.1 since November 2022.
-