metadata
dataset_info: null
configs:
- config_name: all
data_files:
- split: train
path: all_us_federal_laws.jsonl
- config_name: congress
data_files:
- split: train
path: congress_public_laws.json
- config_name: house_of_reps
data_files:
- split: train
path: us_public_law_118_70.jsonl
- config_name: executive_orders
data_files:
- split: train
path: exec_orders_hf.json
license: apache-2.0
US Federal Laws
This dataset consists of US Federal laws that are voted in by either Congress or the House of Representatives. The laws are structured differently for each subset, so the 'all' subset has null values for many elements. Still working on a way to restructure these in a way that makes sense.
Taxonomy
- The congress split contains the laws voted from the 88th congress through the 118th Congress.
- The house_of_reps split contains all of the current versions of US Code as documented in Public Law 118-70
Loading Script
import datasets
congress = datasets.load_dataset('macadeliccc/US-FederalLaws', 'congress', split='train')
house_of_reps_dataset = datasets.load_dataset('macadeliccc/US-FederalLaws', 'house_of_reps', split='train')
iterable_congress = congress.to_iterable_dataset()
iterable_house_of_reps = house_of_reps_dataset.to_iterable_dataset()
print(next(iter(iterable_congress)))
print(next(iter(iterable_house_of_reps)))