metadata
dataset_info: null
configs:
- config_name: congress
data_files:
- split: train
path: all_us_federal_laws.json
- config_name: house_of_reps
data_files:
- split: train
path: us-public-law-118-70.jsonl
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.
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)))