Add government_contracts.parquet and README.md
Browse files- README.md +216 -0
- government_contracts.parquet +3 -0
README.md
ADDED
@@ -0,0 +1,216 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
icon: file-signature
|
3 |
+
description: >-
|
4 |
+
The government spending data provides comprehensive information about
|
5 |
+
government contracts, transactions, product specifications, entity details,
|
6 |
+
locations, competition, and compensation.
|
7 |
+
---
|
8 |
+
|
9 |
+
# Government Contracts
|
10 |
+
|
11 |
+
> **Data Notice**: This dataset provides academic research access with a 6-month data lag.
|
12 |
+
> For real-time data access, please visit [sov.ai](https://sov.ai) to subscribe.
|
13 |
+
> For market insights and additional subscription options, check out our newsletter at [blog.sov.ai](https://blog.sov.ai).
|
14 |
+
|
15 |
+
```python
|
16 |
+
from datasets import load_dataset
|
17 |
+
df_contracts = load_dataset("sovai/government_contracts", split="train").to_pandas().set_index(["contract_id","date"])
|
18 |
+
```
|
19 |
+
|
20 |
+
|
21 |
+
|
22 |
+
Data arrives late Friday night 11 pm - 12 am after market close US-EST time.
|
23 |
+
|
24 |
+
|
25 |
+
`Tutorials` are the best documentation — [<mark style="color:blue;">`Government Contracts Tutorial`</mark>](https://colab.research.google.com/github/sovai-research/sovai-public/blob/main/notebooks/datasets/Government%20Spending.ipynb)
|
26 |
+
|
27 |
+
<table data-column-title-hidden data-view="cards"><thead><tr><th>Category</th><th>Details</th></tr></thead><tbody><tr><td><strong>Input Datasets</strong></td><td>Governmental Filings</td></tr><tr><td><strong>Models Used</strong></td><td>Parsing, Regex, Entity Recognition</td></tr><tr><td><strong>Model Outputs</strong></td><td>Standardized Contracts</td></tr></tbody></table>
|
28 |
+
|
29 |
+
## Description
|
30 |
+
|
31 |
+
This dataset provides comprehensive information about government contracts, including details on transactions, product specifications, entities, locations, competition, and compensation.
|
32 |
+
|
33 |
+
It offers investors valuable insights into companies' relationships with government agencies, allowing for risk assessment, comparative analysis, and informed decision-making in the context of government spending and contracts.
|
34 |
+
|
35 |
+
## Data Access
|
36 |
+
|
37 |
+
#### Contracts Data
|
38 |
+
|
39 |
+
Data about contract award details, potential total value, federal action obligations, performance duration, and recipient details.
|
40 |
+
|
41 |
+
```python
|
42 |
+
import sovai as sov
|
43 |
+
df_contracts = sov.data("spending/contracts", tickers=["MSFT","TSLA"])
|
44 |
+
```
|
45 |
+
|
46 |
+
<figure><img src="https://raw.githubusercontent.com/sovai-research/sovai-documentation/main/.gitbook/assets/government_contracts_1 (2).png" alt=""><figcaption></figcaption></figure>
|
47 |
+
|
48 |
+
#### Transactions Data:
|
49 |
+
|
50 |
+
The data includes information about individual transactions related to contracts, such as federal action obligations, transaction descriptions, and last modified dates.
|
51 |
+
|
52 |
+
```python
|
53 |
+
import sovai as sov
|
54 |
+
df_transactions = sov.data("spending/transactions", tickers=["MSFT","TSLA"])
|
55 |
+
```
|
56 |
+
|
57 |
+
<figure><img src="https://raw.githubusercontent.com/sovai-research/sovai-documentation/main/.gitbook/assets/government_contracts_2 (2).png" alt=""><figcaption></figcaption></figure>
|
58 |
+
|
59 |
+
#### Product Specifications
|
60 |
+
|
61 |
+
Data about the products or services associated with contracts, such as product or service code descriptions, NAICS codes and descriptions, country of origin, and sustainability information.
|
62 |
+
|
63 |
+
```python
|
64 |
+
import sovai as sov
|
65 |
+
df_product = sov.data("spending/product", tickers=["MSFT","TSLA"])
|
66 |
+
```
|
67 |
+
|
68 |
+
<figure><img src="https://raw.githubusercontent.com/sovai-research/sovai-documentation/main/.gitbook/assets/government_contracts_3 (2).png" alt=""><figcaption></figcaption></figure>
|
69 |
+
|
70 |
+
#### Entity Specification
|
71 |
+
|
72 |
+
Data about the entities involved in contracts, such as recipient unique identifiers, recipient names, parent company details, and matching information with other datasets like Bloomberg.
|
73 |
+
|
74 |
+
```python
|
75 |
+
import sovai as sov
|
76 |
+
df_entities = sov.data("spending/entities", tickers=["MSFT","TSLA"])
|
77 |
+
```
|
78 |
+
|
79 |
+
<figure><img src="https://raw.githubusercontent.com/sovai-research/sovai-documentation/main/.gitbook/assets/government_contracts_4 (2).png" alt=""><figcaption></figcaption></figure>
|
80 |
+
|
81 |
+
#### Location Data
|
82 |
+
|
83 |
+
Data about the geographical locations associated with contracts, such as recipient country, address, city, county, state, and zip code, as well as the primary place of performance details.
|
84 |
+
|
85 |
+
```python
|
86 |
+
import sovai as sov
|
87 |
+
df_location = sov.data("spending/location", tickers=["MSFT","TSLA"])
|
88 |
+
```
|
89 |
+
|
90 |
+
<figure><img src="https://raw.githubusercontent.com/sovai-research/sovai-documentation/main/.gitbook/assets/government_contracts_5.png" alt=""><figcaption></figcaption></figure>
|
91 |
+
|
92 |
+
#### Competition Data:
|
93 |
+
|
94 |
+
Data related to the competition aspect of contracts, such as the extent of competition, number of offers received, and solicitation procedures.
|
95 |
+
|
96 |
+
```python
|
97 |
+
import sovai as sov
|
98 |
+
df_competition = sov.data("spending/competition", tickers=["MSFT","TSLA"])
|
99 |
+
```
|
100 |
+
|
101 |
+
<figure><img src="https://raw.githubusercontent.com/sovai-research/sovai-documentation/main/.gitbook/assets/government_contracts_5.png" alt=""><figcaption></figcaption></figure>
|
102 |
+
|
103 |
+
#### Compensation Date
|
104 |
+
|
105 |
+
Data about the compensation of highly compensated officers in recipient organization, only published voluntarily by a few companies.
|
106 |
+
|
107 |
+
```python
|
108 |
+
import sovai as sov
|
109 |
+
df_compensation = sov.data("spending/compensation")
|
110 |
+
```
|
111 |
+
|
112 |
+
<figure><img src="https://raw.githubusercontent.com/sovai-research/sovai-documentation/main/.gitbook/assets/government_contracts_5.png" alt=""><figcaption></figcaption></figure>
|
113 |
+
|
114 |
+
## Data Dictionaries
|
115 |
+
|
116 |
+
### Government Contracts
|
117 |
+
|
118 |
+
<table><thead><tr><th width="258">Column Name</th><th width="268">Description</th><th>Example</th></tr></thead><tbody><tr><td>ticker</td><td>Stock ticker symbol identifying the company.</td><td>TSLA</td></tr><tr><td>date</td><td>Date of the record.</td><td>2023-10-02</td></tr><tr><td>contract_award_unique_key</td><td>Unique key identifying the prime award.</td><td>CONT_AWD_SPE7LX24F0359_9700_SPE7LX22D0144_9700</td></tr><tr><td>potential_total_value_of_award</td><td>Total amount that could be obligated on a contract if all options are exercised.</td><td>8526.629883</td></tr><tr><td>total_federal_action_obligation</td><td>Total value of federal obligations for the contract.</td><td>8526.629883</td></tr><tr><td>obligation_value_difference</td><td>Difference between the total federal action obligation and the potential total value of the award.</td><td>0.0</td></tr><tr><td>performance_duration</td><td>Duration of the contract's performance period in days.</td><td>30.0</td></tr><tr><td>awards_past_year</td><td>Count of awards per recipient name in the past year.</td><td>7.0</td></tr><tr><td>transactions_per_award</td><td>Count of unique transactions per award.</td><td>1.0</td></tr><tr><td>prime_award_base_transaction_description</td><td>Description of the transaction or award at the prime award level.</td><td>8510186794!BATTERY POWER SUPPLY</td></tr><tr><td>period_of_performance_start_date</td><td>Agreed start date for the contract's requirements.</td><td>2023-10-02</td></tr><tr><td>period_of_performance_current_end_date</td><td>Scheduled completion date for the contract.</td><td>2023-11-01</td></tr><tr><td>period_of_performance_potential_end_date</td><td>Date when awardee effort is completed if all potential options were exercised.</td><td>2023-11-01</td></tr><tr><td>extension_days_available</td><td>Number of days available for extension.</td><td>0.0</td></tr><tr><td>time_to_start_performance</td><td>Number of days between the action date and the period of performance start date.</td><td>0.0</td></tr><tr><td>modification_number</td><td>Identifier of an action indicating the specific change to the initial award.</td><td>0</td></tr><tr><td>last_modified_date</td><td>The date capturing the change or modification.</td><td>2023-10-02</td></tr><tr><td>recipient_name</td><td>The name of the awardee or recipient associated with the unique identifier.</td><td>TESLA INDUSTRIES, INC.</td></tr><tr><td>recipient_uei</td><td>Unique Entity Identifier of the recipient organization.</td><td>WK5RYJL58YY9</td></tr></tbody></table>
|
119 |
+
|
120 |
+
### Government Transactions
|
121 |
+
|
122 |
+
<table><thead><tr><th>Column Name</th><th width="265">Description</th><th>Example</th></tr></thead><tbody><tr><td>contract_transaction_unique_key</td><td>A system-generated key used to uniquely identify each contract transaction record. It's a concatenation of various elements like agencyID, PIID, etc., with '<em>none</em>' used for blank fields.</td><td>9700_9700_8Z03_0_DAAB1502D1002_0</td></tr><tr><td>federal_action_obligation</td><td>Amount of the Federal government’s obligation, de-obligation, or liability, in dollars, for a transaction.</td><td>248398.0</td></tr><tr><td>transaction_description</td><td>Description of the transaction or award.</td><td>CLIN 0129AA AST - MESSAGING TECHNOLOGIES</td></tr><tr><td>contract_award_unique_key</td><td>Unique key to identify the prime award. It's a concatenation of elements such as PIID, agencyID, ParentAwardId, and Referenced IDV Agency Identifier, with '<em>none</em>' for blank fields.</td><td>CONT_AWD_8Z03_9700_DAAB1502D1002_9700</td></tr><tr><td>last_modified_date</td><td>Date when the transaction record was last modified.</td><td>2019-10-16T00:00:00</td></tr></tbody></table>
|
123 |
+
|
124 |
+
###
|
125 |
+
|
126 |
+
### Product Specifications
|
127 |
+
|
128 |
+
| Column Name | Description | Example |
|
129 |
+
| ----------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
|
130 |
+
| ticker | Stock ticker symbol identifying the company. | TSLA |
|
131 |
+
| contract\_award\_unique\_key | Unique key to identify the prime award, consisting of concatenation of elements like PIID, agencyID, ParentAwardId, and Referenced IDV Agency Identifier. | CONT\_AWD\_SPE7LX20F345T\_9700\_SPE7LX18D0042\_9700 |
|
132 |
+
| product\_or\_service\_code\_description | Description explaining the meaning of the product or service code. | CONVERTERS, ELECTRICAL, NONROTATING |
|
133 |
+
| naics\_code | North American Industrial Classification System Code assigned to the solicitation and resulting award. | 335999.0 |
|
134 |
+
| naics\_description | The title associated with the NAICS Code. | ALL OTHER MISCELLANEOUS ELECTRICAL EQUIPMENT AND COMPONENT MFG |
|
135 |
+
| country\_of\_product\_or\_service\_origin | Country of origin of the product or service. | UNITED STATES |
|
136 |
+
| place\_of\_manufacture | Description explaining the place of manufacture. | MFG IN U.S. |
|
137 |
+
| epa\_designated\_product | Description explaining the EPA-Designated Product Field. | NOT REQUIRED |
|
138 |
+
| recovered\_materials\_sustainability | Description explaining the Recovered Materials/Sustainability Field. | NO CLAUSES INCLUDED AND NO SUSTAINABILITY INCLUDED |
|
139 |
+
|
140 |
+
### Entity Specification
|
141 |
+
|
142 |
+
| Column Name | Description | Example |
|
143 |
+
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------- |
|
144 |
+
| ticker | Stock ticker symbol identifying the company. | TSLA |
|
145 |
+
| recipient\_uei | Unique Entity Identifier (UEI) of the recipient organization, used in financial and business reporting processes. | WK5RYJL58YY9 |
|
146 |
+
| recipient\_parent\_uei | Unique Entity Identifier (UEI) of the highest-level parent organization of the recipient. | WK5RYJL58YY9 |
|
147 |
+
| recipient\_name | The name of the awardee or recipient that relates to the unique identifier, as filed in formation documents with individual states. | TESLA INDUSTRIES, INC. |
|
148 |
+
| recipient\_parent\_name | The name of the ultimate parent of the awardee or recipient. | TESLA INDUSTRIES, INC. |
|
149 |
+
| names | A name associated with the recipient entity, derived during data processing and matching. | TESLA INDUSTRIES, INC. |
|
150 |
+
| similarity | A score representing the similarity between the 'names' field and a corresponding entity in another dataset, used for data matching. | 0.9562 |
|
151 |
+
| bloomberg\_share\_id | Bloomberg Share ID, a unique identifier for a share class at the Bloomberg level, obtained through data matching with Bloomberg's dataset. | BBG001SQKGD7 |
|
152 |
+
|
153 |
+
For the misstatements, all of the variables have been changed into negative indicators, so that when the company overreports the financial health and corrects it later on, that is a negative sign.
|
154 |
+
|
155 |
+
### Location Dictionary
|
156 |
+
|
157 |
+
| Column Name | Description | Example |
|
158 |
+
| ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------ |
|
159 |
+
| ticker | Stock ticker symbol identifying the company. | TSLA |
|
160 |
+
| contract\_award\_unique\_key | Unique key to identify the prime award, a concatenation of PIID, agencyID, ParentAwardId, and Referenced IDV Agency Identifier. | CONT\_AWD\_0542\_9700\_SPM7MX13D0089\_9700 |
|
161 |
+
| recipient\_country\_name | The name corresponding to the country code of the awardee or recipient. | UNITED STATES |
|
162 |
+
| recipient\_address\_line\_1 | First line of the awardee or recipient’s legal business address. | 109 CENTERPOINT BLVD |
|
163 |
+
| recipient\_city\_name | Name of the city in which the awardee or recipient’s legal business address is located. | NEW CASTLE |
|
164 |
+
| recipient\_county\_name | Name of the county in which the awardee or recipient’s legal business address is located. | NEW CASTLE |
|
165 |
+
| recipient\_state\_code | United States Postal Service two-letter abbreviation for the state or territory in which the awardee or recipient’s legal business address is located. | DE |
|
166 |
+
| recipient\_state\_name | The name or abbreviation for the state, territory, or province in which the award recipient's legal business address is located. | DELAWARE |
|
167 |
+
| recipient\_zip\_4\_code | USPS zoning code associated with the awardee or recipient’s legal business address for domestic recipients only. | 197204180 |
|
168 |
+
| primary\_place\_of\_performance\_country\_code | Country code where the predominant performance of the award will be accomplished. | USA |
|
169 |
+
| primary\_place\_of\_performance\_country\_name | Name of the country where the predominant performance of the award will be accomplished. | UNITED STATES |
|
170 |
+
| primary\_place\_of\_performance\_city\_name | The name of the city where the predominant performance of the award will be accomplished. | NEW CASTLE |
|
171 |
+
| primary\_place\_of\_performance\_county\_name | The name of the county where the predominant performance of the award will be accomplished. | NEW CASTLE |
|
172 |
+
| primary\_place\_of\_performance\_state\_code | USPS two-letter abbreviation for the state or territory indicating where the predominant performance of the award will be accomplished. | DE |
|
173 |
+
| primary\_place\_of\_performance\_state\_name | The name of the state or territory where the predominant performance of the award will be accomplished. | DELAWARE |
|
174 |
+
| primary\_place\_of\_performance\_zip\_4 | ZIP code identifying where the predominant performance of the award will be accomplished. | 197204180 |
|
175 |
+
| same\_country | Is the place of performance the same as the location of the recepient | 1 |
|
176 |
+
| same\_state | Is the place of performance the same as the location of the recepient | 1 |
|
177 |
+
|
178 |
+
### Competition Dictionary
|
179 |
+
|
180 |
+
| Column Name | Description | Example |
|
181 |
+
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------- |
|
182 |
+
| ticker | Stock ticker symbol identifying the company. | TSLA |
|
183 |
+
| contract\_award\_unique\_key | Unique key to identify the prime award, a concatenation of PIID, agencyID, ParentAwardId, and Referenced IDV Agency Identifier. | CONT\_AWD\_0162\_9700\_SPM43003D4053\_9700 |
|
184 |
+
| extent\_competed | Description explaining the meaning of the code provided in the Extent Competed Field. | FULL AND OPEN COMPETITION AFTER EXCLUSION OF S... |
|
185 |
+
| number\_of\_offers\_received | The number of actual offers/bids received in response to the solicitation. | 2.0 |
|
186 |
+
| solicitation\_procedures | Description explaining the meaning of the code provided in the Solicitation Procedures Field. | ONLY ONE SOURCE |
|
187 |
+
|
188 |
+
### Compensation
|
189 |
+
|
190 |
+
| Column Name | Description | Example |
|
191 |
+
| --------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ |
|
192 |
+
| ticker | Stock ticker symbol identifying the company. | ACCA |
|
193 |
+
| date | Date of the record. | 2018-10-31 |
|
194 |
+
| recipient\_uei | Unique Entity Identifier (UEI) of the recipient organization, used in financial and business reporting processes. | K5TBNBLVG1F8 |
|
195 |
+
| recipient\_name | The name of the awardee or recipient that relates to the unique identifier, as filed in formation documents with individual states. | ID TECHNOLOGIES, LLC |
|
196 |
+
| recipient\_parent\_name | The name of the ultimate parent of the awardee or recipient. | ACACIA INVESTMENT HOLDINGS LLC |
|
197 |
+
| highly\_compensated\_officer\_1\_name | The name of an individual identified as one of the five most highly compensated "Executives." | CHRISTOPHER OLIVER |
|
198 |
+
| highly\_compensated\_officer\_1\_amount | The cash and noncash dollar value earned by the first of the five most highly compensated “Executives” during the awardee's preceding fiscal year. | 485518.12500 |
|
199 |
+
| highly\_compensated\_officer\_2\_name | The name of an individual identified as the second of the five most highly compensated "Executives." | DYLAN CONNER |
|
200 |
+
| highly\_compensated\_officer\_2\_amount | The cash and noncash dollar value earned by the second of the five most highly compensated “Executives” during the awardee's preceding fiscal year. | 820596.2500 |
|
201 |
+
| highly\_compensated\_officer\_3\_name | The name of an individual identified as the third of the five most highly compensated "Executives." | GAVIN LONG |
|
202 |
+
| highly\_compensated\_officer\_3\_amount | The cash and noncash dollar value earned by the third of the five most highly compensated “Executives” during the awardee's preceding fiscal year. | 519297.12500 |
|
203 |
+
| highly\_compensated\_officer\_4\_name | The name of an individual identified as the fourth of the five most highly compensated "Executives." | JEFFERY PANEBIANCO |
|
204 |
+
| highly\_compensated\_officer\_4\_amount | The cash and noncash dollar value earned by the fourth of the five most highly compensated “Executives” during the awardee's preceding fiscal year. | 818678.1250 |
|
205 |
+
| highly\_compensated\_officer\_5\_name | The name of an individual identified as the fifth of the five most highly compensated "Executives." | THOMAS BRADY |
|
206 |
+
| highly\_compensated\_officer\_5\_amount | The cash and noncash dollar value earned by the fifth of the five most highly compensated “Executives” during the awardee's preceding fiscal year. | 365064.81250 |
|
207 |
+
|
208 |
+
## Use Cases
|
209 |
+
|
210 |
+
Understanding these tables is essential for investors:
|
211 |
+
|
212 |
+
* **Risk Assessment**: By analyzing the Misstatement and its industry-adjusted tables, investors can gauge the risk associated with a company's financial reporting.
|
213 |
+
* **Comparative Analysis**: The industry-adjusted tables enable investors to compare companies within the same sector on a like-for-like basis, making the analysis more relevant and accurate.
|
214 |
+
* **Informed Decision-Making**: Comprehensive data covering raw financials and industry-adjusted scores empowers investors to make well-informed investment decisions.
|
215 |
+
|
216 |
+
***
|
government_contracts.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dc521fdb960562fae333c6ba878c2b868f01600affe46ff4c50e842e8c33061b
|
3 |
+
size 588500463
|