pharmaobservatory 0.1.12 → 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.
@@ -0,0 +1,58 @@
1
+ # PharmaObservatory::CompanyPeerProfileResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **dataset** | **String** | | |
8
+ | **grain** | **String** | | [optional] |
9
+ | **object_type** | **String** | | [optional] |
10
+ | **id** | **String** | | [optional] |
11
+ | **scope** | [**AnimalWelfareAssurancesResponseScope**](AnimalWelfareAssurancesResponseScope.md) | | [optional] |
12
+ | **columns** | [**Array<DatasetColumn>**](DatasetColumn.md) | | |
13
+ | **rows** | [**Array<CompanyPeerProfileRow>**](CompanyPeerProfileRow.md) | | |
14
+ | **total** | **Integer** | The exact count of the filtered rows on an ungrouped read, carried by the cursor; null when grouped. | [optional] |
15
+ | **next_cursor** | **String** | | [optional] |
16
+ | **sort** | **Array<String>** | | [optional] |
17
+ | **filters** | **Array<Hash<String, Object>>** | | [optional] |
18
+ | **group_by** | **Array<String>** | | [optional] |
19
+ | **measures** | **Array<String>** | | [optional] |
20
+ | **attribution** | [**Array<DatasetAttribution>**](DatasetAttribution.md) | | [optional] |
21
+ | **source_credit** | **String** | | [optional] |
22
+ | **withheld_tiers** | **Array<String>** | | [optional] |
23
+ | **withheld_columns** | **Array<String>** | | [optional] |
24
+ | **freshness** | [**AnimalWelfareAssurancesResponseFreshness**](AnimalWelfareAssurancesResponseFreshness.md) | | [optional] |
25
+ | **build** | [**AnimalWelfareAssurancesResponseBuild**](AnimalWelfareAssurancesResponseBuild.md) | | [optional] |
26
+ | **build_state** | [**DatasetBuildState**](DatasetBuildState.md) | | [optional] |
27
+ | **restriction** | **Hash<String, Object>** | | [optional] |
28
+
29
+ ## Example
30
+
31
+ ```ruby
32
+ require 'pharmaobservatory'
33
+
34
+ instance = PharmaObservatory::CompanyPeerProfileResponse.new(
35
+ dataset: null,
36
+ grain: null,
37
+ object_type: null,
38
+ id: null,
39
+ scope: null,
40
+ columns: null,
41
+ rows: null,
42
+ total: null,
43
+ next_cursor: null,
44
+ sort: null,
45
+ filters: null,
46
+ group_by: null,
47
+ measures: null,
48
+ attribution: null,
49
+ source_credit: null,
50
+ withheld_tiers: null,
51
+ withheld_columns: null,
52
+ freshness: null,
53
+ build: null,
54
+ build_state: null,
55
+ restriction: null
56
+ )
57
+ ```
58
+
@@ -0,0 +1,60 @@
1
+ # PharmaObservatory::CompanyPeerProfileRow
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **company_id** | **String** | Company level: the company the row is about; the entry key for the companies object type. | [optional] |
8
+ | **company_name** | **String** | Display name of the company. | [optional] |
9
+ | **group_id** | **String** | Group level: the company's current ultimate parent; a root's group is itself. | [optional] |
10
+ | **group_name** | **String** | Display name of the group. | [optional] |
11
+ | **peer_state** | **String** | measured when the company has at least one peer; no_live_owned_program when it has no live owned program; phase_not_reported when its live owned programs carry no phase; no_candidates when stage and modality are known and no other company shares them. | [optional] |
12
+ | **n_live_owned_programs** | **Integer** | Distinct live owned (drug, condition) programs of the company's subtree. | [optional] |
13
+ | **n_live_owned_drugs** | **Integer** | Distinct live owned drugs of the company's subtree. | [optional] |
14
+ | **lead_stage** | **String** | Furthest phase of the live owned programs: approved, phase3, phase2 (Phase 2/3 included), phase1 (Phase 1/2 included) or early_phase1. Null when no program carries a phase. | [optional] |
15
+ | **lead_max_phase** | **Integer** | The phase code behind lead_stage: 6 Phase 4 or approved, 5 Phase 3, 4 Phase 2/3, 3 Phase 2, 2 Phase 1/2, 1 Phase 1, 0 Early Phase 1. | [optional] |
16
+ | **lead_drug_id** | **String** | The canonical drug id of the lead drug, the highest-phase live owned drug (ties: most trials, then drug id). | [optional] |
17
+ | **lead_drug_name** | **String** | Name of the lead drug. | [optional] |
18
+ | **n_biologic_drugs** | **Integer** | Live owned drugs whose GSRS substance type is protein or nucleic acid. | [optional] |
19
+ | **biologic_share** | **Float** | n_biologic_drugs over n_live_owned_drugs, 0 to 1. Null when the company has no live owned drug. | [optional] |
20
+ | **modality_band** | **String** | biologic when biologic_share is at least 0.5, else non_biologic. | [optional] |
21
+ | **primary_area** | **String** | MeSH top-level category with the most live owned program trials. | [optional] |
22
+ | **primary_area_trials** | **Integer** | Live owned program trials in primary_area. | [optional] |
23
+ | **num_lead_trials** | **Integer** | Distinct lead-sponsored trials of the company's subtree. | [optional] |
24
+ | **size_band** | **String** | Band of num_lead_trials: 1-4, 5-19, 20-99 or 100+. | [optional] |
25
+ | **n_cell_candidates** | **Integer** | Other measured companies outside the company's group that share stage, modality, area and size (match level 1), before the top 10 are kept. | [optional] |
26
+ | **n_peers** | **Integer** | Peer rows kept for the company, at most 10. | [optional] |
27
+ | **coverage_measured** | **Integer** | Companies in this dataset with peer_state measured. The same value on every row. | [optional] |
28
+ | **coverage_total** | **Integer** | Companies in this dataset. The same value on every row. | [optional] |
29
+
30
+ ## Example
31
+
32
+ ```ruby
33
+ require 'pharmaobservatory'
34
+
35
+ instance = PharmaObservatory::CompanyPeerProfileRow.new(
36
+ company_id: null,
37
+ company_name: null,
38
+ group_id: null,
39
+ group_name: null,
40
+ peer_state: null,
41
+ n_live_owned_programs: null,
42
+ n_live_owned_drugs: null,
43
+ lead_stage: null,
44
+ lead_max_phase: null,
45
+ lead_drug_id: null,
46
+ lead_drug_name: null,
47
+ n_biologic_drugs: null,
48
+ biologic_share: null,
49
+ modality_band: null,
50
+ primary_area: null,
51
+ primary_area_trials: null,
52
+ num_lead_trials: null,
53
+ size_band: null,
54
+ n_cell_candidates: null,
55
+ n_peers: null,
56
+ coverage_measured: null,
57
+ coverage_total: null
58
+ )
59
+ ```
60
+
@@ -0,0 +1,58 @@
1
+ # PharmaObservatory::CompanyPeersResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **dataset** | **String** | | |
8
+ | **grain** | **String** | | [optional] |
9
+ | **object_type** | **String** | | [optional] |
10
+ | **id** | **String** | | [optional] |
11
+ | **scope** | [**AnimalWelfareAssurancesResponseScope**](AnimalWelfareAssurancesResponseScope.md) | | [optional] |
12
+ | **columns** | [**Array<DatasetColumn>**](DatasetColumn.md) | | |
13
+ | **rows** | [**Array<CompanyPeersRow>**](CompanyPeersRow.md) | | |
14
+ | **total** | **Integer** | The exact count of the filtered rows on an ungrouped read, carried by the cursor; null when grouped. | [optional] |
15
+ | **next_cursor** | **String** | | [optional] |
16
+ | **sort** | **Array<String>** | | [optional] |
17
+ | **filters** | **Array<Hash<String, Object>>** | | [optional] |
18
+ | **group_by** | **Array<String>** | | [optional] |
19
+ | **measures** | **Array<String>** | | [optional] |
20
+ | **attribution** | [**Array<DatasetAttribution>**](DatasetAttribution.md) | | [optional] |
21
+ | **source_credit** | **String** | | [optional] |
22
+ | **withheld_tiers** | **Array<String>** | | [optional] |
23
+ | **withheld_columns** | **Array<String>** | | [optional] |
24
+ | **freshness** | [**AnimalWelfareAssurancesResponseFreshness**](AnimalWelfareAssurancesResponseFreshness.md) | | [optional] |
25
+ | **build** | [**AnimalWelfareAssurancesResponseBuild**](AnimalWelfareAssurancesResponseBuild.md) | | [optional] |
26
+ | **build_state** | [**DatasetBuildState**](DatasetBuildState.md) | | [optional] |
27
+ | **restriction** | **Hash<String, Object>** | | [optional] |
28
+
29
+ ## Example
30
+
31
+ ```ruby
32
+ require 'pharmaobservatory'
33
+
34
+ instance = PharmaObservatory::CompanyPeersResponse.new(
35
+ dataset: null,
36
+ grain: null,
37
+ object_type: null,
38
+ id: null,
39
+ scope: null,
40
+ columns: null,
41
+ rows: null,
42
+ total: null,
43
+ next_cursor: null,
44
+ sort: null,
45
+ filters: null,
46
+ group_by: null,
47
+ measures: null,
48
+ attribution: null,
49
+ source_credit: null,
50
+ withheld_tiers: null,
51
+ withheld_columns: null,
52
+ freshness: null,
53
+ build: null,
54
+ build_state: null,
55
+ restriction: null
56
+ )
57
+ ```
58
+
@@ -0,0 +1,54 @@
1
+ # PharmaObservatory::CompanyPeersRow
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **company_id** | **String** | Company level: the company the row is about; the entry key for the companies object type. | [optional] |
8
+ | **company_name** | **String** | Display name of the company. | [optional] |
9
+ | **group_id** | **String** | Group level: the company's current ultimate parent; a root's group is itself. | [optional] |
10
+ | **group_name** | **String** | Display name of the group. | [optional] |
11
+ | **peer_company_id** | **String** | Company level: the peer company. | [optional] |
12
+ | **peer_company_name** | **String** | Display name of the peer company. | [optional] |
13
+ | **peer_group_id** | **String** | Group level: the peer's current ultimate parent; a root's group is itself. | [optional] |
14
+ | **peer_group_name** | **String** | Display name of the peer's group. | [optional] |
15
+ | **peer_rank** | **Integer** | The peer's rank for the company, 1 is the closest match: match_level first, then the closeness of lead-trial counts, then of biologic share. Dense 1 to N. | [optional] |
16
+ | **match_level** | **Integer** | What the peer matched the company on. 1 stage, modality, area and size; 2 stage, modality and area; 3 stage, modality and size; 4 stage and modality. Stage and modality always match. | [optional] |
17
+ | **matched_area** | **Boolean** | True when the peer shares the company's primary therapeutic area. | [optional] |
18
+ | **matched_size** | **Boolean** | True when the peer shares the company's size band. | [optional] |
19
+ | **lead_stage** | **String** | The peer's lead stage, the furthest phase of its live owned programs. Equal to the company's lead stage on every row. | [optional] |
20
+ | **lead_drug_name** | **String** | The peer's lead drug, the highest-phase live owned drug (ties: most trials). | [optional] |
21
+ | **biologic_share** | **Float** | Share, 0 to 1, of the peer's live owned drugs that are biologic (GSRS protein or nucleic acid substance type). | [optional] |
22
+ | **modality_band** | **String** | biologic when biologic_share is at least 0.5, else non_biologic. Equal to the company's band on every row. | [optional] |
23
+ | **primary_area** | **String** | The peer's primary therapeutic area: the MeSH top-level category with the most live owned program trials. | [optional] |
24
+ | **num_lead_trials** | **Integer** | Distinct lead-sponsored trials of the peer's subtree. | [optional] |
25
+ | **size_band** | **String** | Band of num_lead_trials: 1-4, 5-19, 20-99 or 100+. | [optional] |
26
+
27
+ ## Example
28
+
29
+ ```ruby
30
+ require 'pharmaobservatory'
31
+
32
+ instance = PharmaObservatory::CompanyPeersRow.new(
33
+ company_id: null,
34
+ company_name: null,
35
+ group_id: null,
36
+ group_name: null,
37
+ peer_company_id: null,
38
+ peer_company_name: null,
39
+ peer_group_id: null,
40
+ peer_group_name: null,
41
+ peer_rank: null,
42
+ match_level: null,
43
+ matched_area: null,
44
+ matched_size: null,
45
+ lead_stage: null,
46
+ lead_drug_name: null,
47
+ biologic_share: null,
48
+ modality_band: null,
49
+ primary_area: null,
50
+ num_lead_trials: null,
51
+ size_band: null
52
+ )
53
+ ```
54
+
@@ -28,6 +28,7 @@
28
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
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
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
+ | **site_evidence_verified** | **Boolean** | 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. | [optional] |
31
32
  | **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
33
  | **site_last_retrieved_at** | **Time** | When the investor's portfolio page was last retrieved with the company listed on it, in UTC. | [optional] |
33
34
  | **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] |
@@ -62,6 +63,7 @@ instance = PharmaObservatory::InvestorPortfolioRow.new(
62
63
  status_on_page: null,
63
64
  status_date: null,
64
65
  status_first_observed_at: null,
66
+ site_evidence_verified: null,
65
67
  source_url: null,
66
68
  site_last_retrieved_at: null,
67
69
  is_life_sciences_issuer: null
@@ -22,6 +22,7 @@ All URIs are relative to *https://pharmaobservatory.com*
22
22
  | [**legal_entities_inspections**](LegalEntitiesApi.md#legal_entities_inspections) | **GET** /api/v1/legal_entities/{id}/inspections | FDA inspections |
23
23
  | [**legal_entities_institutional_holdings**](LegalEntitiesApi.md#legal_entities_institutional_holdings) | **GET** /api/v1/legal_entities/{id}/institutional_holdings | Institutional holdings (SEC Form 13F) |
24
24
  | [**legal_entities_institutional_quarter_totals**](LegalEntitiesApi.md#legal_entities_institutional_quarter_totals) | **GET** /api/v1/legal_entities/{id}/institutional_quarter_totals | Institutional quarter totals (SEC Form 13F) |
25
+ | [**legal_entities_investor_portfolio**](LegalEntitiesApi.md#legal_entities_investor_portfolio) | **GET** /api/v1/legal_entities/{id}/investor_portfolio | Investor portfolio (offering filings and investor websites) |
25
26
  | [**legal_entities_legal_entity_sec_filings**](LegalEntitiesApi.md#legal_entities_legal_entity_sec_filings) | **GET** /api/v1/legal_entities/{id}/legal_entity_sec_filings | SEC filer records |
26
27
  | [**legal_entities_list**](LegalEntitiesApi.md#legal_entities_list) | **GET** /api/v1/legal_entities | List legal entities |
27
28
  | [**legal_entities_org_disclosure_trend**](LegalEntitiesApi.md#legal_entities_org_disclosure_trend) | **GET** /api/v1/legal_entities/{id}/org_disclosure_trend | Organization disclosure trend |
@@ -1460,6 +1461,85 @@ end
1460
1461
  - **Accept**: application/json
1461
1462
 
1462
1463
 
1464
+ ## legal_entities_investor_portfolio
1465
+
1466
+ > <InvestorPortfolioResponse> legal_entities_investor_portfolio(id, opts)
1467
+
1468
+ Investor portfolio (offering filings and investor websites)
1469
+
1470
+ ### Examples
1471
+
1472
+ ```ruby
1473
+ require 'time'
1474
+ require 'pharmaobservatory'
1475
+ # setup authorization
1476
+ PharmaObservatory.configure do |config|
1477
+ # Configure Bearer authorization (JWT): ApiBearerJwt
1478
+ config.access_token = 'YOUR_BEARER_TOKEN'
1479
+ end
1480
+
1481
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
1482
+ id = 'edgar:0001114448' # String |
1483
+ opts = {
1484
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
1485
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
1486
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
1487
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
1488
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
1489
+ }
1490
+
1491
+ begin
1492
+ # Investor portfolio (offering filings and investor websites)
1493
+ result = api_instance.legal_entities_investor_portfolio(id, opts)
1494
+ p result
1495
+ rescue PharmaObservatory::ApiError => e
1496
+ puts "Error when calling LegalEntitiesApi->legal_entities_investor_portfolio: #{e}"
1497
+ end
1498
+ ```
1499
+
1500
+ #### Using the legal_entities_investor_portfolio_with_http_info variant
1501
+
1502
+ This returns an Array which contains the response data, status code and headers.
1503
+
1504
+ > <Array(<InvestorPortfolioResponse>, Integer, Hash)> legal_entities_investor_portfolio_with_http_info(id, opts)
1505
+
1506
+ ```ruby
1507
+ begin
1508
+ # Investor portfolio (offering filings and investor websites)
1509
+ data, status_code, headers = api_instance.legal_entities_investor_portfolio_with_http_info(id, opts)
1510
+ p status_code # => 2xx
1511
+ p headers # => { ... }
1512
+ p data # => <InvestorPortfolioResponse>
1513
+ rescue PharmaObservatory::ApiError => e
1514
+ puts "Error when calling LegalEntitiesApi->legal_entities_investor_portfolio_with_http_info: #{e}"
1515
+ end
1516
+ ```
1517
+
1518
+ ### Parameters
1519
+
1520
+ | Name | Type | Description | Notes |
1521
+ | ---- | ---- | ----------- | ----- |
1522
+ | **id** | **String** | | |
1523
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
1524
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
1525
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
1526
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
1527
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
1528
+
1529
+ ### Return type
1530
+
1531
+ [**InvestorPortfolioResponse**](InvestorPortfolioResponse.md)
1532
+
1533
+ ### Authorization
1534
+
1535
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
1536
+
1537
+ ### HTTP request headers
1538
+
1539
+ - **Content-Type**: Not defined
1540
+ - **Accept**: application/json
1541
+
1542
+
1463
1543
  ## legal_entities_legal_entity_sec_filings
1464
1544
 
1465
1545
  > <LegalEntitySecFilingsResponse> legal_entities_legal_entity_sec_filings(id, opts)