Skip to content

congress 0.0.3

Latest
Compare
Choose a tag to compare
@christopherkenny christopherkenny released this 24 Jun 14:41

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.

Upstream API Updates

  • Addresses changes in December 2023 API changes (#16)

    • cong_amendment() can take item = '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.
  • Addresses changes in October 2023 API changes (#14)

    • No changes necessary within congress package. All changes upstream automatically handled.
  • 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.
  • Addresses changes in August 2023 API changes (#12)

    • Adds cong_bound_record() to access new bound-congressional-record API endpoint.
  • Addresses changes in July 2023 API changes (#11)

    • Adds cong_daily_record() to access new daily-congressional-record API endpoint.
  • Addresses changes in June 2023 API changes (#10)

    • No changes necessary within congress package. All changes upstream automatically handled.
  • Addresses changes in May 2023 API changes (#9)

    • Supports new item endpoint within cong_house_requirement()
    • Renames (internal) cong_house_communication() endpoint when number is provided. This is due to an upstream change from house-communication to houseCommunication.
  • Addresses changes in March 2023 API changes (#7)

    • Adds cong_hearing() to access new hearing API endpoint.
    • Adds cong_committee_meeting() to access new committee-meeting API endpoint.
    • Adds cong_committee_print() to access new committee-print API endpoint.

Bug fixes

  • Resolves a bug in cong_senate_communication() where providing number would return an empty tibble.
  • Resolves a bug in cong_member() where rows would be duplicated if bioguide was provided.
  • Resolves a bug in cong_amendment() where rows would be duplicated if item was provided.
  • Resolves a bug in cong_bill() where some rows were (sometimes) duplicated if item was provided.

Deprecated functions

  • Removes cong_communication() (Deprecated in 0.0.2) in favor of cong_house_communication().