Datasets:
metadata
license: mit
language:
- en
tags:
- legislation
- maine
- government
- legal
- nlp
task_categories:
- text-classification
- summarization
- feature-extraction
size_categories:
- 1K<n<10K
pretty_name: Maine Legislative Bills
configs:
- config_name: all
default: true
data_files:
- split: train
path: data/**/*.parquet
- config_name: '121'
data_files:
- split: train
path: data/121/*.parquet
- config_name: '122'
data_files:
- split: train
path: data/122/*.parquet
- config_name: '123'
data_files:
- split: train
path: data/123/*.parquet
- config_name: '124'
data_files:
- split: train
path: data/124/*.parquet
- config_name: '125'
data_files:
- split: train
path: data/125/*.parquet
- config_name: '126'
data_files:
- split: train
path: data/126/*.parquet
- config_name: '127'
data_files:
- split: train
path: data/127/*.parquet
- config_name: '128'
data_files:
- split: train
path: data/128/*.parquet
- config_name: '129'
data_files:
- split: train
path: data/129/*.parquet
- config_name: '130'
data_files:
- split: train
path: data/130/*.parquet
- config_name: '131'
data_files:
- split: train
path: data/131/*.parquet
- config_name: '132'
data_files:
- split: train
path: data/132/*.parquet
Maine Legislative Bills
Full text of bills and amendments from the Maine State Legislature, extracted from PDFs published by the Law and Legislative Reference Library.
Usage
from datasets import load_dataset
# Load all sessions (default)
ds = load_dataset("pem207/maine-bills")
# Load a specific legislative session
ds = load_dataset("pem207/maine-bills", "132")
# Stream without downloading
ds = load_dataset("pem207/maine-bills", streaming=True)
Source
PDFs are published by the Maine Law and Legislative Reference Library at
https://lldc.mainelegislature.org/Open/LDs/. This dataset is neither
endorsed by nor affiliated with the Maine State Legislature.
Schema
| Column | Type | Description |
|---|---|---|
session |
int | Legislative session number |
ld_number |
string | Legislative Document number (zero-padded) |
document_type |
string | Currently always "bill" |
amendment_code |
string | Amendment identifier (e.g., CA_A_H0266) or null |
amendment_type |
string | Human-readable amendment type or null |
chamber |
string | House or Senate (derived from amendment) or null |
text |
string | Full extracted text of the document |
title |
string | Bill title extracted from content, or null |
sponsors |
list | Sponsor names extracted from content |
committee |
string | Referred committee, or null |
source_url |
string | Direct URL to the original PDF |
source_filename |
string | Original filename without extension |
scraped_at |
string | ISO 8601 timestamp of extraction |
License
Bill text is extracted from public government documents. The extraction code is MIT-licensed.