Access the Congress.gov API
Overview
Download and read data on United States congressional proceedings. Data is read from the Library of Congress's Congress.gov Application Programming Interface (https://github.com/LibraryOfCongress/api.congress.gov/). Functions exist for all version 3 endpoints, including for bills, amendments, congresses, summaries, members, reports, communications, nominations, and treaties.
- Addresses changes in January 2024-May 2025 API changes (#22,#23,#24,#25,#26,#27,#28,#29,#30,#31,#32,#33,#34,#35,#36,#37,#38,#39)
- Checks that all upstream updates did not impact auto-unlisting functions.
- Adds support for
item = 'summaries'incong_bill() - Adds support for
item = 'text'incong_amendment() - Adds support for searching members by
congressorstate(anddistrict) incong_member() - Adds support for searching members by current status in
cong_member() - Adds new
cong_law()function to use thelawendpoint. - Adds new
cong_crs_report()function to use thecrs-reportendpoint. - Adds new (experimental) House vote function
cong_house_vote(). - Improves support for date time formats across the board
- Fixes too aggressive processing in
cong_bill()(#21)
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 24
- Examples that run
- 96%23 run in a plain check (22 of them under a condition) · 1 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
- congress HTML
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 20
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Releases over time
Issues over time
10 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/christopherkenny/congress on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-06-26 · The repository has a site deploy workflow
pkgdown site last built 2026-06-26
Show all practicesHide 1 practice
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.1.0Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.0.32024-01-09 · diff ↗ ·
removed 1 export
cong_communicationadded 9 exports
cong_bound_record, cong_committee_meeting, cong_committee_print, cong_daily_record, cong_hearing, cong_house_communication, cong_house_requirement, cong_request_next, cong_senate_communication - RR 4.3.0 released · 2023-04-21
- 0.0.12022-10-12
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2022-10-12
- Total releases
- 3 / 4 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 136 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("congress")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.