benroodman commited on
Commit
969542b
·
verified ·
1 Parent(s): 9fbc9fa

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -7
README.md CHANGED
@@ -184,29 +184,29 @@ size_categories:
184
 
185
  ---
186
 
187
- # HillStreet: A Relational Dataset for Evaluating Information Channels in Congressional Trading
188
 
189
  **HillStreet** is a large-scale, longitudinal dataset and multimodal dynamic graph formalizing the intersection of Capitol Hill and Wall Street. It spans **13.5 years** of mandatory STOCK Act disclosures (July 2012–December 2025), unifying the congressional trading ecosystem into a single, machine-learning-ready framework.
190
 
191
- ## Dataset Summary
192
  The dataset represents the relationship between **1,137 legislators** and **6,825 companies**. By framing congressional trading as a **dynamic bipartite graph**, HillStreet allows researchers to treat trade signal validation as an edge classification task.
193
 
194
  - **Nodes:** Legislators (session-specific) and Publicly Traded Companies.
195
  - **Target Edges:** Individual stock trades.
196
  - **Structural Edges:** Lobbying records, campaign finance (PAC/527) contributions, and geographical/industrial-constituency alignments.
197
 
198
- ## Dataset Structure
199
 
200
  HillStreet is divided into pre-built graph objects for deep learning and a relational tabular database accessed via Hugging Face configurations.
201
 
202
- ### 1. Dynamic Graph Objects (`.pt` & `.npy`)
203
  For immediate use in Graph Neural Networks (GNNs) and Temporal Graph Networks (TGNs), the core of HillStreet consists of annual **PyTorch Geometric Temporal** objects.
204
  - **Graph Files:** `hillstreet_temporal_graph_YEAR.pt`
205
  - **Temporal Integrity:** Every node feature and edge is instantiated based on its **public disclosure date**, not its reference date, ensuring a look-ahead-bias-free environment for backtesting.
206
  - **Node Features:** Includes rolling DW-NOMINATE scores, SEC fiscal facts, and Census district employment statistics.
207
  - **ID Mappings:** `src_id_map.npy` (Legislator Bioguide IDs) and `dst_id_map.npy` (Company Tickers).
208
 
209
- ### 2. Relational Tables (Hugging Face Configs)
210
  For researchers using flat-feature models (XGBoost, LightGBM) or custom graph builders, the structural connective tissue is provided as multiple dataset configurations. You can load these individually using the Hugging Face `datasets` library (e.g., `load_dataset("benroodman/HillStreet", "processed_events_lobbying")`).
211
 
212
  **Processed Edge Tables:**
@@ -221,11 +221,11 @@ The raw, underlying tables are also available as distinct configurations for cus
221
  - **Corporate & Industry:** `raw_sec_financials`, `raw_naics_*` crosswalks, and `raw_district_industries_*` configs.
222
  - **Lobbying:** `raw_lobbyview_*` configs.
223
 
224
- ## Feature Engineering & Normalization
225
  To stabilize variance in graph training, continuous features are transformed using signed log-scaling:
226
  $$x' = \text{sign}(x) \times \log(1 + |x|)$$
227
 
228
- ## Intended Use
229
  - **Trade Signal Validation:** Determining if a trade constitutes a meaningful price signal based on political context.
230
  - **Graph Representation Learning:** A benchmark for GNNs and TGNs.
231
 
 
184
 
185
  ---
186
 
187
+ ## HillStreet: A Relational Dataset for Evaluating Information Channels in Congressional Trading
188
 
189
  **HillStreet** is a large-scale, longitudinal dataset and multimodal dynamic graph formalizing the intersection of Capitol Hill and Wall Street. It spans **13.5 years** of mandatory STOCK Act disclosures (July 2012–December 2025), unifying the congressional trading ecosystem into a single, machine-learning-ready framework.
190
 
191
+ ### Dataset Summary
192
  The dataset represents the relationship between **1,137 legislators** and **6,825 companies**. By framing congressional trading as a **dynamic bipartite graph**, HillStreet allows researchers to treat trade signal validation as an edge classification task.
193
 
194
  - **Nodes:** Legislators (session-specific) and Publicly Traded Companies.
195
  - **Target Edges:** Individual stock trades.
196
  - **Structural Edges:** Lobbying records, campaign finance (PAC/527) contributions, and geographical/industrial-constituency alignments.
197
 
198
+ ### Dataset Structure
199
 
200
  HillStreet is divided into pre-built graph objects for deep learning and a relational tabular database accessed via Hugging Face configurations.
201
 
202
+ #### 1. Dynamic Graph Objects (`.pt` & `.npy`)
203
  For immediate use in Graph Neural Networks (GNNs) and Temporal Graph Networks (TGNs), the core of HillStreet consists of annual **PyTorch Geometric Temporal** objects.
204
  - **Graph Files:** `hillstreet_temporal_graph_YEAR.pt`
205
  - **Temporal Integrity:** Every node feature and edge is instantiated based on its **public disclosure date**, not its reference date, ensuring a look-ahead-bias-free environment for backtesting.
206
  - **Node Features:** Includes rolling DW-NOMINATE scores, SEC fiscal facts, and Census district employment statistics.
207
  - **ID Mappings:** `src_id_map.npy` (Legislator Bioguide IDs) and `dst_id_map.npy` (Company Tickers).
208
 
209
+ #### 2. Relational Tables (Hugging Face Configs)
210
  For researchers using flat-feature models (XGBoost, LightGBM) or custom graph builders, the structural connective tissue is provided as multiple dataset configurations. You can load these individually using the Hugging Face `datasets` library (e.g., `load_dataset("benroodman/HillStreet", "processed_events_lobbying")`).
211
 
212
  **Processed Edge Tables:**
 
221
  - **Corporate & Industry:** `raw_sec_financials`, `raw_naics_*` crosswalks, and `raw_district_industries_*` configs.
222
  - **Lobbying:** `raw_lobbyview_*` configs.
223
 
224
+ ### Feature Engineering & Normalization
225
  To stabilize variance in graph training, continuous features are transformed using signed log-scaling:
226
  $$x' = \text{sign}(x) \times \log(1 + |x|)$$
227
 
228
+ ### Intended Use
229
  - **Trade Signal Validation:** Determining if a trade constitutes a meaningful price signal based on political context.
230
  - **Graph Representation Learning:** A benchmark for GNNs and TGNs.
231