legislative-issue-tracker
收藏资源简介:
这是一个名为“立法议题跟踪器”(Legislative Issue Tracker)的数据集,专注于美国联邦法律《文书工作削减法案》(Paperwork Reduction Act, PRA, 44 U.S.C. ch. 35, subch. I)。数据集收集了与该法案相关的所有联邦立法活动,包括法案(bills)、立法行动(actions)、会议演讲(speeches)、听证会(hearings)和委员会报告(committee reports)。每一项提及都被分类为以下四种之一:amends(修正法案)、exempts(豁免项目)、references(引用)或related(相关)。该数据集旨在揭示国会如何频繁地修正PRA(254项法案)与豁免个别项目(845项法案)之间的区别。数据来源包括Congress.gov、GovInfo和EveryCRSReport.com等公开政府API,仅存储每个法定引用周围的短段落,不包含全文。数据以Parquet文件格式组织,包含多个表:bills(法案元数据)、actions(立法行动记录)、bill_issues(法案与议题的关联及分类)、candidates(搜索或批量扫描发现的法案文本版本)、text_matches(分类与段落缓存)、text_diffs(连续版本间的差异统计)、speeches(国会记录中的演讲者与发言类型)、documents(提及议题的听证会或委员会报告)、cosponsors(共同提案人)、crs(按标题匹配的CRS报告)以及scan_state(批量数据扫描水印)。此外,还有site/*.json文件用于Web UI展示。数据集覆盖时间范围从1993年至今,通过GovInfo全文搜索和自第113届国会以来的批量数据扫描获取。需要注意的是,分类基于规则而非人工审核,仅少量手工标注的行标记为confirmed=true。44 U.S.C. ch. 35还包含FISMA(子章节II)和CIPSEA(子章节III),这些被分类为related而非PRA。在国会记录中,大多数提及是重新印刷的法案或修正案文本,而非议员发言,speeches.mention_kind字段用于区分。该数据集适用于立法分析、政策研究、文本分类、时间序列分析等任务。
This is a dataset called Legislative Issue Tracker, focusing on the U.S. federal law Paperwork Reduction Act (PRA, 44 U.S.C. ch. 35, subch. I). The dataset collects all federal legislative activities related to this act, including bills, actions, speeches, hearings, and committee reports. Each mention is classified into one of four categories: amends, exempts, references, or related. The dataset aims to reveal the distinction between how often Congress amends the PRA (254 bills) versus exempting individual items (845 bills). Data sources include public government APIs such as Congress.gov, GovInfo, and EveryCRSReport.com, storing only short paragraphs around each statutory reference, not full text. The data is organized in Parquet file format, containing multiple tables: bills, actions, bill_issues, candidates, text_matches, text_diffs, speeches, documents, cosponsors, crs, and scan_state. Additionally, there are site/*.json files for Web UI display. The dataset covers the time period from 1993 to present, obtained through GovInfo full-text search and batch data scanning since the 113th Congress. Note that classifications are rule-based, not human-reviewed, with only a few manually annotated rows marked as confirmed=true. 44 U.S.C. ch. 35 also includes FISMA (subchapter II) and CIPSEA (subchapter III), which are classified as related rather than PRA. In the Congressional Record, most mentions are reprinted bill or amendment texts rather than floor speeches, and the speeches.mention_kind field is used to distinguish. The dataset is suitable for legislative analysis, policy research, text classification, time series analysis, and other tasks.
数据集概述
Legislative Issue Tracker 是一个追踪美国联邦法规相关立法活动的数据集,当前聚焦于《文书削减法案》(Paperwork Reduction Act, PRA,44 U.S.C. ch. 35, subch. I)。数据集记录了与该法案相关的法案、立法行动、国会演讲、听证会和委员会报告,并将每次提及分类为 修正(amends)、豁免(exempts)、引用(references) 或 相关(related)。数据集的核心理念在于区分这些分类:国会很少修订 PRA(254 项法案),但经常豁免具体项目(845 项法案)。
数据来源与构建
- 所有数据均来自公开的政府 API(Congress.gov、GovInfo、EveryCRSReport.com)。
- 仅存储每次法规引用周围的短段落,不包含完整文档文本。
- 数据集由 abigail-64/legislative-issue-tracker 项目构建。
文件结构与内容
数据集包含 data/*.parquet 文件(流水线状态)和 site/*.json 文件(面向 Web UI 的相同数据)。主要文件及每行对应的内容如下:
| 文件 | 每行对应 |
|---|---|
bills |
一项法案(Congress.gov 元数据:提案人、日期、最新行动、法律) |
actions |
一次记录的立法行动 |
bill_issues |
法案 × 议题关联:分类、段落、版本列表 |
candidates |
通过搜索或批量数据扫描发现的法案文本版本 |
text_matches |
分析缓存(议题、包):分类 + 段落 |
text_diffs |
连续文本版本对:变更统计 + 议题相关块 |
speeches |
国会记录章节:演讲者、演讲 vs 插入的法案文本 |
documents |
提及议题的听证会或委员会报告 |
cosponsors |
法案 × 共同提案人 |
crs |
按标题匹配的 CRS 报告 |
scan_state |
批量数据扫描水位线 |
数据使用示例
数据集提供了基于 DuckDB 的快速使用示例,可查询 bill_issues.parquet 中不同提及类型的法案数量:
python import duckdb
duckdb.sql(""" SELECT match_type, count(*) AS bills FROM read_parquet(hf://datasets/abigailhaddad/legislative-issue-tracker/data/bill_issues.parquet) GROUP BY 1 ORDER BY 2 DESC """).show()
注意事项
- 分类方法:分类基于规则(对包含每个引用的从句进行正则匹配),未经人工审核。
confirmed = true标记少量手工标注的行。 - 覆盖范围:通过 GovInfo 全文搜索覆盖 1993 年至今,并对第 113 届国会及之后的批量数据扫描。更早的法案仅手工标注。
- 法规范围:44 U.S.C. ch. 35 还包含 FISMA(第 II 子章)和 CIPSEA(第 III 子章),这些被分类为
related,而非 PRA。 - 国会记录中的提及:大多数提及是法案或修正案文本重印到记录中,而非议员发言;
speeches.mention_kind字段可区分这些情况。
许可与语言
- 数据集采用 CC0-1.0 许可。
- 数据语言为英文(
en)。 - 数据集标记涵盖主题:国会(congress)、立法(legislation)、政府(government)、政策(policy)。




