Update README.md
Browse files
README.md
CHANGED
@@ -4,8 +4,8 @@ configs:
|
|
4 |
- config_name: all
|
5 |
data_files:
|
6 |
- split: train
|
7 |
-
path: "
|
8 |
-
- config_name:
|
9 |
data_files:
|
10 |
- split: train
|
11 |
path: "congress_public_laws.json"
|
@@ -22,25 +22,28 @@ license: apache-2.0
|
|
22 |
---
|
23 |
# US Federal Laws
|
24 |
|
25 |
-
This dataset consists of US Federal laws that are voted in by either
|
26 |
|
27 |
## Taxonomy
|
28 |
|
29 |
-
+ The
|
30 |
+ The house_of_reps split contains all of the current versions of US Code as documented in Public Law 118-70
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
|
32 |
## Loading Script
|
33 |
|
34 |
```python
|
35 |
import datasets
|
36 |
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
iterable_congress = congress.to_iterable_dataset()
|
41 |
-
iterable_house_of_reps = house_of_reps_dataset.to_iterable_dataset()
|
42 |
|
43 |
-
print(next(iter(
|
44 |
-
print(next(iter(iterable_house_of_reps)))
|
45 |
```
|
46 |
|
|
|
4 |
- config_name: all
|
5 |
data_files:
|
6 |
- split: train
|
7 |
+
path: "us-laws"
|
8 |
+
- config_name: senate
|
9 |
data_files:
|
10 |
- split: train
|
11 |
path: "congress_public_laws.json"
|
|
|
22 |
---
|
23 |
# US Federal Laws
|
24 |
|
25 |
+
This dataset consists of US Federal laws that are voted in by either Senate, the House of Representatives or Executive Order
|
26 |
|
27 |
## Taxonomy
|
28 |
|
29 |
+
+ The senate split contains the laws voted from the 88th congress through the 118th Congress.
|
30 |
+ The house_of_reps split contains all of the current versions of US Code as documented in Public Law 118-70
|
31 |
+
+ The executive_orders split contains all of the executive order documents starting in 2005 (Before 2005 the federal government does not have digital records of executive orders)
|
32 |
+
|
33 |
+
## Sources
|
34 |
+
|
35 |
+
+ [Congress](https://www.congress.gov)
|
36 |
+
+ [US House of Representatives](https://uscode.house.gov/)
|
37 |
+
+ [Federal Register](https://www.federalregister.gov/presidential-documents/executive-orders)
|
38 |
|
39 |
## Loading Script
|
40 |
|
41 |
```python
|
42 |
import datasets
|
43 |
|
44 |
+
ds = datasets.load_dataset('macadeliccc/US-FederalLaws', 'all', split='train')
|
45 |
+
iter_ds = ds.to_iterable_dataset()
|
|
|
|
|
|
|
46 |
|
47 |
+
print(next(iter(iter_ds)))
|
|
|
48 |
```
|
49 |
|