{"database": "openregs", "private": false, "path": "/openregs", "size": 37330108416, "tables": [{"name": "agencies", "columns": ["id", "name", "raw_name", "slug", "parent_id"], "primary_keys": ["id"], "count": 444, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "federal_register_agencies", "column": "id", "other_column": "agency_id"}], "outgoing": []}, "private": false}, {"name": "agency_map", "columns": ["regs_code", "fr_agency_id", "fr_agency_name", "fr_raw_name"], "primary_keys": ["regs_code"], "count": 119, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "bills_floor_time", "columns": ["bill_id", "congress", "bill_type", "bill_number", "bill_title", "policy_area", "sponsor_name", "floor_mentions", "days_discussed", "first_discussed", "last_discussed"], "primary_keys": [], "count": 135378, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "build_metadata", "columns": ["key", "value"], "primary_keys": ["key"], "count": 1, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "cbo_cost_estimates", "columns": ["bill_id", "pub_date", "title", "description", "url"], "primary_keys": [], "count": 17201, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "legislation", "column": "bill_id", "other_column": "bill_id"}]}, "private": false}, {"name": "cfr_sections", "columns": ["section_id", "title_number", "title_name", "chapter", "subchapter", "part_number", "part_name", "subpart", "subpart_name", "section_number", "section_heading", "agency", "authority", "source_citation", "amendment_citations", "full_text"], "primary_keys": ["section_id"], "count": 123480, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "comment_details", "columns": ["id", "comment_text", "organization", "organization_normalized", "first_name", "last_name", "city", "state_province", "zip", "country", "subtype", "category", "tracking_number", "duplicate_comments", "comment_on_document_id", "receive_date", "postmark_date", "gov_agency", "gov_agency_type", "page_count", "attachment_count", "attachment_urls"], "primary_keys": ["id"], "count": 423837, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "comments", "column": "id", "other_column": "id"}]}, "private": false}, {"name": "commenter_lobby_overlap", "columns": ["organization", "comments_filed", "agencies_commented", "lobby_filings", "total_lobby_income", "lobby_issues"], "primary_keys": [], "count": 4639, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "comments", "columns": ["id", "agency_id", "docket_id", "title", "submitter_name", "submitter_type", "document_type", "posted_date", "posted_year", "posted_month", "last_modified", "withdrawn", "object_id"], "primary_keys": ["id"], "count": null, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "comment_details", "column": "id", "other_column": "id"}], "outgoing": []}, "private": false}, {"name": "comments_by_year", "columns": ["agency_id", "posted_year", "comment_count", "docket_count", "org_comments", "individual_comments", "anonymous_comments"], "primary_keys": [], "count": 1290, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "comments_monthly", "columns": ["agency_id", "posted_year", "posted_month", "year_month", "comment_count", "active_dockets"], "primary_keys": [], "count": 10155, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "committee_donor_summary", "columns": ["committee_name", "member_name", "party", "state", "bioguide_id", "donor_committee", "donor_cmte_id", "total_donated", "contribution_count"], "primary_keys": [], "count": null, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "committee_jurisdiction", "columns": ["id", "committee_id", "committee_name", "chamber", "jurisdiction_desc", "sic_codes", "jurisdiction_tier", "notes"], "primary_keys": ["id"], "count": 27, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "committee_memberships", "columns": ["bioguide_id", "committee_id", "member_name", "party", "title", "rank"], "primary_keys": ["bioguide_id", "committee_id"], "count": 3908, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "committee_sectors", "columns": ["committee_id", "committee_name", "chamber", "regulated_sectors", "example_tickers", "gics_sectors", "sic_ranges", "notes"], "primary_keys": ["committee_id"], "count": 33, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "committee_sic_ranges", "columns": ["committee_id", "sic_start", "sic_end", "jurisdiction_tier"], "primary_keys": [], "count": 87, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "committee_trade_conflicts", "columns": ["full_name", "party", "state", "bioguide_id", "committee_name", "jurisdiction_desc", "jurisdiction_tier", "sic_code", "sic_description", "transaction_date", "ticker", "asset_description", "transaction_type", "amount_range"], "primary_keys": [], "count": 3139, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "committee_trade_counts", "columns": ["committee_name", "committee_id", "member_name", "party", "state", "bioguide_id", "trade_count", "unique_tickers", "purchases", "sales", "first_trade", "last_trade"], "primary_keys": [], "count": 1405, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "committees", "columns": ["committee_id", "name", "chamber", "url", "parent_committee_id"], "primary_keys": ["committee_id"], "count": 233, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "congress_members", "columns": ["bioguide_id", "first_name", "last_name", "full_name", "nickname", "party", "state", "chamber", "district", "first_served", "last_served", "is_current", "opensecrets_id", "fec_ids", "govtrack_id", "thomas_id", "votesmart_id", "lis_id", "wikipedia_id", "ballotpedia_id", "birthday", "gender", "terms_count", "served_until", "trade_count", "speech_count", "bills_sponsored", "vote_count", "fec_total_received"], "primary_keys": ["bioguide_id"], "count": 12763, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "congressional_record", "columns": ["granule_id", "date", "congress", "session", "volume", "issue", "title", "chamber", "granule_class", "sub_granule_class", "page_start", "page_end", "speakers", "bills", "citation", "full_text"], "primary_keys": ["granule_id"], "count": 878583, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "crec_speakers", "column": "granule_id", "other_column": "granule_id"}, {"other_table": "crec_bills", "column": "granule_id", "other_column": "granule_id"}], "outgoing": []}, "private": false}, {"name": "crec_bills", "columns": ["granule_id", "congress", "bill_type", "bill_number", "bill_id"], "primary_keys": ["granule_id", "congress", "bill_type", "bill_number"], "count": null, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "congressional_record", "column": "granule_id", "other_column": "granule_id"}]}, "private": false}, {"name": "crec_speakers", "columns": ["granule_id", "speaker_name", "speaker_role", "bioguide_id", "party", "state"], "primary_keys": ["granule_id", "speaker_name"], "count": null, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "congressional_record", "column": "granule_id", "other_column": "granule_id"}]}, "private": false}, {"name": "crs_report_bills", "columns": ["id", "report_id", "bill_title", "congress", "bill_type", "bill_number", "bill_id"], "primary_keys": ["id"], "count": 135890, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "crs_reports", "column": "report_id", "other_column": "id"}]}, "private": false}, {"name": "crs_reports", "columns": ["id", "title", "publish_date", "update_date", "status", "content_type", "authors", "topics", "summary", "pdf_url", "html_url"], "primary_keys": ["id"], "count": 13629, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "crs_report_bills", "column": "id", "other_column": "report_id"}], "outgoing": []}, "private": false}, {"name": "docket_importance", "columns": ["docket_id", "agency_id", "title", "total_docs", "doc_type_count", "proposed_rules", "final_rules", "comment_count", "fr_crossref_count", "importance_score"], "primary_keys": [], "count": 111363, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "docket_stats", "columns": ["id", "agency_id", "title", "docket_type", "comment_count", "document_count", "earliest_comment", "latest_comment", "earliest_document", "latest_document"], "primary_keys": [], "count": 254397, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "docket_summary", "columns": ["docket_id", "summary"], "primary_keys": [], "count": 91514, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "dockets", "columns": ["id", "agency_id", "title", "docket_type", "last_modified", "object_id"], "primary_keys": ["id"], "count": 254397, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "documents", "column": "id", "other_column": "docket_id"}], "outgoing": []}, "private": false}, {"name": "documents", "columns": ["id", "agency_id", "docket_id", "title", "document_type", "subtype", "posted_date", "posted_year", "posted_month", "comment_start_date", "comment_end_date", "last_modified", "fr_doc_num", "open_for_comment", "withdrawn", "object_id"], "primary_keys": ["id"], "count": null, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "fr_regs_crossref", "column": "id", "other_column": "regs_document_id"}], "outgoing": [{"other_table": "dockets", "column": "docket_id", "other_column": "id"}]}, "private": false}, {"name": "earmark_spending_crossref", "columns": ["earmark_id", "bioguide_id", "member_name", "earmark_fy", "earmark_recipient", "amount_requested", "project_description", "spending_id", "spending_recipient", "award_amount", "spending_agency", "spending_description", "spending_fy", "match_type"], "primary_keys": [], "count": 145140, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "earmarks", "columns": ["id", "fiscal_year", "chamber", "member_name", "member_last", "member_first", "bioguide_id", "party", "state", "district", "subcommittee", "recipient", "recipient_normalized", "project_description", "recipient_address", "amount_requested"], "primary_keys": ["id"], "count": 70826, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fara_foreign_principals", "columns": ["rowid", "registration_number", "registrant_date", "registrant_name", "foreign_principal", "fp_registration_date", "fp_termination_date", "country", "address_1", "address_2", "city", "state", "zip"], "primary_keys": ["rowid"], "count": 17627, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fara_hearing_overlap", "columns": ["registrant_name", "registration_number", "hearings_testified", "countries_represented", "countries", "foreign_principals", "first_hearing", "last_hearing", "registration_date", "termination_date"], "primary_keys": [], "count": 83, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fara_registrant_docs", "columns": ["rowid", "registration_number", "registrant_name", "date_stamped", "document_type", "short_form_name", "foreign_principal_name", "foreign_principal_country", "url"], "primary_keys": ["rowid"], "count": 151348, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fara_registrants", "columns": ["registration_number", "registration_date", "termination_date", "name", "name_normalized", "business_name", "address_1", "address_2", "city", "state", "zip"], "primary_keys": ["registration_number"], "count": 7035, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fara_short_forms", "columns": ["rowid", "registration_number", "registration_date", "registrant_name", "short_form_date", "short_form_termination_date", "last_name", "first_name", "address_1", "address_2", "city", "state", "zip"], "primary_keys": ["rowid"], "count": 44363, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fec_candidate_crosswalk", "columns": ["fec_candidate_id", "bioguide_id", "full_name", "party", "state", "chamber"], "primary_keys": ["fec_candidate_id", "bioguide_id"], "count": 1711, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fec_candidates", "columns": ["cand_id", "cand_name", "cand_pty_affiliation", "cand_election_yr", "cand_office_st", "cand_office", "cand_office_district", "cand_ici", "cand_status", "cand_pcc", "cycle"], "primary_keys": ["cand_id", "cycle"], "count": 64679, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fec_committees", "columns": ["cmte_id", "cmte_nm", "cmte_tp", "cmte_dsgn", "cmte_pty_affiliation", "org_tp", "connected_org_nm", "cand_id", "cycle"], "primary_keys": ["cmte_id", "cycle"], "count": 154967, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fec_communication_costs", "columns": ["cmte_id", "cmte_nm", "cand_id", "cand_name", "cand_office", "transaction_dt", "transaction_amt", "communication_tp", "purpose", "sup_opp", "cycle"], "primary_keys": [], "count": 25641, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fec_contributions", "columns": ["cmte_id", "cmte_name", "cand_id", "cand_name", "transaction_dt", "transaction_amt", "entity_tp", "state", "employer", "occupation", "cycle"], "primary_keys": [], "count": null, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fec_electioneering", "columns": ["cmte_id", "cmte_nm", "cand_id", "cand_name", "cand_office", "disb_amt", "disb_dt", "comm_dt", "payee_name", "cycle"], "primary_keys": [], "count": 1679, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fec_employer_to_candidate", "columns": ["employer", "cand_id", "bioguide_id", "cand_name", "party", "office", "state", "cycle", "donation_count", "total_amount"], "primary_keys": [], "count": 476534, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fec_employer_to_party", "columns": ["employer", "party", "cycle", "donation_count", "total_amount", "candidate_count"], "primary_keys": [], "count": 286908, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fec_employer_totals", "columns": ["employer", "donation_count", "total_amount", "avg_amount", "unique_states", "min_cycle", "max_cycle"], "primary_keys": ["employer"], "count": 352103, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fec_independent_expenditures", "columns": ["cand_id", "cand_name", "spe_id", "spe_nam", "can_office", "can_office_state", "cand_pty_aff", "exp_amo", "exp_date", "agg_amo", "sup_opp", "pur", "pay", "dissem_dt", "fec_election_yr", "cycle"], "primary_keys": [], "count": 666910, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fec_operating_expenditures", "columns": ["cmte_id", "cmte_name", "form_tp_cd", "name", "city", "state", "zip_code", "transaction_dt", "transaction_amt", "purpose", "category", "category_desc", "entity_tp", "memo_cd", "memo_text", "cycle"], "primary_keys": [], "count": null, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fec_pac_summary", "columns": ["cmte_id", "cmte_nm", "cmte_tp", "cmte_dsgn", "ttl_receipts", "indv_contrib", "other_pol_cmte_contrib", "ttl_disb", "contrib_to_other_cmte", "ind_exp", "pty_coord_exp", "coh_cop", "debts_owed_by", "cvg_end_dt", "cycle"], "primary_keys": ["cmte_id", "cycle"], "count": 98614, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fec_top_occupations", "columns": ["employer", "occupation", "donation_count", "total_amount"], "primary_keys": [], "count": 666254, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "federal_register", "columns": ["document_number", "title", "type", "abstract", "publication_date", "pub_year", "pub_month", "html_url", "pdf_url", "agency_names", "agency_ids", "excerpts", "regulation_id_numbers"], "primary_keys": ["document_number"], "count": 993703, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "federal_register_agencies", "column": "document_number", "other_column": "document_number"}, {"other_table": "fr_regs_crossref", "column": "document_number", "other_column": "fr_document_number"}], "outgoing": []}, "private": false}, {"name": "federal_register_agencies", "columns": ["document_number", "agency_id"], "primary_keys": ["document_number", "agency_id"], "count": null, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "agencies", "column": "agency_id", "other_column": "id"}, {"other_table": "federal_register", "column": "document_number", "other_column": "document_number"}]}, "private": false}, {"name": "fr_by_year", "columns": ["pub_year", "type", "doc_count"], "primary_keys": [], "count": 169, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fr_regs_crossref", "columns": ["fr_document_number", "regs_document_id"], "primary_keys": ["fr_document_number", "regs_document_id"], "count": 395621, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "documents", "column": "regs_document_id", "other_column": "id"}, {"other_table": "federal_register", "column": "fr_document_number", "other_column": "document_number"}]}, "private": false}, {"name": "gao_legislation", "columns": ["gao_package_id", "gao_title", "gao_date", "bill_id", "public_law_number"], "primary_keys": [], "count": 8453, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "gao_reports", "columns": ["package_id", "title", "date_issued", "report_number", "document_type", "doc_class", "abstract", "subjects", "public_laws", "usc_references", "statute_references", "citation", "pdf_url", "html_url", "detail_url", "sudocs"], "primary_keys": ["package_id"], "count": 73725, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "hearing_members", "columns": ["package_id", "name", "role", "bioguide_id"], "primary_keys": ["package_id", "name"], "count": null, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "hearings", "column": "package_id", "other_column": "package_id"}]}, "private": false}, {"name": "hearing_witnesses", "columns": ["id", "package_id", "name", "title", "organization", "organization_normalized", "location"], "primary_keys": ["id"], "count": 109242, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "hearings", "column": "package_id", "other_column": "package_id"}]}, "private": false}, {"name": "hearings", "columns": ["package_id", "title", "chamber", "congress", "session", "date_issued", "committees", "detail_url", "html_url", "pdf_url"], "primary_keys": ["package_id"], "count": 46177, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "hearing_witnesses", "column": "package_id", "other_column": "package_id"}, {"other_table": "hearing_members", "column": "package_id", "other_column": "package_id"}], "outgoing": []}, "private": false}, {"name": "ig_recommendations", "columns": ["report_id", "rec_number", "significant", "text", "questioned_costs", "funds_for_better_use"], "primary_keys": [], "count": 11999, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "ig_reports", "column": "report_id", "other_column": "report_id"}]}, "private": false}, {"name": "ig_reports", "columns": ["report_id", "title", "date_issued", "report_number", "report_type", "agency_reviewed", "submitting_oig", "location", "description", "num_recommendations", "questioned_costs", "funds_for_better_use", "pdf_url", "detail_url"], "primary_keys": ["report_id"], "count": 34880, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "ig_recommendations", "column": "report_id", "other_column": "report_id"}], "outgoing": []}, "private": false}, {"name": "legislation", "columns": ["bill_id", "congress", "bill_type", "bill_number", "title", "policy_area", "introduced_date", "latest_action_date", "latest_action_text", "origin_chamber", "sponsor_name", "sponsor_state", "sponsor_party", "sponsor_bioguide_id", "cosponsor_count", "summary_text", "update_date", "url"], "primary_keys": ["bill_id"], "count": 364559, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "legislation_actions", "column": "bill_id", "other_column": "bill_id"}, {"other_table": "legislation_subjects", "column": "bill_id", "other_column": "bill_id"}, {"other_table": "legislation_cosponsors", "column": "bill_id", "other_column": "bill_id"}, {"other_table": "cbo_cost_estimates", "column": "bill_id", "other_column": "bill_id"}], "outgoing": []}, "private": false}, {"name": "legislation_actions", "columns": ["id", "bill_id", "action_date", "action_text", "action_type", "chamber", "action_code"], "primary_keys": ["id"], "count": null, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "legislation", "column": "bill_id", "other_column": "bill_id"}]}, "private": false}, {"name": "legislation_cosponsors", "columns": ["bill_id", "bioguide_id", "full_name", "party", "state", "sponsorship_date", "is_original_cosponsor"], "primary_keys": ["bill_id", "bioguide_id"], "count": null, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "legislation", "column": "bill_id", "other_column": "bill_id"}]}, "private": false}, {"name": "legislation_policy_summary", "columns": ["policy_area", "bill_count", "sponsor_count", "from_congress", "to_congress"], "primary_keys": [], "count": 717, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "legislation_sponsor_summary", "columns": ["sponsor_name", "sponsor_party", "sponsor_state", "sponsor_bioguide_id", "bill_count"], "primary_keys": [], "count": 2581, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "legislation_subject_summary", "columns": ["subject", "bill_count"], "primary_keys": [], "count": 6498, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "legislation_subjects", "columns": ["bill_id", "subject"], "primary_keys": ["bill_id", "subject"], "count": null, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "legislation", "column": "bill_id", "other_column": "bill_id"}]}, "private": false}, {"name": "lis_to_bioguide", "columns": ["lis_id", "bioguide_id"], "primary_keys": ["lis_id"], "count": 326, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "lobbying_activities", "columns": ["id", "filing_uuid", "filing_type", "registrant_name", "registrant_id", "client_name", "client_name_normalized", "filing_year", "filing_period", "issue_code", "specific_issues", "government_entities", "income_amount", "expense_amount", "is_no_activity", "is_termination", "received_date"], "primary_keys": ["id"], "count": null, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "lobbying_bill_summary", "columns": ["bill_id", "bill_title", "policy_area", "lobby_filings", "unique_clients", "issue_codes", "clients"], "primary_keys": [], "count": 104832, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "lobbying_bills", "columns": ["id", "filing_uuid", "bill_congress", "bill_type", "bill_number", "bill_id", "client_name", "issue_code"], "primary_keys": ["id"], "count": null, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "lobbying_by_year", "columns": ["filing_year", "filing_count", "unique_clients", "unique_registrants", "total_income_reported", "total_expense_reported"], "primary_keys": [], "count": 28, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "lobbying_contributions", "columns": ["id", "filing_uuid", "lobbyist_name", "contributor_name", "payee_name", "recipient_name", "contribution_type", "amount", "contribution_date", "filing_year", "filing_period", "registrant_name", "received_date"], "primary_keys": ["id"], "count": null, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "lobbying_filings", "columns": ["filing_uuid", "filing_type", "registrant_id", "registrant_name", "client_id", "client_name", "filing_year", "filing_period", "received_date", "amount_reported", "is_amendment", "is_no_activity", "is_termination"], "primary_keys": ["filing_uuid"], "count": null, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "lobbying_issue_agencies", "columns": ["issue_code", "issue_description", "primary_agencies", "secondary_agencies", "regs_gov_agency_prefixes", "federal_register_agency_slugs", "related_committee_ids", "notes"], "primary_keys": ["issue_code"], "count": 73, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "lobbying_issue_codes", "columns": ["code", "description"], "primary_keys": ["code"], "count": 79, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "lobbying_issue_summary", "columns": ["issue_code", "description", "filing_count", "client_count", "total_income"], "primary_keys": [], "count": 80, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "lobbying_lobbyists", "columns": ["id", "filing_uuid", "lobbyist_name", "covered_position", "is_new"], "primary_keys": ["id"], "count": null, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "member_votes", "columns": ["congress", "chamber", "session", "roll_call_number", "bioguide_id", "member_name", "party", "state", "vote_cast"], "primary_keys": [], "count": null, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "nomination_actions", "columns": ["id", "nomination_id", "action_date", "action_text", "action_type"], "primary_keys": ["id"], "count": 189972, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "nominations", "column": "nomination_id", "other_column": "id"}]}, "private": false}, {"name": "nominations", "columns": ["id", "congress", "number", "part_number", "citation", "description", "organization", "received_date", "authority_date", "is_civilian", "is_military", "status", "vote_yea", "vote_nay"], "primary_keys": ["id"], "count": 40067, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "nomination_actions", "column": "id", "other_column": "nomination_id"}], "outgoing": []}, "private": false}, {"name": "oira_meeting_attendees", "columns": ["meeting_id", "attendee_name", "attendee_org", "participation_type", "is_government"], "primary_keys": [], "count": 90711, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "oira_meetings", "column": "meeting_id", "other_column": "meeting_id"}]}, "private": false}, {"name": "oira_meetings", "columns": ["meeting_id", "rin", "title", "agency_acronym", "rule_stage", "meeting_date", "requestor_org", "requestor_name", "meeting_type", "type_cd", "source"], "primary_keys": ["meeting_id"], "count": 8663, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "oira_meeting_attendees", "column": "meeting_id", "other_column": "meeting_id"}], "outgoing": []}, "private": false}, {"name": "oira_reviews", "columns": ["rin", "agency_code", "title", "stage", "economically_significant", "date_received", "date_completed", "decision", "date_published", "major"], "primary_keys": [], "count": 48434, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "presidential_documents", "columns": ["document_number", "title", "document_type", "executive_order_number", "signing_date", "publication_date", "html_url", "abstract"], "primary_keys": ["document_number"], "count": 5918, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "revolving_door", "columns": ["bioguide_id", "full_name", "party", "state", "congress_chamber", "lobbying_filing_count", "client_count", "firm_count", "first_lobbying_year", "last_lobbying_year", "total_reported_income", "lobbying_firms", "covered_position_sample"], "primary_keys": [], "count": 180, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "roll_call_votes", "columns": ["congress", "chamber", "session", "roll_call_number", "date", "question", "vote_type", "description", "result", "bill_id", "legislation_type", "legislation_number", "yea_count", "nay_count", "present_count", "not_voting_count", "source_url"], "primary_keys": ["congress", "chamber", "session", "roll_call_number"], "count": 26359, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "speaker_activity", "columns": ["speaker_name", "bioguide_id", "official_name", "party", "state", "total_speeches", "active_days", "first_appearance", "last_appearance", "chambers", "congresses_active"], "primary_keys": [], "count": 2118, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "speeches_near_trades", "columns": ["full_name", "party", "state", "bioguide_id", "trade_date", "ticker", "asset_description", "transaction_type", "amount_range", "speech_date", "speech_title", "days_apart"], "primary_keys": [], "count": 77542, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "spending_agency_summary", "columns": ["name", "award_count", "total_spending", "sub_count"], "primary_keys": [], "count": 15, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "spending_awards", "columns": ["generated_internal_id", "award_id", "agency", "sub_agency", "award_category", "award_type", "recipient_name", "recipient_name_normalized", "award_amount", "total_outlays", "description", "start_date", "end_date", "fiscal_year", "state_code", "cfda_number", "naics_code", "naics_description"], "primary_keys": ["generated_internal_id"], "count": 863632, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "spending_by_agency", "columns": ["agency", "sub_agency", "award_category", "award_count", "total_amount", "avg_amount", "earliest", "latest"], "primary_keys": [], "count": 111, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "sqlite_sequence", "columns": ["name", "seq"], "primary_keys": [], "count": 8, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "stock_trades", "columns": ["id", "member_name", "bioguide_id", "chamber", "transaction_date", "disclosure_date", "ticker", "asset_description", "asset_type", "transaction_type", "amount_range", "owner", "comment", "source_url", "filing_type", "state_district", "doc_id"], "primary_keys": ["id"], "count": 61148, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "stock_trades_by_ticker", "columns": ["ticker", "asset_description", "trade_count", "trader_count", "traders", "purchases", "sales", "first_trade", "last_trade"], "primary_keys": [], "count": 3962, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "ticker_sic", "columns": ["ticker", "cik", "company_name", "sic_code", "sic_description", "exchange"], "primary_keys": ["ticker"], "count": 2027, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "top_dockets", "columns": ["docket_id", "agency_id", "docket_title", "docket_type", "comment_count", "unique_submitters", "org_comments", "individual_comments", "anonymous_comments", "first_comment", "last_comment"], "primary_keys": [], "count": 37693, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "top_lobbying_clients", "columns": ["client_name", "filing_count", "firms_hired", "issue_areas", "total_reported_income", "first_year", "last_year", "issue_codes"], "primary_keys": [], "count": 70382, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "top_submitters", "columns": ["submitter_name", "submitter_type", "comment_count", "agencies_commented", "dockets_commented", "first_comment", "last_comment", "agency_list"], "primary_keys": [], "count": 5391, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "treaties", "columns": ["id", "congress", "number", "title", "topic", "transmitted_date", "in_force_date", "countries", "index_terms", "resolution_text"], "primary_keys": ["id"], "count": 777, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "treaty_actions", "column": "id", "other_column": "treaty_id"}], "outgoing": []}, "private": false}, {"name": "treaty_actions", "columns": ["id", "treaty_id", "action_date", "action_text", "action_type"], "primary_keys": ["id"], "count": 4286, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "treaties", "column": "treaty_id", "other_column": "id"}]}, "private": false}, {"name": "witness_lobby_overlap", "columns": ["organization", "hearings_testified", "lobby_filings", "total_lobby_income", "first_hearing", "last_hearing", "lobby_issues"], "primary_keys": [], "count": 4035, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "cfr_fts", "columns": ["section_number", "section_heading", "part_name", "agency", "full_text", "cfr_fts", "rank"], "primary_keys": [], "count": null, "hidden": true, "fts_table": "cfr_fts", "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "cfr_fts_config", "columns": ["k", "v"], "primary_keys": ["k"], "count": 1, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "cfr_fts_data", "columns": ["id", "block"], "primary_keys": ["id"], "count": null, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "cfr_fts_docsize", "columns": ["id", "sz"], "primary_keys": ["id"], "count": 123480, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "cfr_fts_idx", "columns": ["segid", "term", "pgno"], "primary_keys": ["segid", "term"], "count": 20137, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "comments_fts", "columns": ["title", "submitter_name", "agency_id", "submitter_type", "docket_id", "comments_fts", "rank"], "primary_keys": [], "count": null, "hidden": true, "fts_table": "comments_fts", "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "comments_fts_config", "columns": ["k", "v"], "primary_keys": ["k"], "count": 1, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "comments_fts_data", "columns": ["id", "block"], "primary_keys": ["id"], "count": null, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "comments_fts_docsize", "columns": ["id", "sz"], "primary_keys": ["id"], "count": null, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "comments_fts_idx", "columns": ["segid", "term", "pgno"], "primary_keys": ["segid", "term"], "count": 19772, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "crec_fts", "columns": ["title", "chamber", "full_text", "crec_fts", "rank"], "primary_keys": [], "count": null, "hidden": true, "fts_table": "crec_fts", "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "crec_fts_config", "columns": ["k", "v"], "primary_keys": ["k"], "count": 1, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "crec_fts_data", "columns": ["id", "block"], "primary_keys": ["id"], "count": null, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "crec_fts_docsize", "columns": ["id", "sz"], "primary_keys": ["id"], "count": 878583, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "crec_fts_idx", "columns": ["segid", "term", "pgno"], "primary_keys": ["segid", "term"], "count": 87715, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "crs_reports_fts", "columns": ["title", "authors", "topics", "summary", "crs_reports_fts", "rank"], "primary_keys": [], "count": null, "hidden": true, "fts_table": "crs_reports_fts", "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "crs_reports_fts_config", "columns": ["k", "v"], "primary_keys": ["k"], "count": 1, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "crs_reports_fts_data", "columns": ["id", "block"], "primary_keys": ["id"], "count": null, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "crs_reports_fts_docsize", "columns": ["id", "sz"], "primary_keys": ["id"], "count": 13629, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "crs_reports_fts_idx", "columns": ["segid", "term", "pgno"], "primary_keys": ["segid", "term"], "count": 9853, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "dockets_fts", "columns": ["title", "agency_id", "summary", "dockets_fts", "rank"], "primary_keys": [], "count": null, "hidden": true, "fts_table": "dockets_fts", "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "dockets_fts_config", "columns": ["k", "v"], "primary_keys": ["k"], "count": 1, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "dockets_fts_content", "columns": ["id", "c0", "c1", "c2"], "primary_keys": ["id"], "count": null, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "dockets_fts_data", "columns": ["id", "block"], "primary_keys": ["id"], "count": null, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "dockets_fts_docsize", "columns": ["id", "sz"], "primary_keys": ["id"], "count": 254397, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "dockets_fts_idx", "columns": ["segid", "term", "pgno"], "primary_keys": ["segid", "term"], "count": 5786, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "documents_fts", "columns": ["title", "agency_id", "document_type", "documents_fts", "rank"], "primary_keys": [], "count": null, "hidden": true, "fts_table": "documents_fts", "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "documents_fts_config", "columns": ["k", "v"], "primary_keys": ["k"], "count": 1, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "documents_fts_data", "columns": ["id", "block"], "primary_keys": ["id"], "count": null, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "documents_fts_docsize", "columns": ["id", "sz"], "primary_keys": ["id"], "count": null, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "documents_fts_idx", "columns": ["segid", "term", "pgno"], "primary_keys": ["segid", "term"], "count": 8293, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "earmarks_fts", "columns": ["recipient", "project_description", "member_name", "recipient_address", "earmarks_fts", "rank"], "primary_keys": [], "count": null, "hidden": true, "fts_table": "earmarks_fts", "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "earmarks_fts_config", "columns": ["k", "v"], "primary_keys": ["k"], "count": 1, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "earmarks_fts_data", "columns": ["id", "block"], "primary_keys": ["id"], "count": 3025, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "earmarks_fts_docsize", "columns": ["id", "sz"], "primary_keys": ["id"], "count": 70826, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "earmarks_fts_idx", "columns": ["segid", "term", "pgno"], "primary_keys": ["segid", "term"], "count": 2590, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fara_foreign_principals_fts", "columns": ["registrant_name", "foreign_principal", "country", "fara_foreign_principals_fts", "rank"], "primary_keys": [], "count": null, "hidden": true, "fts_table": "fara_foreign_principals_fts", "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fara_foreign_principals_fts_config", "columns": ["k", "v"], "primary_keys": ["k"], "count": 1, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fara_foreign_principals_fts_data", "columns": ["id", "block"], "primary_keys": ["id"], "count": 218, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fara_foreign_principals_fts_docsize", "columns": ["id", "sz"], "primary_keys": ["id"], "count": 17627, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fara_foreign_principals_fts_idx", "columns": ["segid", "term", "pgno"], "primary_keys": ["segid", "term"], "count": 199, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fara_registrants_fts", "columns": ["name", "business_name", "city", "state", "fara_registrants_fts", "rank"], "primary_keys": [], "count": null, "hidden": true, "fts_table": "fara_registrants_fts", "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fara_registrants_fts_config", "columns": ["k", "v"], "primary_keys": ["k"], "count": 1, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fara_registrants_fts_data", "columns": ["id", "block"], "primary_keys": ["id"], "count": 58, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fara_registrants_fts_docsize", "columns": ["id", "sz"], "primary_keys": ["id"], "count": 7035, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fara_registrants_fts_idx", "columns": ["segid", "term", "pgno"], "primary_keys": ["segid", "term"], "count": 49, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fec_employer_fts", "columns": ["employer", "fec_employer_fts", "rank"], "primary_keys": [], "count": null, "hidden": true, "fts_table": "fec_employer_fts", "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fec_employer_fts_config", "columns": ["k", "v"], "primary_keys": ["k"], "count": 1, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fec_employer_fts_data", "columns": ["id", "block"], "primary_keys": ["id"], "count": 1156, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fec_employer_fts_docsize", "columns": ["id", "sz"], "primary_keys": ["id"], "count": 352103, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "fec_employer_fts_idx", "columns": ["segid", "term", "pgno"], "primary_keys": ["segid", "term"], "count": 1088, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "federal_register_fts", "columns": ["title", "abstract", "agency_names", "excerpts", "federal_register_fts", "rank"], "primary_keys": [], "count": null, "hidden": true, "fts_table": "federal_register_fts", "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "federal_register_fts_config", "columns": ["k", "v"], "primary_keys": ["k"], "count": 1, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "federal_register_fts_data", "columns": ["id", "block"], "primary_keys": ["id"], "count": null, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "federal_register_fts_docsize", "columns": ["id", "sz"], "primary_keys": ["id"], "count": 993703, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "federal_register_fts_idx", "columns": ["segid", "term", "pgno"], "primary_keys": ["segid", "term"], "count": 21242, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "gao_reports_fts", "columns": ["title", "abstract", "subjects", "report_number", "gao_reports_fts", "rank"], "primary_keys": [], "count": null, "hidden": true, "fts_table": "gao_reports_fts", "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "gao_reports_fts_config", "columns": ["k", "v"], "primary_keys": ["k"], "count": 1, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "gao_reports_fts_data", "columns": ["id", "block"], "primary_keys": ["id"], "count": 4415, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "gao_reports_fts_docsize", "columns": ["id", "sz"], "primary_keys": ["id"], "count": 73725, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "gao_reports_fts_idx", "columns": ["segid", "term", "pgno"], "primary_keys": ["segid", "term"], "count": 3121, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "hearings_fts", "columns": ["title", "chamber", "committees", "hearings_fts", "rank"], "primary_keys": [], "count": null, "hidden": true, "fts_table": "hearings_fts", "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "hearings_fts_config", "columns": ["k", "v"], "primary_keys": ["k"], "count": 1, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "hearings_fts_data", "columns": ["id", "block"], "primary_keys": ["id"], "count": 1565, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "hearings_fts_docsize", "columns": ["id", "sz"], "primary_keys": ["id"], "count": 46177, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "hearings_fts_idx", "columns": ["segid", "term", "pgno"], "primary_keys": ["segid", "term"], "count": 936, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "legislation_fts", "columns": ["title", "policy_area", "bill_id", "legislation_fts", "rank"], "primary_keys": [], "count": null, "hidden": true, "fts_table": "legislation_fts", "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "legislation_fts_config", "columns": ["k", "v"], "primary_keys": ["k"], "count": 1, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "legislation_fts_data", "columns": ["id", "block"], "primary_keys": ["id"], "count": null, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "legislation_fts_docsize", "columns": ["id", "sz"], "primary_keys": ["id"], "count": 364559, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "legislation_fts_idx", "columns": ["segid", "term", "pgno"], "primary_keys": ["segid", "term"], "count": 4232, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "lobbying_fts", "columns": ["client_name", "registrant_name", "specific_issues", "government_entities", "issue_code", "lobbying_fts", "rank"], "primary_keys": [], "count": null, "hidden": true, "fts_table": "lobbying_fts", "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "lobbying_fts_config", "columns": ["k", "v"], "primary_keys": ["k"], "count": 1, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "lobbying_fts_data", "columns": ["id", "block"], "primary_keys": ["id"], "count": null, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "lobbying_fts_docsize", "columns": ["id", "sz"], "primary_keys": ["id"], "count": null, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "lobbying_fts_idx", "columns": ["segid", "term", "pgno"], "primary_keys": ["segid", "term"], "count": 47601, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "nominations_fts", "columns": ["description", "organization", "citation", "status", "nominations_fts", "rank"], "primary_keys": [], "count": null, "hidden": true, "fts_table": "nominations_fts", "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "nominations_fts_config", "columns": ["k", "v"], "primary_keys": ["k"], "count": 1, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "nominations_fts_data", "columns": ["id", "block"], "primary_keys": ["id"], "count": 686, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "nominations_fts_docsize", "columns": ["id", "sz"], "primary_keys": ["id"], "count": 40067, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "nominations_fts_idx", "columns": ["segid", "term", "pgno"], "primary_keys": ["segid", "term"], "count": 533, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "spending_awards_fts", "columns": ["recipient_name", "agency", "sub_agency", "spending_awards_fts", "rank"], "primary_keys": [], "count": null, "hidden": true, "fts_table": "spending_awards_fts", "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "spending_awards_fts_config", "columns": ["k", "v"], "primary_keys": ["k"], "count": 1, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "spending_awards_fts_data", "columns": ["id", "block"], "primary_keys": ["id"], "count": null, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "spending_awards_fts_docsize", "columns": ["id", "sz"], "primary_keys": ["id"], "count": 863632, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "spending_awards_fts_idx", "columns": ["segid", "term", "pgno"], "primary_keys": ["segid", "term"], "count": 2362, "hidden": true, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}], "hidden_count": 86, "views": [{"name": "regulatory_pipeline", "private": false}, {"name": "agency_overview", "private": false}, {"name": "member_overview", "private": false}, {"name": "committee_member_trades", "private": false}, {"name": "nomination_rates", "private": false}, {"name": "hearing_activity", "private": false}, {"name": "member_stats", "private": false}], "queries": [{"title": "Most Commented Dockets", "description": "Dockets with the most public comments, showing comment volume and submitter breakdown.", "sql": "SELECT docket_id, docket_title, agency_id, comment_count, org_comments, individual_comments, anonymous_comments, first_comment, last_comment FROM top_dockets ORDER BY comment_count DESC LIMIT 100", "name": "most_commented_dockets", "private": false}, {"title": "Search Comments (Full Text)", "description": "Search comment titles and submitter names using full-text search. Use standard search syntax: quotes for exact phrases, OR for alternatives.", "sql": "SELECT comments.id, comments.agency_id, comments.title, comments.submitter_name, comments.submitter_type, comments.posted_date, comments.docket_id FROM comments_fts JOIN comments ON comments.rowid = comments_fts.rowid WHERE comments_fts MATCH :search ORDER BY rank LIMIT 200", "params": ["search"], "name": "search_comments", "private": false}, {"title": "Search Federal Register", "description": "Full-text search across Federal Register document titles, abstracts, and agency names.", "sql": "SELECT federal_register.document_number, federal_register.title, federal_register.type, federal_register.publication_date, federal_register.agency_names, federal_register.html_url FROM federal_register_fts JOIN federal_register ON federal_register.rowid = federal_register_fts.rowid WHERE federal_register_fts MATCH :search ORDER BY rank LIMIT 200", "params": ["search"], "name": "search_federal_register", "private": false}, {"title": "Search Dockets", "description": "Full-text search across docket titles. Find regulatory proceedings by keyword.", "sql": "SELECT dockets.id, dockets.agency_id, dockets.title, dockets.docket_type, dockets.last_modified, (SELECT COUNT(*) FROM comments WHERE docket_id = dockets.id) AS comment_count FROM dockets_fts JOIN dockets ON dockets.rowid = dockets_fts.rowid WHERE dockets_fts MATCH :search ORDER BY rank LIMIT 200", "params": ["search"], "name": "search_dockets", "private": false}, {"title": "Search Regulatory Documents", "description": "Full-text search across regulatory document titles from Regulations.gov.", "sql": "SELECT documents.id, documents.agency_id, documents.title, documents.document_type, documents.posted_date, documents.docket_id, documents.comment_end_date FROM documents_fts JOIN documents ON documents.rowid = documents_fts.rowid WHERE documents_fts MATCH :search ORDER BY rank LIMIT 200", "params": ["search"], "name": "search_documents", "private": false}, {"title": "Currently Open for Comment", "description": "Regulatory documents with comment periods that haven't closed yet. These are opportunities for public participation.", "sql": "SELECT d.id, d.agency_id, d.title, d.document_type, d.posted_date, d.comment_start_date, d.comment_end_date, d.docket_id, CAST(julianday(d.comment_end_date) - julianday('now') AS INTEGER) AS days_remaining, (SELECT COUNT(*) FROM comments c WHERE c.docket_id = d.docket_id) AS comments_so_far FROM documents d WHERE d.comment_end_date IS NOT NULL AND d.comment_end_date > datetime('now') AND d.withdrawn = 0 ORDER BY d.comment_end_date ASC LIMIT 100", "name": "open_for_comment", "private": false}, {"title": "Comment Volume by Year & Agency", "description": "Annual comment volume for each agency, with breakdown by submitter type.", "sql": "SELECT agency_id, posted_year, comment_count, docket_count, org_comments, individual_comments, anonymous_comments FROM comments_by_year ORDER BY agency_id, posted_year", "name": "agency_comment_trends", "private": false}, {"title": "Most Active Organizational Commenters", "description": "Organizations that submit the most public comments across all agencies.", "sql": "SELECT submitter_name, comment_count, agencies_commented, dockets_commented, agency_list, first_comment, last_comment FROM top_submitters ORDER BY comment_count DESC LIMIT 100", "name": "top_organizational_commenters", "private": false}, {"title": "Rulemaking Pipeline (Proposed \u2192 Final)", "description": "Dockets that have both proposed rules and final rules, showing the regulatory timeline.", "sql": "SELECT d.id AS docket_id, d.agency_id, d.title, proposed.posted_date AS proposed_date, final.posted_date AS final_date, CAST(julianday(final.posted_date) - julianday(proposed.posted_date) AS INTEGER) AS days_to_finalize, (SELECT COUNT(*) FROM comments c WHERE c.docket_id = d.id) AS total_comments FROM dockets d JOIN documents proposed ON proposed.docket_id = d.id AND proposed.document_type = 'Proposed Rule' JOIN documents final ON final.docket_id = d.id AND final.document_type = 'Rule' WHERE d.docket_type = 'Rulemaking' ORDER BY total_comments DESC LIMIT 100", "name": "rulemaking_pipeline", "private": false}, {"title": "Comments for a Docket", "description": "View all comments submitted for a specific docket ID (e.g., EPA-HQ-OAR-2021-0317).", "sql": "SELECT id, title, submitter_name, submitter_type, posted_date, agency_id FROM comments WHERE docket_id = :docket_id ORDER BY posted_date DESC LIMIT 500", "params": ["docket_id"], "name": "comments_for_docket", "private": false}, {"title": "Dockets for an Agency", "description": "Browse all dockets for a specific agency code (e.g., EPA, FDA, FWS, USDA) with comment counts.", "sql": "SELECT d.id, d.title, d.docket_type, d.last_modified, (SELECT COUNT(*) FROM comments c WHERE c.docket_id = d.id) AS comment_count, (SELECT COUNT(*) FROM documents doc WHERE doc.docket_id = d.id) AS document_count FROM dockets d WHERE d.agency_id = :agency_id ORDER BY d.last_modified DESC LIMIT 200", "params": ["agency_id"], "name": "dockets_for_agency", "private": false}, {"title": "Federal Register Documents by Agency", "description": "Search Federal Register documents by agency name and optional year.", "sql": "SELECT document_number, title, type, publication_date, html_url FROM federal_register WHERE agency_names LIKE '%' || :agency || '%' AND (:year = '' OR pub_year = CAST(:year AS INTEGER)) ORDER BY publication_date DESC LIMIT 200", "params": ["agency", "year"], "name": "fr_documents_for_agency", "private": false}, {"title": "Recently Published Rules", "description": "The most recently published final rules in the Federal Register.", "sql": "SELECT document_number, title, publication_date, agency_names, html_url FROM federal_register WHERE type = 'Rule' ORDER BY publication_date DESC LIMIT 100", "name": "recent_rules", "private": false}, {"title": "Recently Proposed Rules", "description": "Proposed rules awaiting public comment or finalization, ordered by publication date.", "sql": "SELECT document_number, title, publication_date, agency_names, html_url FROM federal_register WHERE type = 'Proposed Rule' ORDER BY publication_date DESC LIMIT 100", "name": "recently_proposed_rules", "private": false}, {"title": "Comment Period Durations", "description": "How long agencies give the public to comment, by agency and document type.", "sql": "SELECT d.agency_id, d.document_type, COUNT(*) AS documents, CAST(AVG(julianday(d.comment_end_date) - julianday(d.comment_start_date)) AS INTEGER) AS avg_days, CAST(MIN(julianday(d.comment_end_date) - julianday(d.comment_start_date)) AS INTEGER) AS min_days, CAST(MAX(julianday(d.comment_end_date) - julianday(d.comment_start_date)) AS INTEGER) AS max_days FROM documents d WHERE d.comment_start_date IS NOT NULL AND d.comment_end_date IS NOT NULL AND d.comment_start_date != '' AND d.comment_end_date != '' AND julianday(d.comment_end_date) > julianday(d.comment_start_date) GROUP BY d.agency_id, d.document_type HAVING documents >= 3 ORDER BY avg_days DESC", "description_html": "How long agencies give the public to comment, by agency and document type. Useful for understanding whether comment periods are adequate.", "name": "comment_window_analysis", "private": false}, {"title": "Monthly Comment Activity", "description": "Comment volume by month across all agencies, useful for spotting surges in public engagement.", "sql": "SELECT year_month, agency_id, comment_count, active_dockets FROM comments_monthly ORDER BY year_month DESC LIMIT 500", "name": "comment_activity_monthly", "private": false}, {"title": "Federal Register \u2194 Regulations.gov Lookup", "description": "Find the Regulations.gov documents linked to a Federal Register document number, or vice versa.", "sql": "SELECT xr.fr_document_number, fr.title AS fr_title, fr.type AS fr_type, fr.publication_date, fr.html_url AS fr_url, xr.regs_document_id, doc.title AS regs_title, doc.document_type AS regs_type, doc.agency_id, doc.docket_id FROM fr_regs_crossref xr LEFT JOIN federal_register fr ON fr.document_number = xr.fr_document_number LEFT JOIN documents doc ON doc.id = xr.regs_document_id WHERE (:fr_doc_number = '' OR xr.fr_document_number = :fr_doc_number) AND (:regs_doc_id = '' OR xr.regs_document_id = :regs_doc_id) ORDER BY fr.publication_date DESC LIMIT 100", "params": ["fr_doc_number", "regs_doc_id"], "name": "cross_reference", "private": false}, {"title": "Federal Register Activity by Year", "description": "Count of Federal Register documents by type and year, showing regulatory activity trends over three decades.", "sql": "SELECT pub_year, SUM(CASE WHEN type = 'Rule' THEN 1 ELSE 0 END) AS rules, SUM(CASE WHEN type = 'Proposed Rule' THEN 1 ELSE 0 END) AS proposed_rules, SUM(CASE WHEN type = 'Notice' THEN 1 ELSE 0 END) AS notices, SUM(CASE WHEN type = 'Presidential Document' THEN 1 ELSE 0 END) AS presidential, COUNT(*) AS total FROM federal_register WHERE pub_year IS NOT NULL GROUP BY pub_year ORDER BY pub_year", "name": "document_type_trends", "private": false}, {"title": "Comments by a Specific Submitter", "description": "See all comments from a specific organization or individual across all dockets.", "sql": "SELECT c.id, c.agency_id, c.docket_id, c.title, c.submitter_type, c.posted_date, d.title AS docket_title FROM comments c LEFT JOIN dockets d ON d.id = c.docket_id WHERE c.submitter_name = :submitter_name ORDER BY c.posted_date DESC LIMIT 200", "params": ["submitter_name"], "name": "submitter_docket_detail", "private": false}, {"title": "Executive Orders", "description": "All Executive Orders from 1994 to present, with EO numbers and signing dates.", "sql": "SELECT executive_order_number AS eo_number, title, signing_date, publication_date, html_url FROM presidential_documents WHERE document_type = 'executive_order' AND executive_order_number IS NOT NULL ORDER BY executive_order_number DESC LIMIT 500", "name": "executive_orders", "private": false}, {"title": "Search Executive Orders & Proclamations", "description": "Search presidential documents by keyword in title or abstract.", "sql": "SELECT document_type, executive_order_number AS eo_number, title, signing_date, publication_date, html_url, abstract FROM presidential_documents WHERE title LIKE '%' || :search || '%' OR abstract LIKE '%' || :search || '%' ORDER BY signing_date DESC LIMIT 200", "params": ["search"], "name": "search_executive_orders", "private": false}, {"title": "Recent Executive Orders", "description": "The 50 most recently signed Executive Orders.", "sql": "SELECT executive_order_number AS eo_number, title, signing_date, publication_date, html_url, abstract FROM presidential_documents WHERE document_type = 'executive_order' ORDER BY signing_date DESC LIMIT 50", "name": "recent_executive_orders", "private": false}, {"title": "Look Up Executive Order by Number", "description": "Find a specific Executive Order by its number (e.g., 14110).", "sql": "SELECT executive_order_number AS eo_number, title, signing_date, publication_date, html_url, abstract FROM presidential_documents WHERE executive_order_number = CAST(:eo_number AS INTEGER)", "params": ["eo_number"], "name": "executive_order_lookup", "private": false}, {"title": "Presidential Documents by Year", "description": "Count of Executive Orders and Proclamations signed each year.", "sql": "SELECT CAST(strftime('%Y', signing_date) AS INTEGER) AS year, SUM(CASE WHEN document_type = 'executive_order' THEN 1 ELSE 0 END) AS executive_orders, SUM(CASE WHEN document_type = 'proclamation' THEN 1 ELSE 0 END) AS proclamations, COUNT(*) AS total FROM presidential_documents WHERE signing_date IS NOT NULL GROUP BY year ORDER BY year DESC", "name": "presidential_documents_by_year", "private": false}, {"title": "Presidential Proclamations", "description": "All Presidential Proclamations, most recent first.", "sql": "SELECT title, signing_date, publication_date, html_url FROM presidential_documents WHERE document_type = 'proclamation' ORDER BY signing_date DESC LIMIT 200", "name": "proclamations", "private": false}, {"title": "Federal Spending by Agency", "description": "Total grants and contracts by agency and fiscal year from USAspending.gov.", "sql": "SELECT agency, sub_agency, award_category, award_count, total_amount, avg_amount FROM spending_by_agency ORDER BY total_amount DESC", "name": "spending_by_agency", "private": false}, {"title": "Top Grant Recipients", "description": "Organizations receiving the most federal grant money from our tracked agencies.", "sql": "SELECT recipient_name, COUNT(*) AS grant_count, CAST(SUM(award_amount) AS INTEGER) AS total_amount, GROUP_CONCAT(DISTINCT COALESCE(sub_agency, agency)) AS agencies, MIN(start_date) AS earliest, MAX(start_date) AS latest FROM spending_awards WHERE award_category = 'grants' AND recipient_name IS NOT NULL GROUP BY recipient_name ORDER BY total_amount DESC LIMIT 100", "name": "top_grant_recipients", "private": false}, {"title": "Top Contractors", "description": "Companies receiving the most federal contract money from our tracked agencies.", "sql": "SELECT recipient_name, COUNT(*) AS contract_count, CAST(SUM(award_amount) AS INTEGER) AS total_amount, GROUP_CONCAT(DISTINCT COALESCE(sub_agency, agency)) AS agencies FROM spending_awards WHERE award_category = 'contracts' AND recipient_name IS NOT NULL GROUP BY recipient_name ORDER BY total_amount DESC LIMIT 100", "name": "top_contractors", "private": false}, {"title": "Search Spending Awards", "description": "Search grants and contracts by description keyword.", "sql": "SELECT award_id, COALESCE(sub_agency, agency) AS agency_name, award_category, recipient_name, CAST(award_amount AS INTEGER) AS amount, description, start_date, fiscal_year FROM spending_awards WHERE description LIKE '%' || :search || '%' ORDER BY award_amount DESC LIMIT 200", "params": ["search"], "name": "search_spending", "private": false}, {"title": "Federal Spending by State", "description": "Total awards by state of performance for our tracked agencies.", "sql": "SELECT state_code, COUNT(*) AS award_count, CAST(SUM(award_amount) AS INTEGER) AS total_amount, SUM(CASE WHEN award_category = 'grants' THEN 1 ELSE 0 END) AS grants, SUM(CASE WHEN award_category = 'contracts' THEN 1 ELSE 0 END) AS contracts FROM spending_awards WHERE state_code IS NOT NULL AND state_code != '' GROUP BY state_code ORDER BY total_amount DESC", "name": "spending_by_state", "private": false}, {"title": "Search Legislation", "description": "Search bills and resolutions by keyword in title or summary.", "sql": "SELECT bill_id, congress, bill_type || ' ' || bill_number AS bill, title, policy_area, introduced_date, latest_action_text, sponsor_name, cosponsor_count FROM legislation WHERE title LIKE '%' || :search || '%' OR summary_text LIKE '%' || :search || '%' ORDER BY introduced_date DESC LIMIT 200", "params": ["search"], "name": "search_legislation", "private": false}, {"title": "Legislation by Policy Area", "description": "Browse bills filtered by CRS policy area (e.g., Environmental Protection, Health, Agriculture and Food, Animals).", "sql": "SELECT bill_id, congress, UPPER(bill_type) || ' ' || bill_number AS bill, title, introduced_date, latest_action_text, sponsor_name, sponsor_party, cosponsor_count FROM legislation WHERE policy_area = :policy_area ORDER BY introduced_date DESC LIMIT 200", "params": ["policy_area"], "name": "legislation_by_policy_area", "private": false}, {"title": "Recently Introduced Legislation", "description": "The most recently introduced bills in our tracked policy areas.", "sql": "SELECT bill_id, congress, UPPER(bill_type) || ' ' || bill_number AS bill, title, policy_area, introduced_date, sponsor_name, sponsor_party, cosponsor_count, latest_action_text FROM legislation ORDER BY introduced_date DESC LIMIT 100", "name": "recent_legislation", "private": false}, {"title": "Legislation by Sponsor", "description": "Bills sponsored by a specific member of Congress.", "sql": "SELECT bill_id, congress, UPPER(bill_type) || ' ' || bill_number AS bill, title, policy_area, introduced_date, latest_action_text, cosponsor_count FROM legislation WHERE sponsor_name LIKE '%' || :sponsor || '%' ORDER BY introduced_date DESC LIMIT 200", "params": ["sponsor"], "name": "legislation_by_sponsor", "private": false}, {"title": "Most Cosponsored Bills", "description": "Bills with the most cosponsors, indicating broad congressional support.", "sql": "SELECT bill_id, congress, UPPER(bill_type) || ' ' || bill_number AS bill, title, policy_area, introduced_date, sponsor_name, sponsor_party, cosponsor_count FROM legislation WHERE cosponsor_count > 0 ORDER BY cosponsor_count DESC LIMIT 100", "name": "most_cosponsored_bills", "private": false}, {"title": "Top Legislative Subjects", "description": "Most common CRS subject terms across all tracked legislation.", "sql": "SELECT subject, COUNT(*) AS bill_count FROM legislation_subjects GROUP BY subject ORDER BY bill_count DESC LIMIT 100", "name": "legislation_subject_counts", "private": false}, {"title": "Search Federal Regulations (eCFR)", "description": "Full-text search across the Code of Federal Regulations. Find what the actual regulations say about any topic.", "sql": "SELECT cfr_sections.section_id, cfr_sections.title_number, cfr_sections.part_number, cfr_sections.section_number, cfr_sections.section_heading, cfr_sections.agency, cfr_sections.part_name, substr(cfr_sections.full_text, 1, 500) AS excerpt FROM cfr_fts JOIN cfr_sections ON cfr_sections.rowid = cfr_fts.rowid WHERE cfr_fts MATCH :search ORDER BY rank LIMIT 100", "params": ["search"], "name": "search_cfr", "private": false}, {"title": "Regulations by Agency", "description": "Browse CFR sections by agency (EPA, FDA, APHIS, FWS, FSIS, NOAA).", "sql": "SELECT section_id, title_number, part_number, section_number, section_heading, part_name, subpart_name, substr(full_text, 1, 300) AS excerpt FROM cfr_sections WHERE agency = :agency ORDER BY section_id LIMIT 200", "params": ["agency"], "name": "cfr_by_agency", "private": false}, {"title": "CFR Parts Overview", "description": "List all parts (regulatory chapters) in each CFR title, with section counts.", "sql": "SELECT title_number, title_name, part_number, part_name, agency, COUNT(*) AS section_count FROM cfr_sections WHERE part_number != '' GROUP BY title_number, part_number ORDER BY title_number, CAST(part_number AS INTEGER)", "name": "cfr_parts", "private": false}, {"title": "Read a CFR Section", "description": "View the full text of a specific CFR section (e.g., '1.1' or '50.11').", "sql": "SELECT section_id, title_number, title_name, part_number, part_name, section_number, section_heading, agency, authority, source_citation, amendment_citations, full_text FROM cfr_sections WHERE section_number = :section_number", "params": ["section_number"], "name": "cfr_section_detail", "private": false}, {"title": "Search Congressional Record", "description": "Full-text search across everything said on the floor of Congress. Speeches, debates, procedural actions.", "sql": "SELECT congressional_record.granule_id, congressional_record.date, congressional_record.congress, congressional_record.chamber, congressional_record.title, congressional_record.speakers, congressional_record.page_start, substr(congressional_record.full_text, 1, 500) AS excerpt FROM crec_fts JOIN congressional_record ON congressional_record.rowid = crec_fts.rowid WHERE crec_fts MATCH :search ORDER BY rank LIMIT 100", "params": ["search"], "name": "search_congressional_record", "private": false}, {"title": "Congressional Record by Date", "description": "View everything said on the floor of Congress on a specific date (YYYY-MM-DD).", "sql": "SELECT granule_id, chamber, granule_class, sub_granule_class, title, speakers, page_start, page_end FROM congressional_record WHERE date = :date ORDER BY chamber, page_start", "params": ["date"], "name": "congressional_record_by_date", "private": false}, {"title": "Floor Speeches by Topic", "description": "Search House and Senate floor speeches (excludes Daily Digest and procedural items).", "sql": "SELECT congressional_record.granule_id, congressional_record.date, congressional_record.chamber, congressional_record.title, congressional_record.speakers, congressional_record.page_start, substr(congressional_record.full_text, 1, 500) AS excerpt FROM crec_fts JOIN congressional_record ON congressional_record.rowid = crec_fts.rowid WHERE crec_fts MATCH :search AND congressional_record.granule_class IN ('HOUSE', 'SENATE') AND congressional_record.sub_granule_class = 'ALLOTHER' ORDER BY rank LIMIT 100", "params": ["search"], "name": "floor_speeches_by_topic", "private": false}, {"title": "Congressional Record by Congress", "description": "Volume of floor activity per Congress \u2014 speeches, proceedings, and extensions of remarks.", "sql": "SELECT congress, chamber, COUNT(*) AS entries, COUNT(DISTINCT date) AS session_days FROM congressional_record WHERE congress IS NOT NULL GROUP BY congress, chamber ORDER BY congress DESC, chamber", "name": "congressional_record_stats", "private": false}, {"title": "Floor Speeches by Member of Congress", "description": "All floor speeches and remarks by a specific member of Congress. Enter a last name (e.g., 'McConnell'), full name, or bioguide_id.", "sql": "SELECT cs.speaker_name, cs.bioguide_id, cm.full_name AS official_name, cm.party, cr.date, cr.title, cr.chamber, cr.granule_class, cr.page_start, substr(cr.full_text, 1, 400) AS excerpt FROM crec_speakers cs JOIN congressional_record cr ON cs.granule_id = cr.granule_id LEFT JOIN congress_members cm ON cs.bioguide_id = cm.bioguide_id WHERE cs.speaker_name LIKE '%' || :name || '%' OR cs.bioguide_id = :name ORDER BY cr.date DESC LIMIT 200", "params": {"name": "McConnell"}, "name": "speeches_by_member", "private": false}, {"title": "Most Active Speakers in Congress", "description": "Members of Congress with the most floor speeches across all Congresses on record.", "sql": "SELECT speaker_name, bioguide_id, official_name, party, state, total_speeches, active_days, first_appearance, last_appearance, chambers FROM speaker_activity ORDER BY total_speeches DESC LIMIT 100", "name": "most_active_speakers", "private": false}, {"title": "Bills Discussed on the Floor", "description": "Bills referenced in Congressional Record floor proceedings, showing how many times each was discussed. Can filter by bill type (hr, s, hjres, etc.).", "sql": "SELECT bill_id, bill_type, bill_number, congress, COALESCE(bill_title, '(not in legislation table)') AS bill_title, floor_mentions AS mentions, first_discussed, last_discussed FROM bills_floor_time WHERE congress = :congress AND (:bill_type = '' OR bill_type = :bill_type) ORDER BY floor_mentions DESC LIMIT 100", "params": {"congress": "118", "bill_type": ""}, "name": "bills_discussed_on_floor", "private": false}, {"title": "Floor Debate for a Specific Bill", "description": "All Congressional Record entries referencing a specific bill. Enter bill_id format: congress-type-number (e.g., '118-hr-3684').", "sql": "SELECT cr.date, cr.title, cr.chamber, (SELECT GROUP_CONCAT(speaker_name, '; ') FROM crec_speakers WHERE granule_id = cr.granule_id) AS speakers, cr.page_start, substr(cr.full_text, 1, 400) AS excerpt FROM crec_bills cb JOIN congressional_record cr ON cb.granule_id = cr.granule_id WHERE cb.bill_id = :bill_id ORDER BY cr.date", "params": {"bill_id": "118-hr-3684"}, "name": "floor_debate_for_bill", "private": false}, {"title": "Search Congress Members", "description": "Find current or historical members of Congress by name.", "sql": "SELECT bioguide_id, full_name, party, state, chamber, CASE WHEN is_current THEN 'Yes' ELSE 'No' END AS current, first_served, last_served, opensecrets_id, wikipedia_id FROM congress_members WHERE full_name LIKE '%' || :name || '%' OR last_name LIKE '%' || :name || '%' ORDER BY is_current DESC, last_served DESC LIMIT 200", "params": {"name": "Grassley"}, "name": "search_members", "private": false}, {"title": "Member Profile: Trades, Speeches, Bills", "description": "Complete profile for a member of Congress \u2014 their stock trades, floor speeches, and sponsored bills. Enter a bioguide_id (e.g., G000386 for Chuck Grassley).", "sql": "SELECT cm.full_name, cm.party, cm.state, cm.chamber, cm.first_served, cm.last_served, (SELECT COUNT(*) FROM stock_trades WHERE bioguide_id = cm.bioguide_id) AS total_trades, (SELECT COUNT(*) FROM crec_speakers WHERE bioguide_id = cm.bioguide_id) AS total_speeches, (SELECT COUNT(*) FROM legislation WHERE sponsor_bioguide_id = cm.bioguide_id) AS bills_sponsored, (SELECT GROUP_CONCAT(DISTINCT ticker, ', ') FROM stock_trades WHERE bioguide_id = cm.bioguide_id AND ticker != '' LIMIT 20) AS tickers_traded FROM congress_members cm WHERE cm.bioguide_id = :bioguide_id", "params": {"bioguide_id": "G000386"}, "name": "member_profile", "private": false}, {"title": "Stock Trades for a Member", "description": "All stock trading disclosures for a specific member. Enter a name (e.g., 'Pelosi') or bioguide_id.", "sql": "SELECT st.member_name, st.transaction_date, st.ticker, st.asset_description, st.transaction_type, st.amount_range, st.owner, st.chamber, st.source_url FROM stock_trades st WHERE st.member_name LIKE '%' || :name || '%' OR st.bioguide_id = :name ORDER BY st.transaction_date DESC LIMIT 500", "params": {"name": "Burr"}, "name": "stock_trades_for_member", "private": false}, {"title": "Most Active Congressional Traders", "description": "Members of Congress with the most stock trading disclosures.", "sql": "SELECT st.member_name, cm.party, cm.state, cm.chamber, COUNT(*) AS trade_count, COUNT(DISTINCT st.ticker) AS unique_tickers, SUM(CASE WHEN st.transaction_type LIKE '%Purchase%' THEN 1 ELSE 0 END) AS purchases, SUM(CASE WHEN st.transaction_type LIKE '%Sale%' THEN 1 ELSE 0 END) AS sales, MIN(st.transaction_date) AS first_trade, MAX(st.transaction_date) AS last_trade FROM stock_trades st LEFT JOIN congress_members cm ON st.bioguide_id = cm.bioguide_id WHERE st.chamber = 'Senate' AND st.ticker IS NOT NULL AND st.ticker != '' GROUP BY st.member_name ORDER BY trade_count DESC LIMIT 100", "name": "most_active_traders", "private": false}, {"title": "Most Traded Stocks by Congress", "description": "Stocks most frequently bought or sold by members of Congress (both chambers).", "sql": "SELECT ticker, asset_description, trade_count, trader_count, purchases, sales, traders, first_trade, last_trade FROM stock_trades_by_ticker ORDER BY trade_count DESC LIMIT 100", "name": "most_traded_stocks", "private": false}, {"title": "Who Traded a Specific Stock?", "description": "Find all members who traded a specific stock by ticker symbol (e.g., AAPL, MSFT).", "sql": "SELECT member_name, transaction_date, transaction_type, amount_range, owner, asset_description, source_url FROM stock_trades WHERE UPPER(ticker) = UPPER(:ticker) ORDER BY transaction_date DESC", "params": {"ticker": "AAPL"}, "name": "trades_by_ticker", "private": false}, {"title": "Member Activity Timeline", "description": "See a member's stock trades alongside their floor speeches. Enter bioguide_id.", "sql": "SELECT 'trade' AS activity_type, st.transaction_date AS date, st.ticker || ' ' || st.transaction_type || ' (' || st.amount_range || ')' AS description, st.chamber FROM stock_trades st WHERE st.bioguide_id = :bioguide_id AND st.transaction_date != '' UNION ALL SELECT 'speech' AS activity_type, cr.date, cr.title AS description, cr.chamber FROM crec_speakers cs JOIN congressional_record cr ON cs.granule_id = cr.granule_id WHERE cs.bioguide_id = :bioguide_id ORDER BY date DESC LIMIT 500", "params": {"bioguide_id": "B001135"}, "name": "member_activity_timeline", "private": false}, {"title": "Current Members of Congress Overview", "description": "All current members with their trade count, speech count, and bills sponsored.", "sql": "SELECT cm.bioguide_id, cm.full_name, cm.party, cm.state, cm.chamber, (SELECT COUNT(*) FROM stock_trades WHERE bioguide_id = cm.bioguide_id) AS trades, (SELECT COUNT(*) FROM crec_speakers WHERE bioguide_id = cm.bioguide_id) AS speeches, (SELECT COUNT(*) FROM legislation WHERE sponsor_bioguide_id = cm.bioguide_id) AS bills FROM congress_members cm WHERE cm.is_current = 1 ORDER BY trades DESC, speeches DESC", "name": "current_members_overview", "private": false}, {"title": "Committee Members", "description": "View all members of a specific committee. Enter a committee ID (e.g., SSEV for Senate Environment, HSAG for House Agriculture).", "sql": "SELECT cm.bioguide_id, cm.member_name, cm.party, cm.title AS role, cm.rank, c.name AS committee_name, c.chamber, m.state, m.is_current FROM committee_memberships cm JOIN committees c ON cm.committee_id = c.committee_id LEFT JOIN congress_members m ON cm.bioguide_id = m.bioguide_id WHERE cm.committee_id = :committee_id ORDER BY cm.rank", "params": {"committee_id": "SSEV"}, "name": "committee_members", "private": false}, {"title": "Committees for a Member", "description": "See all committee assignments for a specific member. Enter bioguide_id.", "sql": "SELECT c.committee_id, c.name, c.chamber, cm.title AS role, cm.rank, c.parent_committee_id, COALESCE(p.name, '') AS parent_committee FROM committee_memberships cm JOIN committees c ON cm.committee_id = c.committee_id LEFT JOIN committees p ON c.parent_committee_id = p.committee_id WHERE cm.bioguide_id = :bioguide_id ORDER BY c.chamber, c.name", "params": {"bioguide_id": "G000386"}, "name": "member_committees", "private": false}, {"title": "Committee Leadership", "description": "Chairs and ranking members of all committees.", "sql": "SELECT cm.title AS role, cm.member_name, cm.party, c.name AS committee, c.chamber, cm.bioguide_id FROM committee_memberships cm JOIN committees c ON cm.committee_id = c.committee_id WHERE cm.title IN ('Chairman', 'Ranking Member', 'Chair', 'Vice Chairman', 'Vice Chair') ORDER BY c.chamber, c.name, cm.title", "name": "committee_leadership", "private": false}, {"title": "Stock Trades by Committee Members", "description": "All stock trades by members of a specific committee. Enter committee ID.", "sql": "SELECT cm.member_name, cm.title AS committee_role, st.ticker, st.transaction_type, st.transaction_date, st.amount_range, st.asset_description FROM committee_memberships cm JOIN stock_trades st ON cm.bioguide_id = st.bioguide_id WHERE cm.committee_id = :committee_id AND st.ticker IS NOT NULL AND st.ticker != '' ORDER BY st.transaction_date DESC LIMIT 500", "params": {"committee_id": "SSEV"}, "name": "committee_trade_activity", "private": false}, {"title": "Cosponsors for a Bill", "description": "View all cosponsors for a specific bill. Enter bill_id format: congress-type-number (e.g., '118-hr-3684').", "sql": "SELECT lc.bioguide_id, cm.full_name, lc.party, lc.state, CASE WHEN lc.is_original_cosponsor THEN 'Original' ELSE 'Added later' END AS cosponsor_type, lc.sponsorship_date, cm.chamber FROM legislation_cosponsors lc LEFT JOIN congress_members cm ON lc.bioguide_id = cm.bioguide_id WHERE lc.bill_id = :bill_id ORDER BY lc.is_original_cosponsor DESC, lc.sponsorship_date", "params": {"bill_id": "118-hr-3684"}, "name": "bill_cosponsors", "private": false}, {"title": "Most Prolific Cosponsors", "description": "Members who cosponsor the most bills in our tracked policy areas.", "sql": "SELECT lc.bioguide_id, cm.full_name, cm.party, cm.state, cm.chamber, COUNT(*) AS bills_cosponsored, SUM(CASE WHEN lc.is_original_cosponsor THEN 1 ELSE 0 END) AS original_cosponsors FROM legislation_cosponsors lc LEFT JOIN congress_members cm ON lc.bioguide_id = cm.bioguide_id GROUP BY lc.bioguide_id ORDER BY bills_cosponsored DESC LIMIT 100", "name": "most_prolific_cosponsors", "private": false}, {"title": "Bipartisan Bills (Cross-Party Cosponsorship)", "description": "Bills that have cosponsors from both parties, indicating bipartisan support.", "sql": "SELECT l.bill_id, l.congress, UPPER(l.bill_type) || ' ' || l.bill_number AS bill, l.title, l.sponsor_name, l.sponsor_party, COUNT(DISTINCT lc.bioguide_id) AS total_cosponsors, SUM(CASE WHEN lc.party = 'R' THEN 1 ELSE 0 END) AS r_cosponsors, SUM(CASE WHEN lc.party = 'D' THEN 1 ELSE 0 END) AS d_cosponsors FROM legislation l JOIN legislation_cosponsors lc ON l.bill_id = lc.bill_id GROUP BY l.bill_id HAVING r_cosponsors > 0 AND d_cosponsors > 0 ORDER BY total_cosponsors DESC LIMIT 100", "name": "bipartisan_bills", "private": false}, {"title": "Federal Spending by Sub-Agency", "description": "Total grants and contracts broken down by sub-agency within each parent agency, with award counts and totals.", "sql": "SELECT agency, sub_agency, award_category, COUNT(*) AS award_count, CAST(SUM(award_amount) AS INTEGER) AS total_amount, CAST(AVG(award_amount) AS INTEGER) AS avg_amount, MIN(start_date) AS earliest, MAX(start_date) AS latest FROM spending_awards WHERE sub_agency IS NOT NULL AND sub_agency != '' GROUP BY agency, sub_agency, award_category ORDER BY total_amount DESC", "name": "spending_by_sub_agency", "private": false}, {"title": "Spending Trends Over Time", "description": "Federal spending by fiscal year and agency, showing how grant and contract funding changes year to year across all 20 tracked agencies.", "sql": "SELECT fiscal_year, COALESCE(sub_agency, agency) AS agency_name, COUNT(*) AS award_count, CAST(SUM(award_amount) AS INTEGER) AS total_amount, SUM(CASE WHEN award_category = 'grants' THEN 1 ELSE 0 END) AS grants, SUM(CASE WHEN award_category = 'contracts' THEN 1 ELSE 0 END) AS contracts, CAST(SUM(CASE WHEN award_category = 'grants' THEN award_amount ELSE 0 END) AS INTEGER) AS grant_total, CAST(SUM(CASE WHEN award_category = 'contracts' THEN award_amount ELSE 0 END) AS INTEGER) AS contract_total FROM spending_awards WHERE fiscal_year IS NOT NULL GROUP BY fiscal_year, agency_name ORDER BY fiscal_year DESC, total_amount DESC", "name": "spending_trends_over_time", "private": false}, {"title": "Explore: Member Search", "description": "Search Congress members by name with stock trade, speech, and bill counts.", "sql": "SELECT cm.bioguide_id, cm.full_name, cm.party, cm.state, cm.chamber, cm.is_current, cm.first_served, cm.last_served, COALESCE(ms.trade_count, 0) AS trade_count, COALESCE(ms.speech_count, 0) AS speech_count, COALESCE(ms.bills_sponsored, 0) AS bills_sponsored FROM congress_members cm LEFT JOIN member_stats ms ON ms.bioguide_id = cm.bioguide_id WHERE cm.full_name LIKE '%' || :name || '%' ORDER BY cm.is_current DESC, trade_count DESC LIMIT 50", "params": ["name"], "name": "explore_member_search", "private": false}, {"title": "Explore: Member Profile", "description": "Full member profile by bioguide_id with activity counts.", "sql": "SELECT cm.*, COALESCE(ms.trade_count, 0) AS trade_count, COALESCE(ms.speech_count, 0) AS speech_count, COALESCE(ms.bills_sponsored, 0) AS bills_sponsored FROM congress_members cm LEFT JOIN member_stats ms ON ms.bioguide_id = cm.bioguide_id WHERE cm.bioguide_id = :bioguide_id", "params": ["bioguide_id"], "name": "explore_member_profile", "private": false}, {"title": "Explore: Member Stock Trades", "description": "Stock trades for a specific Congress member ordered by date.", "sql": "SELECT transaction_date, ticker, asset_description, transaction_type, amount_range, owner, source_url FROM stock_trades WHERE bioguide_id = :bioguide_id ORDER BY transaction_date DESC LIMIT 200", "params": ["bioguide_id"], "name": "explore_member_trades", "private": false}, {"title": "Explore: Member Floor Speeches", "description": "Congressional Record floor speeches for a specific member.", "sql": "SELECT cr.granule_id, cr.date, cr.title, cr.chamber, SUBSTR(cr.full_text, 1, 300) AS excerpt FROM crec_speakers cs JOIN congressional_record cr ON cr.granule_id = cs.granule_id WHERE cs.bioguide_id = :bioguide_id ORDER BY cr.date DESC LIMIT 100", "params": ["bioguide_id"], "name": "explore_member_speeches", "private": false}, {"title": "Explore: Member Legislation", "description": "Legislation sponsored by a specific Congress member.", "sql": "SELECT bill_id, congress, bill_type, bill_number, title, policy_area, introduced_date, cosponsor_count, latest_action_date, latest_action_text FROM legislation WHERE sponsor_bioguide_id = :bioguide_id ORDER BY introduced_date DESC LIMIT 100", "params": ["bioguide_id"], "name": "explore_member_bills", "private": false}, {"title": "Explore: Docket Detail", "description": "Docket information with document and comment counts.", "sql": "SELECT d.*, (SELECT COUNT(*) FROM comments WHERE docket_id = d.id) AS comment_count, (SELECT COUNT(*) FROM documents WHERE docket_id = d.id) AS doc_count FROM dockets d WHERE d.id = :docket_id", "params": ["docket_id"], "name": "explore_docket_detail", "private": false}, {"title": "Explore: Docket Documents", "description": "Documents in a specific regulatory docket ordered by date.", "sql": "SELECT id, title, document_type, posted_date, comment_start_date, comment_end_date, fr_doc_num FROM documents WHERE docket_id = :docket_id ORDER BY posted_date DESC LIMIT 100", "params": ["docket_id"], "name": "explore_docket_documents", "private": false}, {"title": "Explore: Docket Comment Stats", "description": "Comment statistics for a docket grouped by submitter type.", "sql": "SELECT submitter_type, COUNT(*) AS comment_count, MIN(posted_date) AS first_comment, MAX(posted_date) AS last_comment FROM comments WHERE docket_id = :docket_id GROUP BY submitter_type ORDER BY comment_count DESC", "params": ["docket_id"], "name": "explore_docket_comments", "private": false}, {"title": "Explore: Lobbying Client Search", "description": "Search lobbying clients by name with total spending and firm counts.", "sql": "SELECT client_name, SUM(income_amount) AS total_income, COUNT(DISTINCT registrant_name) AS firm_count, COUNT(*) AS filing_count, COUNT(DISTINCT issue_code) AS issue_count, MIN(filing_year) AS year_from, MAX(filing_year) AS year_to FROM lobbying_activities WHERE client_name LIKE '%' || :name || '%' GROUP BY client_name ORDER BY total_income DESC LIMIT 50", "params": ["name"], "name": "explore_lobbying_client", "private": false}, {"title": "Explore: Client Lobbying Activity", "description": "Lobbying activity records for a specific client.", "sql": "SELECT registrant_name, filing_year, filing_period, issue_code, income_amount, specific_issues, government_entities FROM lobbying_activities WHERE client_name = :client_name ORDER BY filing_year DESC, filing_period DESC LIMIT 100", "params": ["client_name"], "name": "explore_lobbying_activity", "private": false}, {"title": "Explore: Client Lobbyists", "description": "Lobbyists working for a specific client, including covered government positions.", "sql": "SELECT DISTINCT ll.lobbyist_name, ll.covered_position FROM lobbying_lobbyists ll JOIN lobbying_activities la ON la.filing_uuid = ll.filing_uuid WHERE la.client_name = :client_name ORDER BY ll.lobbyist_name LIMIT 100", "params": ["client_name"], "name": "explore_lobbying_lobbyists", "private": false}, {"title": "Explore: Lobbying Issue Areas", "description": "All lobbying issue areas with filing counts and client counts.", "sql": "SELECT issue_code, description, filing_count, client_count, total_income FROM lobbying_issue_summary ORDER BY filing_count DESC", "name": "explore_lobbying_issues", "private": false}, {"title": "Explore: Revolving Door", "description": "Lobbyists with prior government positions (covered positions) and their current clients.", "sql": "SELECT ll.lobbyist_name, ll.covered_position, la.client_name, la.registrant_name, la.filing_year FROM lobbying_lobbyists ll JOIN lobbying_activities la ON la.filing_uuid = ll.filing_uuid WHERE ll.covered_position IS NOT NULL AND ll.covered_position != '' AND ll.covered_position != 'N/A' ORDER BY la.filing_year DESC LIMIT 200", "name": "explore_revolving_door", "private": false}, {"title": "FARA: Foreign Principals by Country", "description": "Foreign principals (governments, entities) grouped by country, ranked by number of active registrants.", "sql": "SELECT country, COUNT(*) AS principals, COUNT(DISTINCT registration_number) AS registrants FROM fara_foreign_principals WHERE country IS NOT NULL GROUP BY country ORDER BY principals DESC LIMIT 50", "name": "fara_by_country", "private": false}, {"title": "FARA: Search Registrants", "description": "Search FARA registrants by name.", "sql": "SELECT registration_number, name, business_name, city, state, registration_date, termination_date FROM fara_registrants WHERE rowid IN (SELECT rowid FROM fara_registrants_fts WHERE fara_registrants_fts MATCH :search) ORDER BY name LIMIT 50", "params": {"search": "consulting"}, "name": "fara_search_registrants", "private": false}, {"title": "FARA: Agents Representing a Country", "description": "All registrants and agents representing foreign principals from a given country.", "sql": "SELECT fp.foreign_principal, fp.country, fp.registrant_name, fp.fp_registration_date FROM fara_foreign_principals fp WHERE UPPER(fp.country) LIKE '%' || UPPER(:country) || '%' ORDER BY fp.fp_registration_date DESC LIMIT 100", "params": {"country": "CHINA"}, "name": "fara_agents_for_country", "private": false}, {"title": "FEC: Top PAC Donors to a Candidate", "description": "Largest PAC/committee contributors to a specific member of Congress.", "sql": "SELECT fc.cmte_id, fc.cmte_name, SUM(fc.transaction_amt) AS total, COUNT(*) AS contributions, MIN(fc.cycle) AS first_cycle, MAX(fc.cycle) AS last_cycle FROM fec_contributions fc JOIN fec_candidate_crosswalk xw ON xw.fec_candidate_id = fc.cand_id WHERE xw.bioguide_id = :bioguide_id GROUP BY fc.cmte_id ORDER BY total DESC LIMIT 50", "params": {"bioguide_id": "P000197"}, "name": "top_pac_donors_to_candidate", "private": false}, {"title": "FEC: Top Employer Aggregates", "description": "Employers whose employees contribute the most to federal candidates (aggregated from individual FEC filings).", "sql": "SELECT employer, donation_count, total_amount, avg_amount, unique_states FROM fec_employer_totals ORDER BY total_amount DESC LIMIT 50", "name": "top_employer_donors", "private": false}, {"title": "FEC: Employer Donations to a Member", "description": "Top employers of individual donors to a specific member of Congress.", "sql": "SELECT employer, SUM(total_amount) AS total, SUM(donation_count) AS contributions FROM fec_employer_to_candidate WHERE bioguide_id = :bioguide_id GROUP BY employer ORDER BY total DESC LIMIT 50", "params": {"bioguide_id": "P000197"}, "name": "employer_donations_to_candidate", "private": false}, {"title": "Votes: Member Voting Record", "description": "Recent roll call votes for a specific member of Congress.", "sql": "SELECT rv.date, rv.chamber, rv.question, rv.result, mv.vote_cast, rv.bill_id FROM member_votes mv JOIN roll_call_votes rv ON rv.congress = mv.congress AND rv.chamber = mv.chamber AND rv.session = mv.session AND rv.roll_call_number = mv.roll_call_number WHERE mv.bioguide_id = :bioguide_id ORDER BY rv.date DESC LIMIT 100", "params": {"bioguide_id": "P000197"}, "name": "voting_record", "private": false}, {"title": "Votes: Most Partisan Roll Calls", "description": "Roll call votes with the biggest party-line splits (most one-sided by party).", "sql": "SELECT rv.date, rv.chamber, rv.question, rv.result, rv.bill_id, rv.yea_count, rv.nay_count FROM roll_call_votes rv WHERE rv.date >= '2023-01-01' ORDER BY rv.date DESC LIMIT 100", "name": "party_line_votes", "private": false}, {"title": "Votes: Recent Roll Calls", "description": "Most recent roll call votes across both chambers.", "sql": "SELECT date, chamber, question, result, bill_id FROM roll_call_votes ORDER BY date DESC LIMIT 50", "name": "recent_votes", "private": false}, {"title": "Nomination Confirmation Rates by Congress", "description": "Confirmation, withdrawal, return, and rejection rates for presidential nominations by Congress.", "sql": "SELECT congress, COUNT(*) AS total, SUM(CASE WHEN status = 'Confirmed' THEN 1 ELSE 0 END) AS confirmed, SUM(CASE WHEN status = 'Withdrawn' THEN 1 ELSE 0 END) AS withdrawn, SUM(CASE WHEN status = 'Returned' THEN 1 ELSE 0 END) AS returned, SUM(CASE WHEN status = 'Rejected' THEN 1 ELSE 0 END) AS rejected, ROUND(100.0 * SUM(CASE WHEN status = 'Confirmed' THEN 1 ELSE 0 END) / COUNT(*), 1) AS confirm_pct FROM nominations GROUP BY congress ORDER BY congress", "name": "nomination_confirmation_rates", "private": false}, {"title": "Most Frequent Hearing Witnesses", "description": "Witnesses who have appeared at the most congressional hearings, with their organization and date range.", "sql": "SELECT hw.name, hw.organization, COUNT(DISTINCT hw.package_id) AS hearings_count, MIN(h.date_issued) AS first_appearance, MAX(h.date_issued) AS last_appearance FROM hearing_witnesses hw JOIN hearings h ON hw.package_id = h.package_id WHERE hw.name != '' GROUP BY hw.name HAVING hearings_count >= 3 ORDER BY hearings_count DESC LIMIT 100", "name": "top_hearing_witnesses", "private": false}, {"title": "Committee Hearing Activity", "description": "Number of hearings held by each chamber and Congress, showing committee activity levels over time.", "sql": "SELECT chamber, congress, COUNT(*) AS hearing_count, MIN(date_issued) AS earliest, MAX(date_issued) AS latest FROM hearings GROUP BY chamber, congress ORDER BY congress DESC, chamber", "name": "hearings_by_committee", "private": false}, {"title": "GAO Reports by Subject Area", "description": "Government Accountability Office reports grouped by subject area, ranked by volume.", "sql": "SELECT subjects, COUNT(*) AS report_count, MIN(date_issued) AS earliest, MAX(date_issued) AS latest FROM gao_reports WHERE subjects IS NOT NULL AND subjects != '' GROUP BY subjects ORDER BY report_count DESC LIMIT 100", "name": "gao_reports_by_subject", "private": false}, {"title": "CRS Reports by Topic", "description": "Congressional Research Service reports grouped by topic, with status breakdown.", "sql": "SELECT topics, COUNT(*) AS report_count, GROUP_CONCAT(DISTINCT status) AS statuses FROM crs_reports WHERE topics IS NOT NULL AND topics != '' GROUP BY topics ORDER BY report_count DESC LIMIT 100", "name": "crs_reports_by_topic", "private": false}, {"title": "Recently Confirmed Nominations", "description": "The most recently confirmed presidential nominations, including vote tallies.", "sql": "SELECT n.citation, n.description, n.organization, n.received_date, n.status, n.vote_yea, n.vote_nay FROM nominations n WHERE n.status = 'Confirmed' ORDER BY n.received_date DESC LIMIT 100", "name": "recent_confirmed_nominations", "private": false}, {"title": "Treaties by Country", "description": "Treaties grouped by country, showing topic areas and date ranges.", "sql": "SELECT countries, COUNT(*) AS treaty_count, GROUP_CONCAT(DISTINCT topic) AS topics, MIN(transmitted_date) AS earliest, MAX(transmitted_date) AS latest FROM treaties WHERE countries IS NOT NULL GROUP BY countries ORDER BY treaty_count DESC", "name": "treaties_by_country", "private": false}, {"title": "Hearing Witnesses Who Also Lobby Congress", "description": "Organizations that testified as expert witnesses at congressional hearings while also paying lobbyists. Shows the intersection of public testimony and private influence.", "sql": "SELECT * FROM witness_lobby_overlap ORDER BY hearings_testified DESC", "name": "witness_lobbyist_overlap", "private": false}, {"title": "Organizations That Comment on Regulations AND Lobby", "description": "Organizations that submit public comments on regulations while also paying lobbyists \u2014 showing dual-channel influence on the same regulatory process.", "sql": "SELECT * FROM commenter_lobby_overlap ORDER BY comments_filed DESC", "name": "commenter_lobbyist_overlap", "private": false}, {"title": "Stock Trading by Committee Members", "description": "Members of Congress trading stocks while serving on committees that may oversee related industries. Shows trade counts, tickers, and committee roles.", "sql": "SELECT cm.full_name, cm.party, cm.state, c.name AS committee_name, cmem.title AS committee_role, COUNT(DISTINCT st.id) AS total_trades, COUNT(DISTINCT st.ticker) AS unique_tickers, SUM(CASE WHEN st.transaction_type LIKE '%Purchase%' THEN 1 ELSE 0 END) AS purchases, SUM(CASE WHEN st.transaction_type LIKE '%Sale%' THEN 1 ELSE 0 END) AS sales, MIN(st.transaction_date) AS first_trade, MAX(st.transaction_date) AS last_trade FROM committee_memberships cmem JOIN committees c ON cmem.committee_id = c.committee_id JOIN congress_members cm ON cmem.bioguide_id = cm.bioguide_id JOIN stock_trades st ON cmem.bioguide_id = st.bioguide_id WHERE st.ticker IS NOT NULL AND st.ticker != '' GROUP BY cmem.bioguide_id, cmem.committee_id HAVING total_trades >= 10 ORDER BY total_trades DESC", "name": "committee_trading_activity", "private": false}, {"title": "Top Campaign Donors to Committee Members", "description": "Largest campaign contributions to current committee members, showing which PACs and organizations fund members of specific committees.", "sql": "SELECT committee_name, member_name, party, state, donor_committee, total_donated, contribution_count FROM committee_donor_summary ORDER BY total_donated DESC LIMIT 200", "name": "top_donors_to_committees", "private": false}, {"title": "Floor Speeches Within 7 Days of Stock Trades", "description": "Members who gave floor speeches mentioning specific bills within 7 days of making stock trades \u2014 a potential indicator of trading on legislative knowledge.", "sql": "SELECT full_name, party, state, trade_date, ticker, asset_description, transaction_type, amount_range, speech_date, speech_title, days_apart FROM speeches_near_trades ORDER BY full_name, trade_date DESC LIMIT 500", "name": "speeches_near_trades", "private": false}, {"title": "Most Lobbied Bills", "description": "Bills referenced most often in lobbying disclosure filings, showing which legislation attracts the most lobbying activity.", "sql": "SELECT bill_id, bill_title, policy_area, lobby_filings, unique_clients, issue_codes FROM lobbying_bill_summary ORDER BY lobby_filings DESC LIMIT 200", "name": "most_lobbied_bills", "private": false}, {"title": "Stock Trades in Committee-Regulated Sectors", "description": "Members of Congress trading stocks that fall within the sectors regulated by their committee assignments \u2014 potential conflicts of interest.", "sql": "SELECT full_name, party, state, committee_name, jurisdiction_desc, jurisdiction_tier, sic_code, sic_description, transaction_date, ticker, asset_description, transaction_type, amount_range FROM committee_trade_conflicts ORDER BY full_name, transaction_date DESC LIMIT 500", "name": "committee_trade_conflicts", "private": false}, {"title": "The Revolving Door: Former Members Who Became Lobbyists", "description": "Former members of Congress who registered as lobbyists, matched via name and covered-position disclosures in lobbying filings. Shows filing counts, clients, firms, and years active.", "sql": "SELECT full_name, party, state, congress_chamber, lobbying_filing_count, client_count, firm_count, first_lobbying_year, last_lobbying_year, total_reported_income, lobbying_firms, covered_position_sample FROM revolving_door ORDER BY lobbying_filing_count DESC LIMIT 300", "name": "revolving_door", "private": false}, {"title": "Committee Jurisdiction \u2192 Regulated Sectors", "description": "Reference table mapping each congressional committee to the industries, tickers, and GICS/SIC sectors under its jurisdiction.", "sql": "SELECT committee_id, committee_name, chamber, regulated_sectors, example_tickers, gics_sectors, sic_ranges FROM committee_sectors ORDER BY chamber, committee_name", "name": "committee_sector_map", "private": false}, {"title": "Lobbying Issue Codes \u2192 Agencies & Committees", "description": "Reference table mapping each lobbying disclosure issue code to the federal agencies and congressional committees with jurisdiction.", "sql": "SELECT issue_code, issue_description, primary_agencies, regs_gov_agency_prefixes, related_committee_ids, notes FROM lobbying_issue_agencies ORDER BY issue_code", "name": "lobbying_issue_agency_map", "private": false}], "allow_execute_sql": true, "query_ms": 8404.18980299728, "source": "Federal Register API & Regulations.gov API", "source_url": "https://www.federalregister.gov/developers/api/v1", "license": "Public Domain (U.S. Government data)", "license_url": "https://www.regulations.gov/faq"}