Datasets:
legis_id stringlengths 7 15 | congress_num int64 113 113 | legis_type stringclasses 8
values | legis_num int64 1 5.89k | bulk_path stringlengths 40 54 | lastmod stringdate 2024-01-04 19:00:03 2024-01-08 12:35:00 | bs_xml stringlengths 4.51k 1.9M | bs_json dict | tvs listlengths 1 7 |
|---|---|---|---|---|---|---|---|---|
113-hconres-1 | 113 | hconres | 1 | data/113/bills/hconres/hconres1/fdsys_billstatus.xml | 2024-01-05 07:46:00 | <billStatus>
<version>
3.0.0
</version>
<bill>
<number>
1
</number>
<updateDate>
2022-11-15T16:32:46Z
</updateDate>
<updateDateIncludingText>
2022-11-15T16:32:46Z
</updateDateIncludingText>
<originChamber>
House
</originChamber>
<originChamberCode>
H
</originChamberCode>
<type>... | {
"actions": [
{
"action_code": null,
"action_date": "2013-01-04",
"committees": [],
"source_system": {
"code": null,
"name": "Senate"
},
"text": "Received in the Senate.",
"type": "IntroReferral"
},
{
"action_code": null,
"action_date"... | [
{
"bs_tv": {
"date": "2013-01-04T05:00:00Z",
"type": "Received in Senate",
"url": "https://www.govinfo.gov/content/pkg/BILLS-113hconres1rds/xml/BILLS-113hconres1rds.xml"
},
"bulk_path": "data/govinfo/BILLS/113/1/hconres/BILLS-113hconres1rds.xml",
"congress_num": 113,
"file_name... |
113-hconres-2 | 113 | hconres | 2 | data/113/bills/hconres/hconres2/fdsys_billstatus.xml | 2024-01-05 00:46:37 | <billStatus>
<version>
3.0.0
</version>
<bill>
<number>
2
</number>
<updateDate>
2019-11-15T21:09:08Z
</updateDate>
<updateDateIncludingText>
2019-11-15T21:09:08Z
</updateDateIncludingText>
<originChamber>
House
</originChamber>
<originChamberCode>
H
</originChamberCode>
<type>... | {
"actions": [
{
"action_code": null,
"action_date": "2013-01-03",
"committees": [
{
"activities": [],
"chamber": null,
"name": "Oversight and Accountability Committee",
"subcommittees": [],
"system_code": "hsgo00",
"type": null... | [
{
"bs_tv": {
"date": "2013-01-03T05:00:00Z",
"type": "Introduced in House",
"url": "https://www.govinfo.gov/content/pkg/BILLS-113hconres2ih/xml/BILLS-113hconres2ih.xml"
},
"bulk_path": "data/govinfo/BILLS/113/1/hconres/BILLS-113hconres2ih.xml",
"congress_num": 113,
"file_name":... |
113-hconres-3 | 113 | hconres | 3 | data/113/bills/hconres/hconres3/fdsys_billstatus.xml | 2024-01-05 00:46:45 | <billStatus>
<version>
3.0.0
</version>
<bill>
<number>
3
</number>
<updateDate>
2019-11-15T21:32:47Z
</updateDate>
<updateDateIncludingText>
2019-11-15T21:32:47Z
</updateDateIncludingText>
<originChamber>
House
</originChamber>
<originChamberCode>
H
</originChamberCode>
<type>... | {
"actions": [
{
"action_code": null,
"action_date": "2013-01-03",
"committees": [
{
"activities": [],
"chamber": null,
"name": "Judiciary Committee",
"subcommittees": [],
"system_code": "hsju00",
"type": null
}
],... | [
{
"bs_tv": {
"date": "2013-01-03T05:00:00Z",
"type": "Introduced in House",
"url": "https://www.govinfo.gov/content/pkg/BILLS-113hconres3ih/xml/BILLS-113hconres3ih.xml"
},
"bulk_path": "data/govinfo/BILLS/113/1/hconres/BILLS-113hconres3ih.xml",
"congress_num": 113,
"file_name":... |
113-hconres-4 | 113 | hconres | 4 | data/113/bills/hconres/hconres4/fdsys_billstatus.xml | 2024-01-05 00:46:56 | <billStatus>
<version>
3.0.0
</version>
<bill>
<number>
4
</number>
<updateDate>
2019-11-15T21:47:17Z
</updateDate>
<updateDateIncludingText>
2019-11-15T21:47:17Z
</updateDateIncludingText>
<originChamber>
House
</originChamber>
<originChamberCode>
H
</originChamberCode>
<type>... | {
"actions": [
{
"action_code": null,
"action_date": "2013-01-03",
"committees": [
{
"activities": [],
"chamber": null,
"name": "Ways and Means Committee",
"subcommittees": [],
"system_code": "hswm00",
"type": null
}
... | [
{
"bs_tv": {
"date": "2013-01-03T05:00:00Z",
"type": "Introduced in House",
"url": "https://www.govinfo.gov/content/pkg/BILLS-113hconres4ih/xml/BILLS-113hconres4ih.xml"
},
"bulk_path": "data/govinfo/BILLS/113/1/hconres/BILLS-113hconres4ih.xml",
"congress_num": 113,
"file_name":... |
113-hconres-5 | 113 | hconres | 5 | data/113/bills/hconres/hconres5/fdsys_billstatus.xml | 2024-01-05 09:23:01 | <billStatus>
<version>
3.0.0
</version>
<bill>
<number>
5
</number>
<updateDate>
2022-11-15T16:33:50Z
</updateDate>
<updateDateIncludingText>
2022-11-15T16:33:50Z
</updateDateIncludingText>
<originChamber>
House
</originChamber>
<originChamberCode>
H
</originChamberCode>
<type>... | {
"actions": [
{
"action_code": null,
"action_date": "2013-01-03",
"committees": [
{
"activities": [],
"chamber": null,
"name": "Committee on House Administration",
"subcommittees": [],
"system_code": "hsha00",
"type": null
... | [
{
"bs_tv": {
"date": "2013-01-03T05:00:00Z",
"type": "Introduced in House",
"url": "https://www.govinfo.gov/content/pkg/BILLS-113hconres5ih/xml/BILLS-113hconres5ih.xml"
},
"bulk_path": "data/govinfo/BILLS/113/1/hconres/BILLS-113hconres5ih.xml",
"congress_num": 113,
"file_name":... |
113-hconres-6 | 113 | hconres | 6 | data/113/bills/hconres/hconres6/fdsys_billstatus.xml | 2024-01-05 00:46:43 | <billStatus>
<version>
3.0.0
</version>
<bill>
<number>
6
</number>
<updateDate>
2019-11-15T21:33:27Z
</updateDate>
<updateDateIncludingText>
2019-11-15T21:33:27Z
</updateDateIncludingText>
<originChamber>
House
</originChamber>
<originChamberCode>
H
</originChamberCode>
<type>... | {
"actions": [
{
"action_code": null,
"action_date": "2013-01-25",
"committees": [
{
"activities": [],
"chamber": null,
"name": "Constitution and Limited Government Subcommittee",
"subcommittees": [],
"system_code": "hsju10",
"t... | [
{
"bs_tv": {
"date": "2013-01-04T05:00:00Z",
"type": "Introduced in House",
"url": "https://www.govinfo.gov/content/pkg/BILLS-113hconres6ih/xml/BILLS-113hconres6ih.xml"
},
"bulk_path": "data/govinfo/BILLS/113/1/hconres/BILLS-113hconres6ih.xml",
"congress_num": 113,
"file_name":... |
113-hconres-7 | 113 | hconres | 7 | data/113/bills/hconres/hconres7/fdsys_billstatus.xml | 2024-01-05 11:15:00 | <billStatus>
<version>
3.0.0
</version>
<bill>
<number>
7
</number>
<updateDate>
2022-11-15T16:35:05Z
</updateDate>
<updateDateIncludingText>
2022-11-15T16:35:05Z
</updateDateIncludingText>
<originChamber>
House
</originChamber>
<originChamberCode>
H
</originChamberCode>
<type>... | {
"actions": [
{
"action_code": null,
"action_date": "2013-01-04",
"committees": [
{
"activities": [],
"chamber": null,
"name": "Foreign Affairs Committee",
"subcommittees": [],
"system_code": "hsfa00",
"type": null
}
... | [
{
"bs_tv": {
"date": "2013-01-04T05:00:00Z",
"type": "Introduced in House",
"url": "https://www.govinfo.gov/content/pkg/BILLS-113hconres7ih/xml/BILLS-113hconres7ih.xml"
},
"bulk_path": "data/govinfo/BILLS/113/1/hconres/BILLS-113hconres7ih.xml",
"congress_num": 113,
"file_name":... |
113-hconres-8 | 113 | hconres | 8 | data/113/bills/hconres/hconres8/fdsys_billstatus.xml | 2024-01-05 07:49:01 | "<billStatus>\n <version>\n 3.0.0\n </version>\n <bill>\n <number>\n 8\n </number>\n <updateDa(...TRUNCATED) | {"actions":[{"action_code":null,"action_date":"2013-01-15","committees":[{"activities":[],"chamber":(...TRUNCATED) | [{"bs_tv":{"date":"2013-01-15T05:00:00Z","type":"Introduced in House","url":"https://www.govinfo.gov(...TRUNCATED) |
113-hconres-9 | 113 | hconres | 9 | data/113/bills/hconres/hconres9/fdsys_billstatus.xml | 2024-01-05 08:01:03 | "<billStatus>\n <version>\n 3.0.0\n </version>\n <bill>\n <number>\n 9\n </number>\n <updateDa(...TRUNCATED) | {"actions":[{"action_code":null,"action_date":"2013-01-22","committees":[{"activities":[],"chamber":(...TRUNCATED) | [{"bs_tv":{"date":"2013-01-22T05:00:00Z","type":"Introduced in House","url":"https://www.govinfo.gov(...TRUNCATED) |
113-hconres-10 | 113 | hconres | 10 | data/113/bills/hconres/hconres10/fdsys_billstatus.xml | 2024-01-05 08:37:01 | "<billStatus>\n <version>\n 3.0.0\n </version>\n <bill>\n <number>\n 10\n </number>\n <updateD(...TRUNCATED) | {"actions":[{"action_code":null,"action_date":"2013-01-25","committees":[{"activities":[],"chamber":(...TRUNCATED) | [{"bs_tv":{"date":"2013-01-25T05:00:00Z","type":"Introduced in House","url":"https://www.govinfo.gov(...TRUNCATED) |
End of preview. Expand in Data Studio
Dataset Description
This dataset is part of a family of datasets that provide convenient access to congressional data from the US Government Publishing Office via the GovInfo Bulk Data Repository. GovInfo provides bulk data in xml format. The raw xml files were downloaded using the congress repo. Further processing was done using the legisplain legisplain repo.
Hyperdemocracy Datasets
- usc-billstatus (metadata on each bill)
- usc-textversion (different text versions of bills in xml)
- usc-unified (combined metadata and text version xml)
UNIFIED (metadata + text for congresses 113-119)
bill status
- https://www.govinfo.gov/bulkdata/BILLSTATUS
- https://github.com/usgpo/bill-status/blob/main/BILLSTATUS-XML_User_User-Guide.md
- https://github.com/usgpo/bulk-data/blob/main/Bills-XML-User-Guide.md
text versions
- https://www.govinfo.gov/bulkdata/BILLS
- https://xml.house.gov/
- https://github.com/usgpo/bill-dtd?tab=readme-ov-file
Column Descriptions
| Column | Description |
|---|---|
| legis_id | a unique ID for each bill ({congress_num}-{legis_type}-{legis_num}) |
| congress_num | the congress number for the bill |
| legis_type | one of [hr, hres, hconres, hjres, s, sres, sconres, sjres] (see govinfo - types of legislation) |
| legis_num | bills in each congress and of each type get an incrementing number as part of their ID |
| bulk_path | XML file path during bulk download |
| lastmod | lastmod date during bulk download |
| bs_xml | contents of billstatus XML file |
| bs_json | billstatus XML parsed into JSON |
| tvs | every text version for this bill |
Examples
The dataset is broken into splits (one split per congress number).
from datasets import load_dataset
# load each split into a `DatasetDict` keyed on congress number
dsd = load_dataset(path="hyperdemocracy/usc-unified")
# load a single congress number into a `Dataset`
ds = load_dataset(path="hyperdemocracy/usc-unified", split=117)
# load all congress numbers into a single `Dataset`
ds = load_dataset(path="hyperdemocracy/usc-unified", split="all")
Congress Number to Date Mapping
| Congress Number | Years | Metadata | Text |
|---|---|---|---|
| 119 | 2025-2026 | True | True |
| 118 | 2023-2024 | True | True |
| 117 | 2021-2022 | True | True |
| 116 | 2019-2020 | True | True |
| 115 | 2017-2018 | True | True |
| 114 | 2015-2016 | True | True |
| 113 | 2013-2014 | True | True |
- Downloads last month
- 26