Skip to content

WY: extract bill abstracts from digest/summary HTML#5733

Merged
jessemortenson merged 1 commit into
openstates:mainfrom
harshitasingh360:DATA/5527-WY-Source-Summary-Missing-in-Plural
Jul 14, 2026
Merged

WY: extract bill abstracts from digest/summary HTML#5733
jessemortenson merged 1 commit into
openstates:mainfrom
harshitasingh360:DATA/5527-WY-Source-Summary-Missing-in-Plural

Conversation

@harshitasingh360

Copy link
Copy Markdown
Contributor

The API's summary/digest fields only contain PDF paths (e.g. 2026/Summaries/HB0002.pdf), which were being stored as the bill abstract. Extract the actual text from the digestHTML/summaryHTML fields instead: the digest 'AN ACT...' clause as the primary abstract and the plain-language summary as a secondary abstract.

The API's summary/digest fields only contain PDF paths (e.g.
2026/Summaries/HB0002.pdf), which were being stored as the bill
abstract. Extract the actual text from the digestHTML/summaryHTML
fields instead: the digest 'AN ACT...' clause as the primary
abstract and the plain-language summary as a secondary abstract.

@jessemortenson jessemortenson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jessemortenson
jessemortenson merged commit dc7a173 into openstates:main Jul 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants