pharmaobservatory 0.1.11 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +17 -6
- data/docs/CompaniesApi.md +332 -4
- data/docs/CompaniesRecordAttributes.md +2 -0
- data/docs/CompaniesRow.md +1 -1
- data/docs/CompanyAssetsRow.md +5 -1
- data/docs/CompanyCompetitorsRow.md +8 -2
- data/docs/CompanyCosponsorsResponse.md +58 -0
- data/docs/CompanyCosponsorsRow.md +58 -0
- data/docs/CompanyPeerProfileResponse.md +58 -0
- data/docs/CompanyPeerProfileRow.md +60 -0
- data/docs/CompanyPeersResponse.md +58 -0
- data/docs/CompanyPeersRow.md +54 -0
- data/docs/CompanyProgramsRow.md +4 -0
- data/docs/InvestorPortfolioRow.md +41 -11
- data/docs/InvestorsApi.md +4 -4
- data/docs/InvestorsRow.md +3 -1
- data/docs/LegalEntitiesApi.md +80 -0
- data/docs/ProgramLicensingCandidatesRow.md +4 -0
- data/lib/pharmaobservatory/api/companies_api.rb +366 -2
- data/lib/pharmaobservatory/api/investors_api.rb +2 -2
- data/lib/pharmaobservatory/api/legal_entities_api.rb +84 -0
- data/lib/pharmaobservatory/models/companies_record_attributes.rb +10 -1
- data/lib/pharmaobservatory/models/companies_row.rb +1 -1
- data/lib/pharmaobservatory/models/company_assets_row.rb +27 -5
- data/lib/pharmaobservatory/models/company_competitors_row.rb +40 -7
- data/lib/pharmaobservatory/models/company_cosponsors_response.rb +478 -0
- data/lib/pharmaobservatory/models/company_cosponsors_row.rb +445 -0
- data/lib/pharmaobservatory/models/company_peer_profile_response.rb +478 -0
- data/lib/pharmaobservatory/models/company_peer_profile_row.rb +454 -0
- data/lib/pharmaobservatory/models/company_peers_response.rb +478 -0
- data/lib/pharmaobservatory/models/company_peers_row.rb +421 -0
- data/lib/pharmaobservatory/models/company_programs_row.rb +23 -1
- data/lib/pharmaobservatory/models/investor_portfolio_row.rb +180 -13
- data/lib/pharmaobservatory/models/investors_row.rb +13 -2
- data/lib/pharmaobservatory/models/program_licensing_candidates_row.rb +23 -1
- data/lib/pharmaobservatory/version.rb +1 -1
- data/lib/pharmaobservatory.rb +6 -0
- metadata +14 -2
|
@@ -14,44 +14,89 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PharmaObservatory
|
|
17
|
-
# One row of the investor_portfolio dataset: one row per investor and
|
|
17
|
+
# One row of the investor_portfolio dataset: one row per investor and company key (the organization id where the company resolves, else the SEC Central Index Key, else the name as printed on the investor's page). A grouped request returns the group columns and the measures instead, as additional properties.
|
|
18
18
|
class InvestorPortfolioRow
|
|
19
19
|
# The investor key.
|
|
20
20
|
attr_accessor :investor_id
|
|
21
21
|
|
|
22
|
-
# The
|
|
22
|
+
# The company's key on this dataset: its organization id where it resolves, else the SEC CIK, else investor_site: followed by the normalized name as printed on the investor's page.
|
|
23
|
+
attr_accessor :company_key
|
|
24
|
+
|
|
25
|
+
# What company_key is: org, cik or investor_site.
|
|
26
|
+
attr_accessor :company_key_kind
|
|
27
|
+
|
|
28
|
+
# Where the row comes from: sec_edgar (S-1 and 424B holder tables), investor_site (the investor's own portfolio page), or both.
|
|
29
|
+
attr_accessor :sources
|
|
30
|
+
|
|
31
|
+
# The issuer's SEC Central Index Key (CIK), ten digits. Null for a row only the investor's website names.
|
|
23
32
|
attr_accessor :issuer_cik
|
|
24
33
|
|
|
25
|
-
# The
|
|
34
|
+
# The company's name: its organization record's name, else the SEC company name, else the name as printed on the investor's page.
|
|
26
35
|
attr_accessor :issuer_name
|
|
27
36
|
|
|
28
|
-
#
|
|
37
|
+
# The company's name as printed on the investor's own portfolio page. Null for a row only SEC filings name.
|
|
38
|
+
attr_accessor :company_name_as_listed
|
|
39
|
+
|
|
40
|
+
# The company's website as linked on the investor's own portfolio page. Null when the page gave none.
|
|
41
|
+
attr_accessor :company_website_url
|
|
42
|
+
|
|
43
|
+
# Legal-entity level: the company's organization record (null when unresolved).
|
|
29
44
|
attr_accessor :issuer_org_id
|
|
30
45
|
|
|
31
|
-
# Company level: the
|
|
46
|
+
# Company level: the company's record (null when unresolved).
|
|
32
47
|
attr_accessor :issuer_company_id
|
|
33
48
|
|
|
34
|
-
# Display name of the
|
|
49
|
+
# Display name of the company.
|
|
35
50
|
attr_accessor :issuer_company_name
|
|
36
51
|
|
|
37
|
-
# Group level: the
|
|
52
|
+
# Group level: the company's current ultimate parent; a root's group is itself.
|
|
38
53
|
attr_accessor :issuer_group_id
|
|
39
54
|
|
|
40
|
-
# Display name of the
|
|
55
|
+
# Display name of the company's group.
|
|
41
56
|
attr_accessor :issuer_group_name
|
|
42
57
|
|
|
43
|
-
# How the investor is
|
|
58
|
+
# How the investor is tied to the company: holder_5pct (a 5 percent holder) or selling_stockholder from filings, and portfolio_listed_current, portfolio_listed_realized, portfolio_listed_exited or portfolio_listed (no status printed) from the investor's own page.
|
|
44
59
|
attr_accessor :relationship_types
|
|
45
60
|
|
|
46
|
-
# Filing mentions behind the row, across every filing and relationship type.
|
|
61
|
+
# Filing mentions behind the row, across every filing and relationship type. 0 for a row only the investor's website names.
|
|
47
62
|
attr_accessor :edge_count
|
|
48
63
|
|
|
49
|
-
# The earliest filing date the investor was named against the issuer.
|
|
64
|
+
# The earliest filing date the investor was named against the issuer. Null for a row only the investor's website names.
|
|
50
65
|
attr_accessor :first_observed_date
|
|
51
66
|
|
|
52
|
-
# The latest filing date the investor was named against the issuer.
|
|
67
|
+
# The latest filing date the investor was named against the issuer. Null for a row only the investor's website names.
|
|
53
68
|
attr_accessor :last_observed_date
|
|
54
69
|
|
|
70
|
+
# The retrieval date of the first crawl of the investor's own portfolio page that listed the company (a crawl date, not an investment date). Null for a row only SEC filings name.
|
|
71
|
+
attr_accessor :listed_from
|
|
72
|
+
|
|
73
|
+
# The retrieval date of the first later crawl that did not list the company, or the date the page went away. Null while the company is still listed, and for a row only SEC filings name.
|
|
74
|
+
attr_accessor :listed_to
|
|
75
|
+
|
|
76
|
+
# Why listed_to is set: absent_from_later_version (a later crawl of the page omitted the company) or page_gone (the page went away). Null exactly when listed_to is null.
|
|
77
|
+
attr_accessor :removal_reason
|
|
78
|
+
|
|
79
|
+
# True when the investor's own page no longer lists the company (listed_to is set). SEC filings do not reopen it.
|
|
80
|
+
attr_accessor :is_removed
|
|
81
|
+
|
|
82
|
+
# The status the investor's page states for the company, verbatim: current, realized, exited or unknown (the page listed it with no status). Null for a row only SEC filings name.
|
|
83
|
+
attr_accessor :status_on_page
|
|
84
|
+
|
|
85
|
+
# The date the page itself prints for the status, as printed (for example 2024 or March 2024). Null unless the page printed one.
|
|
86
|
+
attr_accessor :status_date
|
|
87
|
+
|
|
88
|
+
# The date we first saw this status for the company on the investor's page: an observation date, never the date the event happened.
|
|
89
|
+
attr_accessor :status_first_observed_at
|
|
90
|
+
|
|
91
|
+
# True when the quote behind a website listing was found on the investor's page, false when it was not, null when no verification flag was recorded and for a row only SEC filings name.
|
|
92
|
+
attr_accessor :site_evidence_verified
|
|
93
|
+
|
|
94
|
+
# The address of the investor's portfolio page the listing was read from. Null for a row only SEC filings name.
|
|
95
|
+
attr_accessor :source_url
|
|
96
|
+
|
|
97
|
+
# When the investor's portfolio page was last retrieved with the company listed on it, in UTC.
|
|
98
|
+
attr_accessor :site_last_retrieved_at
|
|
99
|
+
|
|
55
100
|
# True when the issuer's SIC (Standard Industrial Classification) code is a life-sciences code, false when it is another code, null when the issuer has no SIC evidence.
|
|
56
101
|
attr_accessor :is_life_sciences_issuer
|
|
57
102
|
|
|
@@ -59,8 +104,13 @@ module PharmaObservatory
|
|
|
59
104
|
def self.attribute_map
|
|
60
105
|
{
|
|
61
106
|
:'investor_id' => :'investor_id',
|
|
107
|
+
:'company_key' => :'company_key',
|
|
108
|
+
:'company_key_kind' => :'company_key_kind',
|
|
109
|
+
:'sources' => :'sources',
|
|
62
110
|
:'issuer_cik' => :'issuer_cik',
|
|
63
111
|
:'issuer_name' => :'issuer_name',
|
|
112
|
+
:'company_name_as_listed' => :'company_name_as_listed',
|
|
113
|
+
:'company_website_url' => :'company_website_url',
|
|
64
114
|
:'issuer_org_id' => :'issuer_org_id',
|
|
65
115
|
:'issuer_company_id' => :'issuer_company_id',
|
|
66
116
|
:'issuer_company_name' => :'issuer_company_name',
|
|
@@ -70,6 +120,16 @@ module PharmaObservatory
|
|
|
70
120
|
:'edge_count' => :'edge_count',
|
|
71
121
|
:'first_observed_date' => :'first_observed_date',
|
|
72
122
|
:'last_observed_date' => :'last_observed_date',
|
|
123
|
+
:'listed_from' => :'listed_from',
|
|
124
|
+
:'listed_to' => :'listed_to',
|
|
125
|
+
:'removal_reason' => :'removal_reason',
|
|
126
|
+
:'is_removed' => :'is_removed',
|
|
127
|
+
:'status_on_page' => :'status_on_page',
|
|
128
|
+
:'status_date' => :'status_date',
|
|
129
|
+
:'status_first_observed_at' => :'status_first_observed_at',
|
|
130
|
+
:'site_evidence_verified' => :'site_evidence_verified',
|
|
131
|
+
:'source_url' => :'source_url',
|
|
132
|
+
:'site_last_retrieved_at' => :'site_last_retrieved_at',
|
|
73
133
|
:'is_life_sciences_issuer' => :'is_life_sciences_issuer'
|
|
74
134
|
}
|
|
75
135
|
end
|
|
@@ -88,8 +148,13 @@ module PharmaObservatory
|
|
|
88
148
|
def self.openapi_types
|
|
89
149
|
{
|
|
90
150
|
:'investor_id' => :'String',
|
|
151
|
+
:'company_key' => :'String',
|
|
152
|
+
:'company_key_kind' => :'String',
|
|
153
|
+
:'sources' => :'Array<String>',
|
|
91
154
|
:'issuer_cik' => :'String',
|
|
92
155
|
:'issuer_name' => :'String',
|
|
156
|
+
:'company_name_as_listed' => :'String',
|
|
157
|
+
:'company_website_url' => :'String',
|
|
93
158
|
:'issuer_org_id' => :'String',
|
|
94
159
|
:'issuer_company_id' => :'String',
|
|
95
160
|
:'issuer_company_name' => :'String',
|
|
@@ -99,6 +164,16 @@ module PharmaObservatory
|
|
|
99
164
|
:'edge_count' => :'Integer',
|
|
100
165
|
:'first_observed_date' => :'Date',
|
|
101
166
|
:'last_observed_date' => :'Date',
|
|
167
|
+
:'listed_from' => :'Date',
|
|
168
|
+
:'listed_to' => :'Date',
|
|
169
|
+
:'removal_reason' => :'String',
|
|
170
|
+
:'is_removed' => :'Boolean',
|
|
171
|
+
:'status_on_page' => :'String',
|
|
172
|
+
:'status_date' => :'String',
|
|
173
|
+
:'status_first_observed_at' => :'Date',
|
|
174
|
+
:'site_evidence_verified' => :'Boolean',
|
|
175
|
+
:'source_url' => :'String',
|
|
176
|
+
:'site_last_retrieved_at' => :'Time',
|
|
102
177
|
:'is_life_sciences_issuer' => :'Boolean'
|
|
103
178
|
}
|
|
104
179
|
end
|
|
@@ -107,8 +182,13 @@ module PharmaObservatory
|
|
|
107
182
|
def self.openapi_nullable
|
|
108
183
|
Set.new([
|
|
109
184
|
:'investor_id',
|
|
185
|
+
:'company_key',
|
|
186
|
+
:'company_key_kind',
|
|
187
|
+
:'sources',
|
|
110
188
|
:'issuer_cik',
|
|
111
189
|
:'issuer_name',
|
|
190
|
+
:'company_name_as_listed',
|
|
191
|
+
:'company_website_url',
|
|
112
192
|
:'issuer_org_id',
|
|
113
193
|
:'issuer_company_id',
|
|
114
194
|
:'issuer_company_name',
|
|
@@ -118,6 +198,16 @@ module PharmaObservatory
|
|
|
118
198
|
:'edge_count',
|
|
119
199
|
:'first_observed_date',
|
|
120
200
|
:'last_observed_date',
|
|
201
|
+
:'listed_from',
|
|
202
|
+
:'listed_to',
|
|
203
|
+
:'removal_reason',
|
|
204
|
+
:'is_removed',
|
|
205
|
+
:'status_on_page',
|
|
206
|
+
:'status_date',
|
|
207
|
+
:'status_first_observed_at',
|
|
208
|
+
:'site_evidence_verified',
|
|
209
|
+
:'source_url',
|
|
210
|
+
:'site_last_retrieved_at',
|
|
121
211
|
:'is_life_sciences_issuer'
|
|
122
212
|
])
|
|
123
213
|
end
|
|
@@ -142,6 +232,20 @@ module PharmaObservatory
|
|
|
142
232
|
self.investor_id = attributes[:'investor_id']
|
|
143
233
|
end
|
|
144
234
|
|
|
235
|
+
if attributes.key?(:'company_key')
|
|
236
|
+
self.company_key = attributes[:'company_key']
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
if attributes.key?(:'company_key_kind')
|
|
240
|
+
self.company_key_kind = attributes[:'company_key_kind']
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
if attributes.key?(:'sources')
|
|
244
|
+
if (value = attributes[:'sources']).is_a?(Array)
|
|
245
|
+
self.sources = value
|
|
246
|
+
end
|
|
247
|
+
end
|
|
248
|
+
|
|
145
249
|
if attributes.key?(:'issuer_cik')
|
|
146
250
|
self.issuer_cik = attributes[:'issuer_cik']
|
|
147
251
|
end
|
|
@@ -150,6 +254,14 @@ module PharmaObservatory
|
|
|
150
254
|
self.issuer_name = attributes[:'issuer_name']
|
|
151
255
|
end
|
|
152
256
|
|
|
257
|
+
if attributes.key?(:'company_name_as_listed')
|
|
258
|
+
self.company_name_as_listed = attributes[:'company_name_as_listed']
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
if attributes.key?(:'company_website_url')
|
|
262
|
+
self.company_website_url = attributes[:'company_website_url']
|
|
263
|
+
end
|
|
264
|
+
|
|
153
265
|
if attributes.key?(:'issuer_org_id')
|
|
154
266
|
self.issuer_org_id = attributes[:'issuer_org_id']
|
|
155
267
|
end
|
|
@@ -188,6 +300,46 @@ module PharmaObservatory
|
|
|
188
300
|
self.last_observed_date = attributes[:'last_observed_date']
|
|
189
301
|
end
|
|
190
302
|
|
|
303
|
+
if attributes.key?(:'listed_from')
|
|
304
|
+
self.listed_from = attributes[:'listed_from']
|
|
305
|
+
end
|
|
306
|
+
|
|
307
|
+
if attributes.key?(:'listed_to')
|
|
308
|
+
self.listed_to = attributes[:'listed_to']
|
|
309
|
+
end
|
|
310
|
+
|
|
311
|
+
if attributes.key?(:'removal_reason')
|
|
312
|
+
self.removal_reason = attributes[:'removal_reason']
|
|
313
|
+
end
|
|
314
|
+
|
|
315
|
+
if attributes.key?(:'is_removed')
|
|
316
|
+
self.is_removed = attributes[:'is_removed']
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
if attributes.key?(:'status_on_page')
|
|
320
|
+
self.status_on_page = attributes[:'status_on_page']
|
|
321
|
+
end
|
|
322
|
+
|
|
323
|
+
if attributes.key?(:'status_date')
|
|
324
|
+
self.status_date = attributes[:'status_date']
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
if attributes.key?(:'status_first_observed_at')
|
|
328
|
+
self.status_first_observed_at = attributes[:'status_first_observed_at']
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
if attributes.key?(:'site_evidence_verified')
|
|
332
|
+
self.site_evidence_verified = attributes[:'site_evidence_verified']
|
|
333
|
+
end
|
|
334
|
+
|
|
335
|
+
if attributes.key?(:'source_url')
|
|
336
|
+
self.source_url = attributes[:'source_url']
|
|
337
|
+
end
|
|
338
|
+
|
|
339
|
+
if attributes.key?(:'site_last_retrieved_at')
|
|
340
|
+
self.site_last_retrieved_at = attributes[:'site_last_retrieved_at']
|
|
341
|
+
end
|
|
342
|
+
|
|
191
343
|
if attributes.key?(:'is_life_sciences_issuer')
|
|
192
344
|
self.is_life_sciences_issuer = attributes[:'is_life_sciences_issuer']
|
|
193
345
|
end
|
|
@@ -214,8 +366,13 @@ module PharmaObservatory
|
|
|
214
366
|
return true if self.equal?(o)
|
|
215
367
|
self.class == o.class &&
|
|
216
368
|
investor_id == o.investor_id &&
|
|
369
|
+
company_key == o.company_key &&
|
|
370
|
+
company_key_kind == o.company_key_kind &&
|
|
371
|
+
sources == o.sources &&
|
|
217
372
|
issuer_cik == o.issuer_cik &&
|
|
218
373
|
issuer_name == o.issuer_name &&
|
|
374
|
+
company_name_as_listed == o.company_name_as_listed &&
|
|
375
|
+
company_website_url == o.company_website_url &&
|
|
219
376
|
issuer_org_id == o.issuer_org_id &&
|
|
220
377
|
issuer_company_id == o.issuer_company_id &&
|
|
221
378
|
issuer_company_name == o.issuer_company_name &&
|
|
@@ -225,6 +382,16 @@ module PharmaObservatory
|
|
|
225
382
|
edge_count == o.edge_count &&
|
|
226
383
|
first_observed_date == o.first_observed_date &&
|
|
227
384
|
last_observed_date == o.last_observed_date &&
|
|
385
|
+
listed_from == o.listed_from &&
|
|
386
|
+
listed_to == o.listed_to &&
|
|
387
|
+
removal_reason == o.removal_reason &&
|
|
388
|
+
is_removed == o.is_removed &&
|
|
389
|
+
status_on_page == o.status_on_page &&
|
|
390
|
+
status_date == o.status_date &&
|
|
391
|
+
status_first_observed_at == o.status_first_observed_at &&
|
|
392
|
+
site_evidence_verified == o.site_evidence_verified &&
|
|
393
|
+
source_url == o.source_url &&
|
|
394
|
+
site_last_retrieved_at == o.site_last_retrieved_at &&
|
|
228
395
|
is_life_sciences_issuer == o.is_life_sciences_issuer
|
|
229
396
|
end
|
|
230
397
|
|
|
@@ -237,7 +404,7 @@ module PharmaObservatory
|
|
|
237
404
|
# Calculates hash code according to all attributes.
|
|
238
405
|
# @return [Integer] Hash code
|
|
239
406
|
def hash
|
|
240
|
-
[investor_id, issuer_cik, issuer_name, issuer_org_id, issuer_company_id, issuer_company_name, issuer_group_id, issuer_group_name, relationship_types, edge_count, first_observed_date, last_observed_date, is_life_sciences_issuer].hash
|
|
407
|
+
[investor_id, company_key, company_key_kind, sources, issuer_cik, issuer_name, company_name_as_listed, company_website_url, issuer_org_id, issuer_company_id, issuer_company_name, issuer_group_id, issuer_group_name, relationship_types, edge_count, first_observed_date, last_observed_date, listed_from, listed_to, removal_reason, is_removed, status_on_page, status_date, status_first_observed_at, site_evidence_verified, source_url, site_last_retrieved_at, is_life_sciences_issuer].hash
|
|
241
408
|
end
|
|
242
409
|
|
|
243
410
|
# Builds the object from hash
|
|
@@ -52,9 +52,12 @@ module PharmaObservatory
|
|
|
52
52
|
# The adviser's total private-fund gross asset value (GAV) in whole US dollars, a firm-level figure.
|
|
53
53
|
attr_accessor :total_private_fund_gav
|
|
54
54
|
|
|
55
|
-
# Distinct portfolio companies named against the investor in S-1 and 424B offering holder tables. 0 usually means no named-holder link was observed.
|
|
55
|
+
# Distinct portfolio companies named against the investor in S-1 and 424B offering holder tables or listed on the investor's own portfolio page, not marked removed there. 0 usually means no named-holder link or website listing was observed.
|
|
56
56
|
attr_accessor :portfolio_co_count
|
|
57
57
|
|
|
58
|
+
# Distinct portfolio companies the investor's own portfolio page listed in an earlier crawl and no longer lists. portfolio_co_count and this count sum to the investor's rows in investor_portfolio.
|
|
59
|
+
attr_accessor :portfolio_co_removed_count
|
|
60
|
+
|
|
58
61
|
# Current Form 13F positions reported by the managers that resolve to this investor, summed over its manager keys. 0 when none resolves.
|
|
59
62
|
attr_accessor :holdings_position_count
|
|
60
63
|
|
|
@@ -98,6 +101,7 @@ module PharmaObservatory
|
|
|
98
101
|
:'private_fund_count' => :'private_fund_count',
|
|
99
102
|
:'total_private_fund_gav' => :'total_private_fund_gav',
|
|
100
103
|
:'portfolio_co_count' => :'portfolio_co_count',
|
|
104
|
+
:'portfolio_co_removed_count' => :'portfolio_co_removed_count',
|
|
101
105
|
:'holdings_position_count' => :'holdings_position_count',
|
|
102
106
|
:'website_url' => :'website_url',
|
|
103
107
|
:'website_domain' => :'website_domain',
|
|
@@ -136,6 +140,7 @@ module PharmaObservatory
|
|
|
136
140
|
:'private_fund_count' => :'Integer',
|
|
137
141
|
:'total_private_fund_gav' => :'Float',
|
|
138
142
|
:'portfolio_co_count' => :'Integer',
|
|
143
|
+
:'portfolio_co_removed_count' => :'Integer',
|
|
139
144
|
:'holdings_position_count' => :'Integer',
|
|
140
145
|
:'website_url' => :'String',
|
|
141
146
|
:'website_domain' => :'String',
|
|
@@ -164,6 +169,7 @@ module PharmaObservatory
|
|
|
164
169
|
:'private_fund_count',
|
|
165
170
|
:'total_private_fund_gav',
|
|
166
171
|
:'portfolio_co_count',
|
|
172
|
+
:'portfolio_co_removed_count',
|
|
167
173
|
:'holdings_position_count',
|
|
168
174
|
:'website_url',
|
|
169
175
|
:'website_domain',
|
|
@@ -244,6 +250,10 @@ module PharmaObservatory
|
|
|
244
250
|
self.portfolio_co_count = attributes[:'portfolio_co_count']
|
|
245
251
|
end
|
|
246
252
|
|
|
253
|
+
if attributes.key?(:'portfolio_co_removed_count')
|
|
254
|
+
self.portfolio_co_removed_count = attributes[:'portfolio_co_removed_count']
|
|
255
|
+
end
|
|
256
|
+
|
|
247
257
|
if attributes.key?(:'holdings_position_count')
|
|
248
258
|
self.holdings_position_count = attributes[:'holdings_position_count']
|
|
249
259
|
end
|
|
@@ -314,6 +324,7 @@ module PharmaObservatory
|
|
|
314
324
|
private_fund_count == o.private_fund_count &&
|
|
315
325
|
total_private_fund_gav == o.total_private_fund_gav &&
|
|
316
326
|
portfolio_co_count == o.portfolio_co_count &&
|
|
327
|
+
portfolio_co_removed_count == o.portfolio_co_removed_count &&
|
|
317
328
|
holdings_position_count == o.holdings_position_count &&
|
|
318
329
|
website_url == o.website_url &&
|
|
319
330
|
website_domain == o.website_domain &&
|
|
@@ -334,7 +345,7 @@ module PharmaObservatory
|
|
|
334
345
|
# Calculates hash code according to all attributes.
|
|
335
346
|
# @return [Integer] Hash code
|
|
336
347
|
def hash
|
|
337
|
-
[investor_id, legal_name, investor_type, source, country, raum_usd, raum_band, is_era, is_life_sciences_focused, is_life_sciences_focused_basis, private_fund_count, total_private_fund_gav, portfolio_co_count, holdings_position_count, website_url, website_domain, website_source, org_id, company_id, company_name, group_id, group_name].hash
|
|
348
|
+
[investor_id, legal_name, investor_type, source, country, raum_usd, raum_band, is_era, is_life_sciences_focused, is_life_sciences_focused_basis, private_fund_count, total_private_fund_gav, portfolio_co_count, portfolio_co_removed_count, holdings_position_count, website_url, website_domain, website_source, org_id, company_id, company_name, group_id, group_name].hash
|
|
338
349
|
end
|
|
339
350
|
|
|
340
351
|
# Builds the object from hash
|
|
@@ -67,6 +67,12 @@ module PharmaObservatory
|
|
|
67
67
|
# True when the drug has been withdrawn.
|
|
68
68
|
attr_accessor :withdrawn
|
|
69
69
|
|
|
70
|
+
# True when the sponsor is judged to develop the drug (an experimental arm, a regulatory holder, or an inferred lead); false when it is the backbone or comparator of a combination, one of many leads of a crowded drug, or not the holder of a generic. Every row is kept; this column labels it.
|
|
71
|
+
attr_accessor :owned
|
|
72
|
+
|
|
73
|
+
# Why owned is what it is: experimental_arm, regulatory_holder or inferred_lead (owned), or backbone, comparator, crowded_not_lead or generic_not_holder (not owned). inferred_lead is an inference made where the trials give no arm evidence either way.
|
|
74
|
+
attr_accessor :ownership_basis
|
|
75
|
+
|
|
70
76
|
# The Global Burden of Disease cause matched to the condition.
|
|
71
77
|
attr_accessor :cause_name
|
|
72
78
|
|
|
@@ -99,6 +105,8 @@ module PharmaObservatory
|
|
|
99
105
|
:'last_year' => :'last_year',
|
|
100
106
|
:'last_update_year' => :'last_update_year',
|
|
101
107
|
:'withdrawn' => :'withdrawn',
|
|
108
|
+
:'owned' => :'owned',
|
|
109
|
+
:'ownership_basis' => :'ownership_basis',
|
|
102
110
|
:'cause_name' => :'cause_name',
|
|
103
111
|
:'dalys_millions' => :'dalys_millions',
|
|
104
112
|
:'deaths_millions' => :'deaths_millions',
|
|
@@ -136,6 +144,8 @@ module PharmaObservatory
|
|
|
136
144
|
:'last_year' => :'Integer',
|
|
137
145
|
:'last_update_year' => :'Integer',
|
|
138
146
|
:'withdrawn' => :'Boolean',
|
|
147
|
+
:'owned' => :'Boolean',
|
|
148
|
+
:'ownership_basis' => :'String',
|
|
139
149
|
:'cause_name' => :'String',
|
|
140
150
|
:'dalys_millions' => :'Float',
|
|
141
151
|
:'deaths_millions' => :'Float',
|
|
@@ -163,6 +173,8 @@ module PharmaObservatory
|
|
|
163
173
|
:'last_year',
|
|
164
174
|
:'last_update_year',
|
|
165
175
|
:'withdrawn',
|
|
176
|
+
:'owned',
|
|
177
|
+
:'ownership_basis',
|
|
166
178
|
:'cause_name',
|
|
167
179
|
:'dalys_millions',
|
|
168
180
|
:'deaths_millions',
|
|
@@ -256,6 +268,14 @@ module PharmaObservatory
|
|
|
256
268
|
self.withdrawn = attributes[:'withdrawn']
|
|
257
269
|
end
|
|
258
270
|
|
|
271
|
+
if attributes.key?(:'owned')
|
|
272
|
+
self.owned = attributes[:'owned']
|
|
273
|
+
end
|
|
274
|
+
|
|
275
|
+
if attributes.key?(:'ownership_basis')
|
|
276
|
+
self.ownership_basis = attributes[:'ownership_basis']
|
|
277
|
+
end
|
|
278
|
+
|
|
259
279
|
if attributes.key?(:'cause_name')
|
|
260
280
|
self.cause_name = attributes[:'cause_name']
|
|
261
281
|
end
|
|
@@ -310,6 +330,8 @@ module PharmaObservatory
|
|
|
310
330
|
last_year == o.last_year &&
|
|
311
331
|
last_update_year == o.last_update_year &&
|
|
312
332
|
withdrawn == o.withdrawn &&
|
|
333
|
+
owned == o.owned &&
|
|
334
|
+
ownership_basis == o.ownership_basis &&
|
|
313
335
|
cause_name == o.cause_name &&
|
|
314
336
|
dalys_millions == o.dalys_millions &&
|
|
315
337
|
deaths_millions == o.deaths_millions &&
|
|
@@ -325,7 +347,7 @@ module PharmaObservatory
|
|
|
325
347
|
# Calculates hash code according to all attributes.
|
|
326
348
|
# @return [Integer] Hash code
|
|
327
349
|
def hash
|
|
328
|
-
[sponsor_org_id, sponsor_name, sponsor_company_id, sponsor_company_name, sponsor_group_id, sponsor_group_name, drug_id, drug_name, condition_id, condition_name, condition_ancestor_ids, max_phase, n_trials, n_active, last_year, last_update_year, withdrawn, cause_name, dalys_millions, deaths_millions, druggability].hash
|
|
350
|
+
[sponsor_org_id, sponsor_name, sponsor_company_id, sponsor_company_name, sponsor_group_id, sponsor_group_name, drug_id, drug_name, condition_id, condition_name, condition_ancestor_ids, max_phase, n_trials, n_active, last_year, last_update_year, withdrawn, owned, ownership_basis, cause_name, dalys_millions, deaths_millions, druggability].hash
|
|
329
351
|
end
|
|
330
352
|
|
|
331
353
|
# Builds the object from hash
|
data/lib/pharmaobservatory.rb
CHANGED
|
@@ -88,6 +88,8 @@ require 'pharmaobservatory/models/company_competitor_activity_response'
|
|
|
88
88
|
require 'pharmaobservatory/models/company_competitor_activity_row'
|
|
89
89
|
require 'pharmaobservatory/models/company_competitors_response'
|
|
90
90
|
require 'pharmaobservatory/models/company_competitors_row'
|
|
91
|
+
require 'pharmaobservatory/models/company_cosponsors_response'
|
|
92
|
+
require 'pharmaobservatory/models/company_cosponsors_row'
|
|
91
93
|
require 'pharmaobservatory/models/company_financials_response'
|
|
92
94
|
require 'pharmaobservatory/models/company_financials_row'
|
|
93
95
|
require 'pharmaobservatory/models/company_firmographics_response'
|
|
@@ -98,6 +100,10 @@ require 'pharmaobservatory/models/company_funding_summary_response'
|
|
|
98
100
|
require 'pharmaobservatory/models/company_funding_summary_row'
|
|
99
101
|
require 'pharmaobservatory/models/company_members_response'
|
|
100
102
|
require 'pharmaobservatory/models/company_members_row'
|
|
103
|
+
require 'pharmaobservatory/models/company_peer_profile_response'
|
|
104
|
+
require 'pharmaobservatory/models/company_peer_profile_row'
|
|
105
|
+
require 'pharmaobservatory/models/company_peers_response'
|
|
106
|
+
require 'pharmaobservatory/models/company_peers_row'
|
|
101
107
|
require 'pharmaobservatory/models/company_programs_response'
|
|
102
108
|
require 'pharmaobservatory/models/company_programs_row'
|
|
103
109
|
require 'pharmaobservatory/models/company_rare_disease_declarations_response'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pharmaobservatory
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Scientist.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-11-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -162,6 +162,8 @@ files:
|
|
|
162
162
|
- docs/CompanyCompetitorActivityRow.md
|
|
163
163
|
- docs/CompanyCompetitorsResponse.md
|
|
164
164
|
- docs/CompanyCompetitorsRow.md
|
|
165
|
+
- docs/CompanyCosponsorsResponse.md
|
|
166
|
+
- docs/CompanyCosponsorsRow.md
|
|
165
167
|
- docs/CompanyFinancialsResponse.md
|
|
166
168
|
- docs/CompanyFinancialsRow.md
|
|
167
169
|
- docs/CompanyFirmographicsResponse.md
|
|
@@ -172,6 +174,10 @@ files:
|
|
|
172
174
|
- docs/CompanyFundingSummaryRow.md
|
|
173
175
|
- docs/CompanyMembersResponse.md
|
|
174
176
|
- docs/CompanyMembersRow.md
|
|
177
|
+
- docs/CompanyPeerProfileResponse.md
|
|
178
|
+
- docs/CompanyPeerProfileRow.md
|
|
179
|
+
- docs/CompanyPeersResponse.md
|
|
180
|
+
- docs/CompanyPeersRow.md
|
|
175
181
|
- docs/CompanyProgramsResponse.md
|
|
176
182
|
- docs/CompanyProgramsRow.md
|
|
177
183
|
- docs/CompanyRareDiseaseDeclarationsResponse.md
|
|
@@ -662,6 +668,8 @@ files:
|
|
|
662
668
|
- lib/pharmaobservatory/models/company_competitor_activity_row.rb
|
|
663
669
|
- lib/pharmaobservatory/models/company_competitors_response.rb
|
|
664
670
|
- lib/pharmaobservatory/models/company_competitors_row.rb
|
|
671
|
+
- lib/pharmaobservatory/models/company_cosponsors_response.rb
|
|
672
|
+
- lib/pharmaobservatory/models/company_cosponsors_row.rb
|
|
665
673
|
- lib/pharmaobservatory/models/company_financials_response.rb
|
|
666
674
|
- lib/pharmaobservatory/models/company_financials_row.rb
|
|
667
675
|
- lib/pharmaobservatory/models/company_firmographics_response.rb
|
|
@@ -672,6 +680,10 @@ files:
|
|
|
672
680
|
- lib/pharmaobservatory/models/company_funding_summary_row.rb
|
|
673
681
|
- lib/pharmaobservatory/models/company_members_response.rb
|
|
674
682
|
- lib/pharmaobservatory/models/company_members_row.rb
|
|
683
|
+
- lib/pharmaobservatory/models/company_peer_profile_response.rb
|
|
684
|
+
- lib/pharmaobservatory/models/company_peer_profile_row.rb
|
|
685
|
+
- lib/pharmaobservatory/models/company_peers_response.rb
|
|
686
|
+
- lib/pharmaobservatory/models/company_peers_row.rb
|
|
675
687
|
- lib/pharmaobservatory/models/company_programs_response.rb
|
|
676
688
|
- lib/pharmaobservatory/models/company_programs_row.rb
|
|
677
689
|
- lib/pharmaobservatory/models/company_rare_disease_declarations_response.rb
|