Datasets:
Update congress.py
Browse files- congress.py +17 -17
congress.py
CHANGED
|
@@ -43,23 +43,23 @@ urls_per_split = {
|
|
| 43 |
}
|
| 44 |
features_types_per_config = {
|
| 45 |
"voting": {
|
| 46 |
-
|
| 47 |
-
"vote_on_water_project_cost_sharing_bill"
|
| 48 |
-
"vote_on_adoption_of_the_budget_resolution_bill"
|
| 49 |
-
"vote_on_physician_fee_freeze_bill"
|
| 50 |
-
"vote_on_el_salvador_aid_bill"
|
| 51 |
-
"vote_on_religious_groups_in_schools_bill"
|
| 52 |
-
"vote_on_anti_satellite_test_ban_bill"
|
| 53 |
-
"vote_on_aid_to_nicaraguan_contras_bill"
|
| 54 |
-
"vote_on_mx_missile_bill"
|
| 55 |
-
"vote_on_immigration_bill"
|
| 56 |
-
"vote_on_synfuels_corporation_cutback_bill"
|
| 57 |
-
"vote_on_education_spending_bill"
|
| 58 |
-
"vote_on_superfund_right_to_sue_bill"
|
| 59 |
-
"vote_on_crime_bill"
|
| 60 |
-
"vote_on_duty_free_exports_bill"
|
| 61 |
-
"vote_on_export_administration_act_south_africa_bill"
|
| 62 |
-
"party"
|
| 63 |
}
|
| 64 |
}
|
| 65 |
features_per_config = {k: datasets.Features(features_types_per_config[k]) for k in features_types_per_config}
|
|
|
|
| 43 |
}
|
| 44 |
features_types_per_config = {
|
| 45 |
"voting": {
|
| 46 |
+
"vote_on_handicapped_infants_bill": datasets.Value("string"),
|
| 47 |
+
"vote_on_water_project_cost_sharing_bill": datasets.Value("string"),
|
| 48 |
+
"vote_on_adoption_of_the_budget_resolution_bill": datasets.Value("string"),
|
| 49 |
+
"vote_on_physician_fee_freeze_bill": datasets.Value("string"),
|
| 50 |
+
"vote_on_el_salvador_aid_bill": datasets.Value("string"),
|
| 51 |
+
"vote_on_religious_groups_in_schools_bill": datasets.Value("string"),
|
| 52 |
+
"vote_on_anti_satellite_test_ban_bill": datasets.Value("string"),
|
| 53 |
+
"vote_on_aid_to_nicaraguan_contras_bill": datasets.Value("string"),
|
| 54 |
+
"vote_on_mx_missile_bill": datasets.Value("string"),
|
| 55 |
+
"vote_on_immigration_bill": datasets.Value("string"),
|
| 56 |
+
"vote_on_synfuels_corporation_cutback_bill": datasets.Value("string"),
|
| 57 |
+
"vote_on_education_spending_bill": datasets.Value("string"),
|
| 58 |
+
"vote_on_superfund_right_to_sue_bill": datasets.Value("string"),
|
| 59 |
+
"vote_on_crime_bill": datasets.Value("string"),
|
| 60 |
+
"vote_on_duty_free_exports_bill": datasets.Value("string"),
|
| 61 |
+
"vote_on_export_administration_act_south_africa_bill": datasets.Value("string"),
|
| 62 |
+
"party": datasets.ClassLabel(num_classes=2, names=("democrat", "republican")),
|
| 63 |
}
|
| 64 |
}
|
| 65 |
features_per_config = {k: datasets.Features(features_types_per_config[k]) for k in features_types_per_config}
|