Skip to content

Commit

Permalink
Query doc: add bill_subjects view
Browse files Browse the repository at this point in the history
  • Loading branch information
jessemortenson committed Nov 5, 2024
1 parent 1f2f1b5 commit 79be768
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/data/query-scraper-output-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ FROM bills;
CREATE VIEW bill_version_links AS
SELECT legislative_session, bill_identifier, bill_id, unnest(links, recursive := true)
FROM bill_versions;
CREATE VIEW bill_subjects AS
SELECT legislative_session, identifier AS bill_identifier, _id AS bill_id, unnest(subject) AS subject
FROM bills;


-- Vote Events
CREATE VIEW vote_events AS
Expand Down

0 comments on commit 79be768

Please sign in to comment.