Skip to content

Commit

Permalink
Add bill docs to query document
Browse files Browse the repository at this point in the history
  • Loading branch information
jessemortenson committed Nov 15, 2024
1 parent 79be768 commit d8d7657
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/data/query-scraper-output-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ 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;
CREATE VIEW bill_documents AS
SELECT legislative_session, identifier AS bill_identifier, _id AS bill_id, unnest(documents, recursive := true)
FROM bills;


-- Vote Events
Expand Down

0 comments on commit d8d7657

Please sign in to comment.