pharmaobservatory 0.1.11 → 0.1.12
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 +6 -6
- data/docs/CompaniesApi.md +4 -4
- data/docs/CompaniesRow.md +1 -1
- data/docs/CompanyAssetsRow.md +5 -1
- data/docs/CompanyCompetitorsRow.md +5 -1
- data/docs/CompanyProgramsRow.md +4 -0
- data/docs/InvestorPortfolioRow.md +39 -11
- data/docs/InvestorsApi.md +4 -4
- data/docs/InvestorsRow.md +3 -1
- data/docs/ProgramLicensingCandidatesRow.md +4 -0
- data/lib/pharmaobservatory/api/companies_api.rb +2 -2
- data/lib/pharmaobservatory/api/investors_api.rb +2 -2
- 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 +25 -3
- data/lib/pharmaobservatory/models/company_programs_row.rb +23 -1
- data/lib/pharmaobservatory/models/investor_portfolio_row.rb +169 -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
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7f2fb64138e2ac6d5b57fb0efcde57a01e731d5562b1fb68973a55caf4a4e51d
|
|
4
|
+
data.tar.gz: 2115a990ac60d9a4f92b8c63b4e7a7f321774e64d5a3655c7c1ea5065b703e32
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f6ed24d7384703935d059d3eef6d14521f1398eea9077c9e34b453914e9cafe2af0b836fd78b7e9740efe801d2847c801477b924b0157b579189c34aa997c694
|
|
7
|
+
data.tar.gz: 36652385ac2bca0d192fd5adab4ebb5e3f287461ba19be1efa429af97f7df03806e968e2d361071a54434710b5685ff4ce76e83dfcf597630309ef1ba72296e9
|
data/README.md
CHANGED
|
@@ -39,7 +39,7 @@ Read-only REST API over the Pharma Observatory biomedical data platform. Referen
|
|
|
39
39
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
40
40
|
|
|
41
41
|
- API version: 1.0.0
|
|
42
|
-
- Package version: 0.1.
|
|
42
|
+
- Package version: 0.1.12
|
|
43
43
|
- Generator version: 7.13.0
|
|
44
44
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
45
45
|
|
|
@@ -56,16 +56,16 @@ gem build pharmaobservatory.gemspec
|
|
|
56
56
|
Then either install the gem locally:
|
|
57
57
|
|
|
58
58
|
```shell
|
|
59
|
-
gem install ./pharmaobservatory-0.1.
|
|
59
|
+
gem install ./pharmaobservatory-0.1.12.gem
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
-
(for development, run `gem install --dev ./pharmaobservatory-0.1.
|
|
62
|
+
(for development, run `gem install --dev ./pharmaobservatory-0.1.12.gem` to install the development dependencies)
|
|
63
63
|
|
|
64
64
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
65
65
|
|
|
66
66
|
Finally add this to the Gemfile:
|
|
67
67
|
|
|
68
|
-
gem 'pharmaobservatory', '~> 0.1.
|
|
68
|
+
gem 'pharmaobservatory', '~> 0.1.12'
|
|
69
69
|
|
|
70
70
|
### Install from Git
|
|
71
71
|
|
|
@@ -149,7 +149,7 @@ Class | Method | HTTP request | Description
|
|
|
149
149
|
*PharmaObservatory::CompaniesApi* | [**companies_company_biomarker_capability**](docs/CompaniesApi.md#companies_company_biomarker_capability) | **GET** /api/v1/companies/{id}/company_biomarker_capability | Company biomarker capability
|
|
150
150
|
*PharmaObservatory::CompaniesApi* | [**companies_company_collaborators**](docs/CompaniesApi.md#companies_company_collaborators) | **GET** /api/v1/companies/{id}/company_collaborators | Company study collaborators by disease area
|
|
151
151
|
*PharmaObservatory::CompaniesApi* | [**companies_company_competitor_activity**](docs/CompaniesApi.md#companies_company_competitor_activity) | **GET** /api/v1/companies/{id}/company_competitor_activity | Company competitor activity by disease area
|
|
152
|
-
*PharmaObservatory::CompaniesApi* | [**companies_company_competitors**](docs/CompaniesApi.md#companies_company_competitors) | **GET** /api/v1/companies/{id}/company_competitors | Company
|
|
152
|
+
*PharmaObservatory::CompaniesApi* | [**companies_company_competitors**](docs/CompaniesApi.md#companies_company_competitors) | **GET** /api/v1/companies/{id}/company_competitors | Company program overlap
|
|
153
153
|
*PharmaObservatory::CompaniesApi* | [**companies_company_financials**](docs/CompaniesApi.md#companies_company_financials) | **GET** /api/v1/companies/{id}/company_financials | Company SEC financials
|
|
154
154
|
*PharmaObservatory::CompaniesApi* | [**companies_company_firmographics**](docs/CompaniesApi.md#companies_company_firmographics) | **GET** /api/v1/companies/{id}/company_firmographics | Company firmographics
|
|
155
155
|
*PharmaObservatory::CompaniesApi* | [**companies_company_funding_events**](docs/CompaniesApi.md#companies_company_funding_events) | **GET** /api/v1/companies/{id}/company_funding_events | Company funding events
|
|
@@ -276,7 +276,7 @@ Class | Method | HTTP request | Description
|
|
|
276
276
|
*PharmaObservatory::InvestorsApi* | [**investors_get**](docs/InvestorsApi.md#investors_get) | **GET** /api/v1/investors/{id} | One investor
|
|
277
277
|
*PharmaObservatory::InvestorsApi* | [**investors_institutional_holdings**](docs/InvestorsApi.md#investors_institutional_holdings) | **GET** /api/v1/investors/{id}/institutional_holdings | Institutional holdings (SEC Form 13F)
|
|
278
278
|
*PharmaObservatory::InvestorsApi* | [**investors_investor_funds**](docs/InvestorsApi.md#investors_investor_funds) | **GET** /api/v1/investors/{id}/investor_funds | Investor private funds by type
|
|
279
|
-
*PharmaObservatory::InvestorsApi* | [**investors_investor_portfolio**](docs/InvestorsApi.md#investors_investor_portfolio) | **GET** /api/v1/investors/{id}/investor_portfolio | Investor portfolio (offering filings)
|
|
279
|
+
*PharmaObservatory::InvestorsApi* | [**investors_investor_portfolio**](docs/InvestorsApi.md#investors_investor_portfolio) | **GET** /api/v1/investors/{id}/investor_portfolio | Investor portfolio (offering filings and investor websites)
|
|
280
280
|
*PharmaObservatory::InvestorsApi* | [**investors_investor_private_funds**](docs/InvestorsApi.md#investors_investor_private_funds) | **GET** /api/v1/investors/{id}/investor_private_funds | Investor private funds
|
|
281
281
|
*PharmaObservatory::InvestorsApi* | [**investors_list**](docs/InvestorsApi.md#investors_list) | **GET** /api/v1/investors | List investors
|
|
282
282
|
*PharmaObservatory::InvestorsApi* | [**investors_managers**](docs/InvestorsApi.md#investors_managers) | **GET** /api/v1/investors/{id}/managers | Institutional managers (SEC Form 13F)
|
data/docs/CompaniesApi.md
CHANGED
|
@@ -15,7 +15,7 @@ All URIs are relative to *https://pharmaobservatory.com*
|
|
|
15
15
|
| [**companies_company_biomarker_capability**](CompaniesApi.md#companies_company_biomarker_capability) | **GET** /api/v1/companies/{id}/company_biomarker_capability | Company biomarker capability |
|
|
16
16
|
| [**companies_company_collaborators**](CompaniesApi.md#companies_company_collaborators) | **GET** /api/v1/companies/{id}/company_collaborators | Company study collaborators by disease area |
|
|
17
17
|
| [**companies_company_competitor_activity**](CompaniesApi.md#companies_company_competitor_activity) | **GET** /api/v1/companies/{id}/company_competitor_activity | Company competitor activity by disease area |
|
|
18
|
-
| [**companies_company_competitors**](CompaniesApi.md#companies_company_competitors) | **GET** /api/v1/companies/{id}/company_competitors | Company
|
|
18
|
+
| [**companies_company_competitors**](CompaniesApi.md#companies_company_competitors) | **GET** /api/v1/companies/{id}/company_competitors | Company program overlap |
|
|
19
19
|
| [**companies_company_financials**](CompaniesApi.md#companies_company_financials) | **GET** /api/v1/companies/{id}/company_financials | Company SEC financials |
|
|
20
20
|
| [**companies_company_firmographics**](CompaniesApi.md#companies_company_firmographics) | **GET** /api/v1/companies/{id}/company_firmographics | Company firmographics |
|
|
21
21
|
| [**companies_company_funding_events**](CompaniesApi.md#companies_company_funding_events) | **GET** /api/v1/companies/{id}/company_funding_events | Company funding events |
|
|
@@ -965,7 +965,7 @@ end
|
|
|
965
965
|
|
|
966
966
|
> <CompanyCompetitorsResponse> companies_company_competitors(id, opts)
|
|
967
967
|
|
|
968
|
-
Company
|
|
968
|
+
Company program overlap
|
|
969
969
|
|
|
970
970
|
### Examples
|
|
971
971
|
|
|
@@ -990,7 +990,7 @@ opts = {
|
|
|
990
990
|
}
|
|
991
991
|
|
|
992
992
|
begin
|
|
993
|
-
# Company
|
|
993
|
+
# Company program overlap
|
|
994
994
|
result = api_instance.companies_company_competitors(id, opts)
|
|
995
995
|
p result
|
|
996
996
|
rescue PharmaObservatory::ApiError => e
|
|
@@ -1006,7 +1006,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
|
1006
1006
|
|
|
1007
1007
|
```ruby
|
|
1008
1008
|
begin
|
|
1009
|
-
# Company
|
|
1009
|
+
# Company program overlap
|
|
1010
1010
|
data, status_code, headers = api_instance.companies_company_competitors_with_http_info(id, opts)
|
|
1011
1011
|
p status_code # => 2xx
|
|
1012
1012
|
p headers # => { ... }
|
data/docs/CompaniesRow.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **company_id** | **String** | The company key (company:<key>). | [optional] |
|
|
8
8
|
| **company_name** | **String** | The company's display name: its own legal entity's name where one is known. | [optional] |
|
|
9
|
-
| **name_basis** | **String** | Which source supplied the name: gleif_legal_name, edgar_registrant, ror or sponsor_display_name. | [optional] |
|
|
9
|
+
| **name_basis** | **String** | Which source supplied the name: gleif_legal_name, edgar_registrant, ror, edgar_current_name or sponsor_display_name. | [optional] |
|
|
10
10
|
| **country** | **String** | Country of the company's own legal entity, as the source states it. | [optional] |
|
|
11
11
|
| **org_type** | **String** | The organization type of the company's representative record: Academic, Government, Hospital, Industry, Nonprofit or Other (from the Research Organization Registry (ROR) record or the filing), or the lowercase tags investor and manufacturer that mark a minted adviser or manufacturer record. | [optional] |
|
|
12
12
|
| **org_kinds** | **Array<String>** | The roles the company's organizations play (Manufacturer, Sponsor and so on). | [optional] |
|
data/docs/CompanyAssetsRow.md
CHANGED
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
| **n_active** | **Integer** | Of those trials, the number recruiting, not yet recruiting, active or enrolling by invitation. | [optional] |
|
|
18
18
|
| **last_year** | **Integer** | Latest start year among those trials. | [optional] |
|
|
19
19
|
| **withdrawn** | **Boolean** | True when the drug has been withdrawn from the market. | [optional] |
|
|
20
|
+
| **owned** | **Boolean** | 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. | [optional] |
|
|
21
|
+
| **ownership_basis** | **String** | 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. | [optional] |
|
|
20
22
|
|
|
21
23
|
## Example
|
|
22
24
|
|
|
@@ -36,7 +38,9 @@ instance = PharmaObservatory::CompanyAssetsRow.new(
|
|
|
36
38
|
n_trials: null,
|
|
37
39
|
n_active: null,
|
|
38
40
|
last_year: null,
|
|
39
|
-
withdrawn: null
|
|
41
|
+
withdrawn: null,
|
|
42
|
+
owned: null,
|
|
43
|
+
ownership_basis: null
|
|
40
44
|
)
|
|
41
45
|
```
|
|
42
46
|
|
|
@@ -12,7 +12,9 @@
|
|
|
12
12
|
| **competitor_company_name** | **String** | Display name of the competitor's company. | [optional] |
|
|
13
13
|
| **competitor_group_id** | **String** | Group level: the competitor's current ultimate parent; a root's group is itself. | [optional] |
|
|
14
14
|
| **competitor_group_name** | **String** | Display name of the competitor's group. | [optional] |
|
|
15
|
-
| **
|
|
15
|
+
| **competitor_class** | **String** | The competitor's class: industry, or non_industry (not classed as industry by the sponsor-class rule: academic, hospital, government, nonprofit, and any record the rule does not reach). competitor_rank restarts at 1 within each class, so filter or sort on this column first. | [optional] |
|
|
16
|
+
| **n_class_candidates** | **Integer** | How many companies of this competitor_class were candidates (a shared target, or an indication overlap above the similarity floor) before the top 25 were kept. The same value on every row of one company and class. | [optional] |
|
|
17
|
+
| **competitor_rank** | **Integer** | The competitor's rank within its competitor_class for the company by competitor_score (1 is the highest). | [optional] |
|
|
16
18
|
| **competitor_score** | **Float** | 100 times the weighted mean of the four similarities below, rounded to four places. | [optional] |
|
|
17
19
|
| **target_sim** | **Float** | Jaccard similarity, 0 to 1, of the two companies' molecular target sets. | [optional] |
|
|
18
20
|
| **mechanism_sim** | **Float** | Jaccard similarity, 0 to 1, of their mechanism sets (a target and its action). | [optional] |
|
|
@@ -44,6 +46,8 @@ instance = PharmaObservatory::CompanyCompetitorsRow.new(
|
|
|
44
46
|
competitor_company_name: null,
|
|
45
47
|
competitor_group_id: null,
|
|
46
48
|
competitor_group_name: null,
|
|
49
|
+
competitor_class: null,
|
|
50
|
+
n_class_candidates: null,
|
|
47
51
|
competitor_rank: null,
|
|
48
52
|
competitor_score: null,
|
|
49
53
|
target_sim: null,
|
data/docs/CompanyProgramsRow.md
CHANGED
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
| **last_year** | **Integer** | Latest trial start year. | [optional] |
|
|
21
21
|
| **withdrawn** | **Boolean** | True when the drug has been withdrawn. | [optional] |
|
|
22
22
|
| **lifecycle** | **String** | approved, active or abandoned. | [optional] |
|
|
23
|
+
| **owned** | **Boolean** | 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. | [optional] |
|
|
24
|
+
| **ownership_basis** | **String** | 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. | [optional] |
|
|
23
25
|
| **dalys_millions** | **Float** | Disability-adjusted life years (DALYs, millions) of the condition's global burden, from the Global Burden of Disease (GBD) 2021 study of the Institute for Health Metrics and Evaluation (IHME). Null for a caller without the licence for this column; see withheld_columns. | [optional] |
|
|
24
26
|
|
|
25
27
|
## Example
|
|
@@ -44,6 +46,8 @@ instance = PharmaObservatory::CompanyProgramsRow.new(
|
|
|
44
46
|
last_year: null,
|
|
45
47
|
withdrawn: null,
|
|
46
48
|
lifecycle: null,
|
|
49
|
+
owned: null,
|
|
50
|
+
ownership_basis: null,
|
|
47
51
|
dalys_millions: null
|
|
48
52
|
)
|
|
49
53
|
```
|
|
@@ -5,17 +5,31 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **investor_id** | **String** | The investor key. | [optional] |
|
|
8
|
-
| **
|
|
9
|
-
| **
|
|
10
|
-
| **
|
|
11
|
-
| **
|
|
12
|
-
| **
|
|
13
|
-
| **
|
|
14
|
-
| **
|
|
15
|
-
| **
|
|
16
|
-
| **
|
|
17
|
-
| **
|
|
18
|
-
| **
|
|
8
|
+
| **company_key** | **String** | 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. | [optional] |
|
|
9
|
+
| **company_key_kind** | **String** | What company_key is: org, cik or investor_site. | [optional] |
|
|
10
|
+
| **sources** | **Array<String>** | Where the row comes from: sec_edgar (S-1 and 424B holder tables), investor_site (the investor's own portfolio page), or both. | [optional] |
|
|
11
|
+
| **issuer_cik** | **String** | The issuer's SEC Central Index Key (CIK), ten digits. Null for a row only the investor's website names. | [optional] |
|
|
12
|
+
| **issuer_name** | **String** | The company's name: its organization record's name, else the SEC company name, else the name as printed on the investor's page. | [optional] |
|
|
13
|
+
| **company_name_as_listed** | **String** | The company's name as printed on the investor's own portfolio page. Null for a row only SEC filings name. | [optional] |
|
|
14
|
+
| **company_website_url** | **String** | The company's website as linked on the investor's own portfolio page. Null when the page gave none. | [optional] |
|
|
15
|
+
| **issuer_org_id** | **String** | Legal-entity level: the company's organization record (null when unresolved). | [optional] |
|
|
16
|
+
| **issuer_company_id** | **String** | Company level: the company's record (null when unresolved). | [optional] |
|
|
17
|
+
| **issuer_company_name** | **String** | Display name of the company. | [optional] |
|
|
18
|
+
| **issuer_group_id** | **String** | Group level: the company's current ultimate parent; a root's group is itself. | [optional] |
|
|
19
|
+
| **issuer_group_name** | **String** | Display name of the company's group. | [optional] |
|
|
20
|
+
| **relationship_types** | **Array<String>** | 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. | [optional] |
|
|
21
|
+
| **edge_count** | **Integer** | Filing mentions behind the row, across every filing and relationship type. 0 for a row only the investor's website names. | [optional] |
|
|
22
|
+
| **first_observed_date** | **Date** | The earliest filing date the investor was named against the issuer. Null for a row only the investor's website names. | [optional] |
|
|
23
|
+
| **last_observed_date** | **Date** | The latest filing date the investor was named against the issuer. Null for a row only the investor's website names. | [optional] |
|
|
24
|
+
| **listed_from** | **Date** | 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. | [optional] |
|
|
25
|
+
| **listed_to** | **Date** | 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. | [optional] |
|
|
26
|
+
| **removal_reason** | **String** | 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. | [optional] |
|
|
27
|
+
| **is_removed** | **Boolean** | True when the investor's own page no longer lists the company (listed_to is set). SEC filings do not reopen it. | [optional] |
|
|
28
|
+
| **status_on_page** | **String** | 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. | [optional] |
|
|
29
|
+
| **status_date** | **String** | The date the page itself prints for the status, as printed (for example 2024 or March 2024). Null unless the page printed one. | [optional] |
|
|
30
|
+
| **status_first_observed_at** | **Date** | The date we first saw this status for the company on the investor's page: an observation date, never the date the event happened. | [optional] |
|
|
31
|
+
| **source_url** | **String** | The address of the investor's portfolio page the listing was read from. Null for a row only SEC filings name. | [optional] |
|
|
32
|
+
| **site_last_retrieved_at** | **Time** | When the investor's portfolio page was last retrieved with the company listed on it, in UTC. | [optional] |
|
|
19
33
|
| **is_life_sciences_issuer** | **Boolean** | 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. | [optional] |
|
|
20
34
|
|
|
21
35
|
## Example
|
|
@@ -25,8 +39,13 @@ require 'pharmaobservatory'
|
|
|
25
39
|
|
|
26
40
|
instance = PharmaObservatory::InvestorPortfolioRow.new(
|
|
27
41
|
investor_id: null,
|
|
42
|
+
company_key: null,
|
|
43
|
+
company_key_kind: null,
|
|
44
|
+
sources: null,
|
|
28
45
|
issuer_cik: null,
|
|
29
46
|
issuer_name: null,
|
|
47
|
+
company_name_as_listed: null,
|
|
48
|
+
company_website_url: null,
|
|
30
49
|
issuer_org_id: null,
|
|
31
50
|
issuer_company_id: null,
|
|
32
51
|
issuer_company_name: null,
|
|
@@ -36,6 +55,15 @@ instance = PharmaObservatory::InvestorPortfolioRow.new(
|
|
|
36
55
|
edge_count: null,
|
|
37
56
|
first_observed_date: null,
|
|
38
57
|
last_observed_date: null,
|
|
58
|
+
listed_from: null,
|
|
59
|
+
listed_to: null,
|
|
60
|
+
removal_reason: null,
|
|
61
|
+
is_removed: null,
|
|
62
|
+
status_on_page: null,
|
|
63
|
+
status_date: null,
|
|
64
|
+
status_first_observed_at: null,
|
|
65
|
+
source_url: null,
|
|
66
|
+
site_last_retrieved_at: null,
|
|
39
67
|
is_life_sciences_issuer: null
|
|
40
68
|
)
|
|
41
69
|
```
|
data/docs/InvestorsApi.md
CHANGED
|
@@ -7,7 +7,7 @@ All URIs are relative to *https://pharmaobservatory.com*
|
|
|
7
7
|
| [**investors_get**](InvestorsApi.md#investors_get) | **GET** /api/v1/investors/{id} | One investor |
|
|
8
8
|
| [**investors_institutional_holdings**](InvestorsApi.md#investors_institutional_holdings) | **GET** /api/v1/investors/{id}/institutional_holdings | Institutional holdings (SEC Form 13F) |
|
|
9
9
|
| [**investors_investor_funds**](InvestorsApi.md#investors_investor_funds) | **GET** /api/v1/investors/{id}/investor_funds | Investor private funds by type |
|
|
10
|
-
| [**investors_investor_portfolio**](InvestorsApi.md#investors_investor_portfolio) | **GET** /api/v1/investors/{id}/investor_portfolio | Investor portfolio (offering filings) |
|
|
10
|
+
| [**investors_investor_portfolio**](InvestorsApi.md#investors_investor_portfolio) | **GET** /api/v1/investors/{id}/investor_portfolio | Investor portfolio (offering filings and investor websites) |
|
|
11
11
|
| [**investors_investor_private_funds**](InvestorsApi.md#investors_investor_private_funds) | **GET** /api/v1/investors/{id}/investor_private_funds | Investor private funds |
|
|
12
12
|
| [**investors_list**](InvestorsApi.md#investors_list) | **GET** /api/v1/investors | List investors |
|
|
13
13
|
| [**investors_managers**](InvestorsApi.md#investors_managers) | **GET** /api/v1/investors/{id}/managers | Institutional managers (SEC Form 13F) |
|
|
@@ -243,7 +243,7 @@ end
|
|
|
243
243
|
|
|
244
244
|
> <InvestorPortfolioResponse> investors_investor_portfolio(id, opts)
|
|
245
245
|
|
|
246
|
-
Investor portfolio (offering filings)
|
|
246
|
+
Investor portfolio (offering filings and investor websites)
|
|
247
247
|
|
|
248
248
|
### Examples
|
|
249
249
|
|
|
@@ -267,7 +267,7 @@ opts = {
|
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
begin
|
|
270
|
-
# Investor portfolio (offering filings)
|
|
270
|
+
# Investor portfolio (offering filings and investor websites)
|
|
271
271
|
result = api_instance.investors_investor_portfolio(id, opts)
|
|
272
272
|
p result
|
|
273
273
|
rescue PharmaObservatory::ApiError => e
|
|
@@ -283,7 +283,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
|
283
283
|
|
|
284
284
|
```ruby
|
|
285
285
|
begin
|
|
286
|
-
# Investor portfolio (offering filings)
|
|
286
|
+
# Investor portfolio (offering filings and investor websites)
|
|
287
287
|
data, status_code, headers = api_instance.investors_investor_portfolio_with_http_info(id, opts)
|
|
288
288
|
p status_code # => 2xx
|
|
289
289
|
p headers # => { ... }
|
data/docs/InvestorsRow.md
CHANGED
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
| **is_life_sciences_focused_basis** | **String** | Where is_life_sciences_focused came from: human or agent (a recorded classification), override (a curator's call), edge_share (the share of its portfolio edges in life-sciences issuers) or classifier (the Form 13F biomedical value share). Null exactly when the flag is null. | [optional] |
|
|
17
17
|
| **private_fund_count** | **Integer** | Private funds the adviser reports on Form ADV Item 7.B. | [optional] |
|
|
18
18
|
| **total_private_fund_gav** | **Float** | The adviser's total private-fund gross asset value (GAV) in whole US dollars, a firm-level figure. | [optional] |
|
|
19
|
-
| **portfolio_co_count** | **Integer** | Distinct portfolio companies named against the investor in S-1 and 424B offering holder tables. 0 usually means no named-holder link was observed. | [optional] |
|
|
19
|
+
| **portfolio_co_count** | **Integer** | 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. | [optional] |
|
|
20
|
+
| **portfolio_co_removed_count** | **Integer** | 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. | [optional] |
|
|
20
21
|
| **holdings_position_count** | **Integer** | Current Form 13F positions reported by the managers that resolve to this investor, summed over its manager keys. 0 when none resolves. | [optional] |
|
|
21
22
|
| **website_url** | **String** | The adviser's own website from Form ADV Schedule D Section 1.I (scheme and host lower-cased, path kept). Null for an agency and for an adviser whose only listed pages are social-media pages. | [optional] |
|
|
22
23
|
| **website_domain** | **String** | The host of website_url with the scheme, any port and a leading www stripped, lower-cased. It is never a social-media host. | [optional] |
|
|
@@ -46,6 +47,7 @@ instance = PharmaObservatory::InvestorsRow.new(
|
|
|
46
47
|
private_fund_count: null,
|
|
47
48
|
total_private_fund_gav: null,
|
|
48
49
|
portfolio_co_count: null,
|
|
50
|
+
portfolio_co_removed_count: null,
|
|
49
51
|
holdings_position_count: null,
|
|
50
52
|
website_url: null,
|
|
51
53
|
website_domain: null,
|
|
@@ -21,6 +21,8 @@
|
|
|
21
21
|
| **last_year** | **Integer** | Latest trial start year. | [optional] |
|
|
22
22
|
| **last_update_year** | **Integer** | Year the program's most recently updated trial record was posted. | [optional] |
|
|
23
23
|
| **withdrawn** | **Boolean** | True when the drug has been withdrawn. | [optional] |
|
|
24
|
+
| **owned** | **Boolean** | 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. | [optional] |
|
|
25
|
+
| **ownership_basis** | **String** | 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. | [optional] |
|
|
24
26
|
| **cause_name** | **String** | The Global Burden of Disease cause matched to the condition. | [optional] |
|
|
25
27
|
| **dalys_millions** | **Float** | Global disability-adjusted life years for the matched cause, in millions. | [optional] |
|
|
26
28
|
| **deaths_millions** | **Float** | Global deaths for the matched cause, in millions. | [optional] |
|
|
@@ -49,6 +51,8 @@ instance = PharmaObservatory::ProgramLicensingCandidatesRow.new(
|
|
|
49
51
|
last_year: null,
|
|
50
52
|
last_update_year: null,
|
|
51
53
|
withdrawn: null,
|
|
54
|
+
owned: null,
|
|
55
|
+
ownership_basis: null,
|
|
52
56
|
cause_name: null,
|
|
53
57
|
dalys_millions: null,
|
|
54
58
|
deaths_millions: null,
|
|
@@ -1020,7 +1020,7 @@ module PharmaObservatory
|
|
|
1020
1020
|
return data, status_code, headers
|
|
1021
1021
|
end
|
|
1022
1022
|
|
|
1023
|
-
# Company
|
|
1023
|
+
# Company program overlap
|
|
1024
1024
|
# @param id [String]
|
|
1025
1025
|
# @param [Hash] opts the optional parameters
|
|
1026
1026
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -1035,7 +1035,7 @@ module PharmaObservatory
|
|
|
1035
1035
|
data
|
|
1036
1036
|
end
|
|
1037
1037
|
|
|
1038
|
-
# Company
|
|
1038
|
+
# Company program overlap
|
|
1039
1039
|
# @param id [String]
|
|
1040
1040
|
# @param [Hash] opts the optional parameters
|
|
1041
1041
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -248,7 +248,7 @@ module PharmaObservatory
|
|
|
248
248
|
return data, status_code, headers
|
|
249
249
|
end
|
|
250
250
|
|
|
251
|
-
# Investor portfolio (offering filings)
|
|
251
|
+
# Investor portfolio (offering filings and investor websites)
|
|
252
252
|
# @param id [String]
|
|
253
253
|
# @param [Hash] opts the optional parameters
|
|
254
254
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -262,7 +262,7 @@ module PharmaObservatory
|
|
|
262
262
|
data
|
|
263
263
|
end
|
|
264
264
|
|
|
265
|
-
# Investor portfolio (offering filings)
|
|
265
|
+
# Investor portfolio (offering filings and investor websites)
|
|
266
266
|
# @param id [String]
|
|
267
267
|
# @param [Hash] opts the optional parameters
|
|
268
268
|
# @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
|
|
@@ -22,7 +22,7 @@ module PharmaObservatory
|
|
|
22
22
|
# The company's display name: its own legal entity's name where one is known.
|
|
23
23
|
attr_accessor :company_name
|
|
24
24
|
|
|
25
|
-
# Which source supplied the name: gleif_legal_name, edgar_registrant, ror or sponsor_display_name.
|
|
25
|
+
# Which source supplied the name: gleif_legal_name, edgar_registrant, ror, edgar_current_name or sponsor_display_name.
|
|
26
26
|
attr_accessor :name_basis
|
|
27
27
|
|
|
28
28
|
# Country of the company's own legal entity, as the source states it.
|
|
@@ -55,6 +55,12 @@ module PharmaObservatory
|
|
|
55
55
|
# True when the drug has been withdrawn from the market.
|
|
56
56
|
attr_accessor :withdrawn
|
|
57
57
|
|
|
58
|
+
# 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.
|
|
59
|
+
attr_accessor :owned
|
|
60
|
+
|
|
61
|
+
# 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.
|
|
62
|
+
attr_accessor :ownership_basis
|
|
63
|
+
|
|
58
64
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
59
65
|
def self.attribute_map
|
|
60
66
|
{
|
|
@@ -70,7 +76,9 @@ module PharmaObservatory
|
|
|
70
76
|
:'n_trials' => :'n_trials',
|
|
71
77
|
:'n_active' => :'n_active',
|
|
72
78
|
:'last_year' => :'last_year',
|
|
73
|
-
:'withdrawn' => :'withdrawn'
|
|
79
|
+
:'withdrawn' => :'withdrawn',
|
|
80
|
+
:'owned' => :'owned',
|
|
81
|
+
:'ownership_basis' => :'ownership_basis'
|
|
74
82
|
}
|
|
75
83
|
end
|
|
76
84
|
|
|
@@ -99,7 +107,9 @@ module PharmaObservatory
|
|
|
99
107
|
:'n_trials' => :'Integer',
|
|
100
108
|
:'n_active' => :'Integer',
|
|
101
109
|
:'last_year' => :'Integer',
|
|
102
|
-
:'withdrawn' => :'Boolean'
|
|
110
|
+
:'withdrawn' => :'Boolean',
|
|
111
|
+
:'owned' => :'Boolean',
|
|
112
|
+
:'ownership_basis' => :'String'
|
|
103
113
|
}
|
|
104
114
|
end
|
|
105
115
|
|
|
@@ -118,7 +128,9 @@ module PharmaObservatory
|
|
|
118
128
|
:'n_trials',
|
|
119
129
|
:'n_active',
|
|
120
130
|
:'last_year',
|
|
121
|
-
:'withdrawn'
|
|
131
|
+
:'withdrawn',
|
|
132
|
+
:'owned',
|
|
133
|
+
:'ownership_basis'
|
|
122
134
|
])
|
|
123
135
|
end
|
|
124
136
|
|
|
@@ -189,6 +201,14 @@ module PharmaObservatory
|
|
|
189
201
|
if attributes.key?(:'withdrawn')
|
|
190
202
|
self.withdrawn = attributes[:'withdrawn']
|
|
191
203
|
end
|
|
204
|
+
|
|
205
|
+
if attributes.key?(:'owned')
|
|
206
|
+
self.owned = attributes[:'owned']
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
if attributes.key?(:'ownership_basis')
|
|
210
|
+
self.ownership_basis = attributes[:'ownership_basis']
|
|
211
|
+
end
|
|
192
212
|
end
|
|
193
213
|
|
|
194
214
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -223,7 +243,9 @@ module PharmaObservatory
|
|
|
223
243
|
n_trials == o.n_trials &&
|
|
224
244
|
n_active == o.n_active &&
|
|
225
245
|
last_year == o.last_year &&
|
|
226
|
-
withdrawn == o.withdrawn
|
|
246
|
+
withdrawn == o.withdrawn &&
|
|
247
|
+
owned == o.owned &&
|
|
248
|
+
ownership_basis == o.ownership_basis
|
|
227
249
|
end
|
|
228
250
|
|
|
229
251
|
# @see the `==` method
|
|
@@ -235,7 +257,7 @@ module PharmaObservatory
|
|
|
235
257
|
# Calculates hash code according to all attributes.
|
|
236
258
|
# @return [Integer] Hash code
|
|
237
259
|
def hash
|
|
238
|
-
[sponsor_org_id, sponsor_name, sponsor_company_id, sponsor_company_name, sponsor_group_id, sponsor_group_name, drug_id, drug_name, max_phase, n_trials, n_active, last_year, withdrawn].hash
|
|
260
|
+
[sponsor_org_id, sponsor_name, sponsor_company_id, sponsor_company_name, sponsor_group_id, sponsor_group_name, drug_id, drug_name, max_phase, n_trials, n_active, last_year, withdrawn, owned, ownership_basis].hash
|
|
239
261
|
end
|
|
240
262
|
|
|
241
263
|
# Builds the object from hash
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PharmaObservatory
|
|
17
|
-
# One row of the company_competitors dataset: one row per ordered company pair: a company and one of
|
|
17
|
+
# One row of the company_competitors dataset: one row per ordered company pair: a company and one of the top 25 companies of each competitor_class by program overlap. A grouped request returns the group columns and the measures instead, as additional properties.
|
|
18
18
|
class CompanyCompetitorsRow
|
|
19
19
|
# Company level: the company the row is about; the entry key for the companies object type.
|
|
20
20
|
attr_accessor :company_id
|
|
@@ -40,7 +40,13 @@ module PharmaObservatory
|
|
|
40
40
|
# Display name of the competitor's group.
|
|
41
41
|
attr_accessor :competitor_group_name
|
|
42
42
|
|
|
43
|
-
# The competitor's
|
|
43
|
+
# The competitor's class: industry, or non_industry (not classed as industry by the sponsor-class rule: academic, hospital, government, nonprofit, and any record the rule does not reach). competitor_rank restarts at 1 within each class, so filter or sort on this column first.
|
|
44
|
+
attr_accessor :competitor_class
|
|
45
|
+
|
|
46
|
+
# How many companies of this competitor_class were candidates (a shared target, or an indication overlap above the similarity floor) before the top 25 were kept. The same value on every row of one company and class.
|
|
47
|
+
attr_accessor :n_class_candidates
|
|
48
|
+
|
|
49
|
+
# The competitor's rank within its competitor_class for the company by competitor_score (1 is the highest).
|
|
44
50
|
attr_accessor :competitor_rank
|
|
45
51
|
|
|
46
52
|
# 100 times the weighted mean of the four similarities below, rounded to four places.
|
|
@@ -102,6 +108,8 @@ module PharmaObservatory
|
|
|
102
108
|
:'competitor_company_name' => :'competitor_company_name',
|
|
103
109
|
:'competitor_group_id' => :'competitor_group_id',
|
|
104
110
|
:'competitor_group_name' => :'competitor_group_name',
|
|
111
|
+
:'competitor_class' => :'competitor_class',
|
|
112
|
+
:'n_class_candidates' => :'n_class_candidates',
|
|
105
113
|
:'competitor_rank' => :'competitor_rank',
|
|
106
114
|
:'competitor_score' => :'competitor_score',
|
|
107
115
|
:'target_sim' => :'target_sim',
|
|
@@ -143,6 +151,8 @@ module PharmaObservatory
|
|
|
143
151
|
:'competitor_company_name' => :'String',
|
|
144
152
|
:'competitor_group_id' => :'String',
|
|
145
153
|
:'competitor_group_name' => :'String',
|
|
154
|
+
:'competitor_class' => :'String',
|
|
155
|
+
:'n_class_candidates' => :'Integer',
|
|
146
156
|
:'competitor_rank' => :'Integer',
|
|
147
157
|
:'competitor_score' => :'Float',
|
|
148
158
|
:'target_sim' => :'Float',
|
|
@@ -174,6 +184,8 @@ module PharmaObservatory
|
|
|
174
184
|
:'competitor_company_name',
|
|
175
185
|
:'competitor_group_id',
|
|
176
186
|
:'competitor_group_name',
|
|
187
|
+
:'competitor_class',
|
|
188
|
+
:'n_class_candidates',
|
|
177
189
|
:'competitor_rank',
|
|
178
190
|
:'competitor_score',
|
|
179
191
|
:'target_sim',
|
|
@@ -242,6 +254,14 @@ module PharmaObservatory
|
|
|
242
254
|
self.competitor_group_name = attributes[:'competitor_group_name']
|
|
243
255
|
end
|
|
244
256
|
|
|
257
|
+
if attributes.key?(:'competitor_class')
|
|
258
|
+
self.competitor_class = attributes[:'competitor_class']
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
if attributes.key?(:'n_class_candidates')
|
|
262
|
+
self.n_class_candidates = attributes[:'n_class_candidates']
|
|
263
|
+
end
|
|
264
|
+
|
|
245
265
|
if attributes.key?(:'competitor_rank')
|
|
246
266
|
self.competitor_rank = attributes[:'competitor_rank']
|
|
247
267
|
end
|
|
@@ -345,6 +365,8 @@ module PharmaObservatory
|
|
|
345
365
|
competitor_company_name == o.competitor_company_name &&
|
|
346
366
|
competitor_group_id == o.competitor_group_id &&
|
|
347
367
|
competitor_group_name == o.competitor_group_name &&
|
|
368
|
+
competitor_class == o.competitor_class &&
|
|
369
|
+
n_class_candidates == o.n_class_candidates &&
|
|
348
370
|
competitor_rank == o.competitor_rank &&
|
|
349
371
|
competitor_score == o.competitor_score &&
|
|
350
372
|
target_sim == o.target_sim &&
|
|
@@ -373,7 +395,7 @@ module PharmaObservatory
|
|
|
373
395
|
# Calculates hash code according to all attributes.
|
|
374
396
|
# @return [Integer] Hash code
|
|
375
397
|
def hash
|
|
376
|
-
[company_id, company_name, group_id, group_name, competitor_company_id, competitor_company_name, competitor_group_id, competitor_group_name, competitor_rank, competitor_score, target_sim, mechanism_sim, indication_sim, phase_sim, n_shared_targets, n_shared_mechanisms, n_shared_indications, n_phase_overlap_targets, n_company_targets, n_competitor_targets, n_company_indications, n_competitor_indications, top_shared_targets, top_shared_indications, top_shared_mechanisms].hash
|
|
398
|
+
[company_id, company_name, group_id, group_name, competitor_company_id, competitor_company_name, competitor_group_id, competitor_group_name, competitor_class, n_class_candidates, competitor_rank, competitor_score, target_sim, mechanism_sim, indication_sim, phase_sim, n_shared_targets, n_shared_mechanisms, n_shared_indications, n_phase_overlap_targets, n_company_targets, n_competitor_targets, n_company_indications, n_competitor_indications, top_shared_targets, top_shared_indications, top_shared_mechanisms].hash
|
|
377
399
|
end
|
|
378
400
|
|
|
379
401
|
# Builds the object from hash
|
|
@@ -64,6 +64,12 @@ module PharmaObservatory
|
|
|
64
64
|
# approved, active or abandoned.
|
|
65
65
|
attr_accessor :lifecycle
|
|
66
66
|
|
|
67
|
+
# 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.
|
|
68
|
+
attr_accessor :owned
|
|
69
|
+
|
|
70
|
+
# 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.
|
|
71
|
+
attr_accessor :ownership_basis
|
|
72
|
+
|
|
67
73
|
# Disability-adjusted life years (DALYs, millions) of the condition's global burden, from the Global Burden of Disease (GBD) 2021 study of the Institute for Health Metrics and Evaluation (IHME). Null for a caller without the licence for this column; see withheld_columns.
|
|
68
74
|
attr_accessor :dalys_millions
|
|
69
75
|
|
|
@@ -86,6 +92,8 @@ module PharmaObservatory
|
|
|
86
92
|
:'last_year' => :'last_year',
|
|
87
93
|
:'withdrawn' => :'withdrawn',
|
|
88
94
|
:'lifecycle' => :'lifecycle',
|
|
95
|
+
:'owned' => :'owned',
|
|
96
|
+
:'ownership_basis' => :'ownership_basis',
|
|
89
97
|
:'dalys_millions' => :'dalys_millions'
|
|
90
98
|
}
|
|
91
99
|
end
|
|
@@ -119,6 +127,8 @@ module PharmaObservatory
|
|
|
119
127
|
:'last_year' => :'Integer',
|
|
120
128
|
:'withdrawn' => :'Boolean',
|
|
121
129
|
:'lifecycle' => :'String',
|
|
130
|
+
:'owned' => :'Boolean',
|
|
131
|
+
:'ownership_basis' => :'String',
|
|
122
132
|
:'dalys_millions' => :'Float'
|
|
123
133
|
}
|
|
124
134
|
end
|
|
@@ -142,6 +152,8 @@ module PharmaObservatory
|
|
|
142
152
|
:'last_year',
|
|
143
153
|
:'withdrawn',
|
|
144
154
|
:'lifecycle',
|
|
155
|
+
:'owned',
|
|
156
|
+
:'ownership_basis',
|
|
145
157
|
:'dalys_millions'
|
|
146
158
|
])
|
|
147
159
|
end
|
|
@@ -226,6 +238,14 @@ module PharmaObservatory
|
|
|
226
238
|
self.lifecycle = attributes[:'lifecycle']
|
|
227
239
|
end
|
|
228
240
|
|
|
241
|
+
if attributes.key?(:'owned')
|
|
242
|
+
self.owned = attributes[:'owned']
|
|
243
|
+
end
|
|
244
|
+
|
|
245
|
+
if attributes.key?(:'ownership_basis')
|
|
246
|
+
self.ownership_basis = attributes[:'ownership_basis']
|
|
247
|
+
end
|
|
248
|
+
|
|
229
249
|
if attributes.key?(:'dalys_millions')
|
|
230
250
|
self.dalys_millions = attributes[:'dalys_millions']
|
|
231
251
|
end
|
|
@@ -267,6 +287,8 @@ module PharmaObservatory
|
|
|
267
287
|
last_year == o.last_year &&
|
|
268
288
|
withdrawn == o.withdrawn &&
|
|
269
289
|
lifecycle == o.lifecycle &&
|
|
290
|
+
owned == o.owned &&
|
|
291
|
+
ownership_basis == o.ownership_basis &&
|
|
270
292
|
dalys_millions == o.dalys_millions
|
|
271
293
|
end
|
|
272
294
|
|
|
@@ -279,7 +301,7 @@ module PharmaObservatory
|
|
|
279
301
|
# Calculates hash code according to all attributes.
|
|
280
302
|
# @return [Integer] Hash code
|
|
281
303
|
def hash
|
|
282
|
-
[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, max_phase, n_trials, n_active, last_year, withdrawn, lifecycle, dalys_millions].hash
|
|
304
|
+
[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, max_phase, n_trials, n_active, last_year, withdrawn, lifecycle, owned, ownership_basis, dalys_millions].hash
|
|
283
305
|
end
|
|
284
306
|
|
|
285
307
|
# Builds the object from hash
|
|
@@ -14,44 +14,86 @@ 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
|
+
# The address of the investor's portfolio page the listing was read from. Null for a row only SEC filings name.
|
|
92
|
+
attr_accessor :source_url
|
|
93
|
+
|
|
94
|
+
# When the investor's portfolio page was last retrieved with the company listed on it, in UTC.
|
|
95
|
+
attr_accessor :site_last_retrieved_at
|
|
96
|
+
|
|
55
97
|
# 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
98
|
attr_accessor :is_life_sciences_issuer
|
|
57
99
|
|
|
@@ -59,8 +101,13 @@ module PharmaObservatory
|
|
|
59
101
|
def self.attribute_map
|
|
60
102
|
{
|
|
61
103
|
:'investor_id' => :'investor_id',
|
|
104
|
+
:'company_key' => :'company_key',
|
|
105
|
+
:'company_key_kind' => :'company_key_kind',
|
|
106
|
+
:'sources' => :'sources',
|
|
62
107
|
:'issuer_cik' => :'issuer_cik',
|
|
63
108
|
:'issuer_name' => :'issuer_name',
|
|
109
|
+
:'company_name_as_listed' => :'company_name_as_listed',
|
|
110
|
+
:'company_website_url' => :'company_website_url',
|
|
64
111
|
:'issuer_org_id' => :'issuer_org_id',
|
|
65
112
|
:'issuer_company_id' => :'issuer_company_id',
|
|
66
113
|
:'issuer_company_name' => :'issuer_company_name',
|
|
@@ -70,6 +117,15 @@ module PharmaObservatory
|
|
|
70
117
|
:'edge_count' => :'edge_count',
|
|
71
118
|
:'first_observed_date' => :'first_observed_date',
|
|
72
119
|
:'last_observed_date' => :'last_observed_date',
|
|
120
|
+
:'listed_from' => :'listed_from',
|
|
121
|
+
:'listed_to' => :'listed_to',
|
|
122
|
+
:'removal_reason' => :'removal_reason',
|
|
123
|
+
:'is_removed' => :'is_removed',
|
|
124
|
+
:'status_on_page' => :'status_on_page',
|
|
125
|
+
:'status_date' => :'status_date',
|
|
126
|
+
:'status_first_observed_at' => :'status_first_observed_at',
|
|
127
|
+
:'source_url' => :'source_url',
|
|
128
|
+
:'site_last_retrieved_at' => :'site_last_retrieved_at',
|
|
73
129
|
:'is_life_sciences_issuer' => :'is_life_sciences_issuer'
|
|
74
130
|
}
|
|
75
131
|
end
|
|
@@ -88,8 +144,13 @@ module PharmaObservatory
|
|
|
88
144
|
def self.openapi_types
|
|
89
145
|
{
|
|
90
146
|
:'investor_id' => :'String',
|
|
147
|
+
:'company_key' => :'String',
|
|
148
|
+
:'company_key_kind' => :'String',
|
|
149
|
+
:'sources' => :'Array<String>',
|
|
91
150
|
:'issuer_cik' => :'String',
|
|
92
151
|
:'issuer_name' => :'String',
|
|
152
|
+
:'company_name_as_listed' => :'String',
|
|
153
|
+
:'company_website_url' => :'String',
|
|
93
154
|
:'issuer_org_id' => :'String',
|
|
94
155
|
:'issuer_company_id' => :'String',
|
|
95
156
|
:'issuer_company_name' => :'String',
|
|
@@ -99,6 +160,15 @@ module PharmaObservatory
|
|
|
99
160
|
:'edge_count' => :'Integer',
|
|
100
161
|
:'first_observed_date' => :'Date',
|
|
101
162
|
:'last_observed_date' => :'Date',
|
|
163
|
+
:'listed_from' => :'Date',
|
|
164
|
+
:'listed_to' => :'Date',
|
|
165
|
+
:'removal_reason' => :'String',
|
|
166
|
+
:'is_removed' => :'Boolean',
|
|
167
|
+
:'status_on_page' => :'String',
|
|
168
|
+
:'status_date' => :'String',
|
|
169
|
+
:'status_first_observed_at' => :'Date',
|
|
170
|
+
:'source_url' => :'String',
|
|
171
|
+
:'site_last_retrieved_at' => :'Time',
|
|
102
172
|
:'is_life_sciences_issuer' => :'Boolean'
|
|
103
173
|
}
|
|
104
174
|
end
|
|
@@ -107,8 +177,13 @@ module PharmaObservatory
|
|
|
107
177
|
def self.openapi_nullable
|
|
108
178
|
Set.new([
|
|
109
179
|
:'investor_id',
|
|
180
|
+
:'company_key',
|
|
181
|
+
:'company_key_kind',
|
|
182
|
+
:'sources',
|
|
110
183
|
:'issuer_cik',
|
|
111
184
|
:'issuer_name',
|
|
185
|
+
:'company_name_as_listed',
|
|
186
|
+
:'company_website_url',
|
|
112
187
|
:'issuer_org_id',
|
|
113
188
|
:'issuer_company_id',
|
|
114
189
|
:'issuer_company_name',
|
|
@@ -118,6 +193,15 @@ module PharmaObservatory
|
|
|
118
193
|
:'edge_count',
|
|
119
194
|
:'first_observed_date',
|
|
120
195
|
:'last_observed_date',
|
|
196
|
+
:'listed_from',
|
|
197
|
+
:'listed_to',
|
|
198
|
+
:'removal_reason',
|
|
199
|
+
:'is_removed',
|
|
200
|
+
:'status_on_page',
|
|
201
|
+
:'status_date',
|
|
202
|
+
:'status_first_observed_at',
|
|
203
|
+
:'source_url',
|
|
204
|
+
:'site_last_retrieved_at',
|
|
121
205
|
:'is_life_sciences_issuer'
|
|
122
206
|
])
|
|
123
207
|
end
|
|
@@ -142,6 +226,20 @@ module PharmaObservatory
|
|
|
142
226
|
self.investor_id = attributes[:'investor_id']
|
|
143
227
|
end
|
|
144
228
|
|
|
229
|
+
if attributes.key?(:'company_key')
|
|
230
|
+
self.company_key = attributes[:'company_key']
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
if attributes.key?(:'company_key_kind')
|
|
234
|
+
self.company_key_kind = attributes[:'company_key_kind']
|
|
235
|
+
end
|
|
236
|
+
|
|
237
|
+
if attributes.key?(:'sources')
|
|
238
|
+
if (value = attributes[:'sources']).is_a?(Array)
|
|
239
|
+
self.sources = value
|
|
240
|
+
end
|
|
241
|
+
end
|
|
242
|
+
|
|
145
243
|
if attributes.key?(:'issuer_cik')
|
|
146
244
|
self.issuer_cik = attributes[:'issuer_cik']
|
|
147
245
|
end
|
|
@@ -150,6 +248,14 @@ module PharmaObservatory
|
|
|
150
248
|
self.issuer_name = attributes[:'issuer_name']
|
|
151
249
|
end
|
|
152
250
|
|
|
251
|
+
if attributes.key?(:'company_name_as_listed')
|
|
252
|
+
self.company_name_as_listed = attributes[:'company_name_as_listed']
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
if attributes.key?(:'company_website_url')
|
|
256
|
+
self.company_website_url = attributes[:'company_website_url']
|
|
257
|
+
end
|
|
258
|
+
|
|
153
259
|
if attributes.key?(:'issuer_org_id')
|
|
154
260
|
self.issuer_org_id = attributes[:'issuer_org_id']
|
|
155
261
|
end
|
|
@@ -188,6 +294,42 @@ module PharmaObservatory
|
|
|
188
294
|
self.last_observed_date = attributes[:'last_observed_date']
|
|
189
295
|
end
|
|
190
296
|
|
|
297
|
+
if attributes.key?(:'listed_from')
|
|
298
|
+
self.listed_from = attributes[:'listed_from']
|
|
299
|
+
end
|
|
300
|
+
|
|
301
|
+
if attributes.key?(:'listed_to')
|
|
302
|
+
self.listed_to = attributes[:'listed_to']
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
if attributes.key?(:'removal_reason')
|
|
306
|
+
self.removal_reason = attributes[:'removal_reason']
|
|
307
|
+
end
|
|
308
|
+
|
|
309
|
+
if attributes.key?(:'is_removed')
|
|
310
|
+
self.is_removed = attributes[:'is_removed']
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
if attributes.key?(:'status_on_page')
|
|
314
|
+
self.status_on_page = attributes[:'status_on_page']
|
|
315
|
+
end
|
|
316
|
+
|
|
317
|
+
if attributes.key?(:'status_date')
|
|
318
|
+
self.status_date = attributes[:'status_date']
|
|
319
|
+
end
|
|
320
|
+
|
|
321
|
+
if attributes.key?(:'status_first_observed_at')
|
|
322
|
+
self.status_first_observed_at = attributes[:'status_first_observed_at']
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
if attributes.key?(:'source_url')
|
|
326
|
+
self.source_url = attributes[:'source_url']
|
|
327
|
+
end
|
|
328
|
+
|
|
329
|
+
if attributes.key?(:'site_last_retrieved_at')
|
|
330
|
+
self.site_last_retrieved_at = attributes[:'site_last_retrieved_at']
|
|
331
|
+
end
|
|
332
|
+
|
|
191
333
|
if attributes.key?(:'is_life_sciences_issuer')
|
|
192
334
|
self.is_life_sciences_issuer = attributes[:'is_life_sciences_issuer']
|
|
193
335
|
end
|
|
@@ -214,8 +356,13 @@ module PharmaObservatory
|
|
|
214
356
|
return true if self.equal?(o)
|
|
215
357
|
self.class == o.class &&
|
|
216
358
|
investor_id == o.investor_id &&
|
|
359
|
+
company_key == o.company_key &&
|
|
360
|
+
company_key_kind == o.company_key_kind &&
|
|
361
|
+
sources == o.sources &&
|
|
217
362
|
issuer_cik == o.issuer_cik &&
|
|
218
363
|
issuer_name == o.issuer_name &&
|
|
364
|
+
company_name_as_listed == o.company_name_as_listed &&
|
|
365
|
+
company_website_url == o.company_website_url &&
|
|
219
366
|
issuer_org_id == o.issuer_org_id &&
|
|
220
367
|
issuer_company_id == o.issuer_company_id &&
|
|
221
368
|
issuer_company_name == o.issuer_company_name &&
|
|
@@ -225,6 +372,15 @@ module PharmaObservatory
|
|
|
225
372
|
edge_count == o.edge_count &&
|
|
226
373
|
first_observed_date == o.first_observed_date &&
|
|
227
374
|
last_observed_date == o.last_observed_date &&
|
|
375
|
+
listed_from == o.listed_from &&
|
|
376
|
+
listed_to == o.listed_to &&
|
|
377
|
+
removal_reason == o.removal_reason &&
|
|
378
|
+
is_removed == o.is_removed &&
|
|
379
|
+
status_on_page == o.status_on_page &&
|
|
380
|
+
status_date == o.status_date &&
|
|
381
|
+
status_first_observed_at == o.status_first_observed_at &&
|
|
382
|
+
source_url == o.source_url &&
|
|
383
|
+
site_last_retrieved_at == o.site_last_retrieved_at &&
|
|
228
384
|
is_life_sciences_issuer == o.is_life_sciences_issuer
|
|
229
385
|
end
|
|
230
386
|
|
|
@@ -237,7 +393,7 @@ module PharmaObservatory
|
|
|
237
393
|
# Calculates hash code according to all attributes.
|
|
238
394
|
# @return [Integer] Hash code
|
|
239
395
|
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
|
|
396
|
+
[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, source_url, site_last_retrieved_at, is_life_sciences_issuer].hash
|
|
241
397
|
end
|
|
242
398
|
|
|
243
399
|
# 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
|
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.12
|
|
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-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|