hyperdemocracy/usc-billstatus
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… See the full description on the dataset page: https://huggingface.co/datasets/hyperdemocracy/usc-billstatus.
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)
BILLSTATUS (metadata for congresses 108-119)
- https://www.govinfo.gov/bulkdata/BILLSTATUS
- https://github.com/usgpo/bill-status/blob/main/BILLSTATUS-XMLUserUser-Guide.md
- https://github.com/usgpo/bulk-data/blob/main/Bills-XML-User-Guide.md
These xml files contain metadata about each bill and pointers to different xml files that contain various text versions of each bill.
Column Descriptions
Hyperdemocracy column descriptions.
See the BILLSTATUS XML User Guide for descriptions of the other columns.
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-billstatus")
# load a single congress number into a `Dataset`
ds = load_dataset(path="hyperdemocracy/usc-billstatus", split=117)
# load all congress numbers into a single `Dataset`
ds = load_dataset(path="hyperdemocracy/usc-billstatus", split="all")