File size: 1,049 Bytes
4df26ff d254cfd 72f2dcb 7919ec9 72f2dcb 7919ec9 11acce2 3aaf1da 7919ec9 72f2dcb 4df26ff 3aaf1da 7f222f8 3aaf1da 7f222f8 3aaf1da |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
---
dataset_info:
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
```python
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)))
```
|