pharmaobservatory 0.1.23 → 0.1.25

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.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -4
  3. data/docs/BiomarkerLiteratureAllResponse.md +58 -0
  4. data/docs/BiomarkerLiteratureAllRow.md +36 -0
  5. data/docs/BiomarkerLiteratureOrgsResponse.md +58 -0
  6. data/docs/BiomarkerLiteratureOrgsRow.md +34 -0
  7. data/docs/BiomarkersApi.md +160 -0
  8. data/docs/CompanyCompetitorsRow.md +1 -1
  9. data/docs/ConditionLiteratureOrgsResponse.md +58 -0
  10. data/docs/ConditionLiteratureOrgsRow.md +34 -0
  11. data/docs/ConditionLiteratureResponse.md +58 -0
  12. data/docs/ConditionLiteratureRow.md +36 -0
  13. data/docs/ConditionSiteCoverageResponse.md +58 -0
  14. data/docs/ConditionSiteCoverageRow.md +24 -0
  15. data/docs/ConditionSiteYearsResponse.md +58 -0
  16. data/docs/ConditionSiteYearsRow.md +36 -0
  17. data/docs/ConditionsApi.md +320 -0
  18. data/docs/LegalEntitiesApi.md +80 -0
  19. data/docs/OrgLiteratureResponse.md +58 -0
  20. data/docs/OrgLiteratureRow.md +40 -0
  21. data/docs/RwdInstitutionsRow.md +3 -3
  22. data/docs/RwdNetworksRow.md +1 -1
  23. data/docs/TargetLiteratureOrgsResponse.md +58 -0
  24. data/docs/TargetLiteratureOrgsRow.md +34 -0
  25. data/docs/TargetLiteratureResponse.md +58 -0
  26. data/docs/TargetLiteratureRow.md +36 -0
  27. data/docs/TargetsApi.md +160 -0
  28. data/lib/pharmaobservatory/api/biomarkers_api.rb +168 -0
  29. data/lib/pharmaobservatory/api/conditions_api.rb +336 -0
  30. data/lib/pharmaobservatory/api/legal_entities_api.rb +84 -0
  31. data/lib/pharmaobservatory/api/targets_api.rb +168 -0
  32. data/lib/pharmaobservatory/models/biomarker_literature_all_response.rb +478 -0
  33. data/lib/pharmaobservatory/models/biomarker_literature_all_row.rb +322 -0
  34. data/lib/pharmaobservatory/models/biomarker_literature_orgs_response.rb +478 -0
  35. data/lib/pharmaobservatory/models/biomarker_literature_orgs_row.rb +311 -0
  36. data/lib/pharmaobservatory/models/company_competitors_row.rb +1 -1
  37. data/lib/pharmaobservatory/models/condition_literature_orgs_response.rb +478 -0
  38. data/lib/pharmaobservatory/models/condition_literature_orgs_row.rb +311 -0
  39. data/lib/pharmaobservatory/models/condition_literature_response.rb +478 -0
  40. data/lib/pharmaobservatory/models/condition_literature_row.rb +322 -0
  41. data/lib/pharmaobservatory/models/condition_site_coverage_response.rb +478 -0
  42. data/lib/pharmaobservatory/models/condition_site_coverage_row.rb +256 -0
  43. data/lib/pharmaobservatory/models/condition_site_years_response.rb +478 -0
  44. data/lib/pharmaobservatory/models/condition_site_years_row.rb +322 -0
  45. data/lib/pharmaobservatory/models/org_literature_response.rb +478 -0
  46. data/lib/pharmaobservatory/models/org_literature_row.rb +344 -0
  47. data/lib/pharmaobservatory/models/rwd_institutions_row.rb +3 -3
  48. data/lib/pharmaobservatory/models/rwd_networks_row.rb +1 -1
  49. data/lib/pharmaobservatory/models/target_literature_orgs_response.rb +478 -0
  50. data/lib/pharmaobservatory/models/target_literature_orgs_row.rb +311 -0
  51. data/lib/pharmaobservatory/models/target_literature_response.rb +478 -0
  52. data/lib/pharmaobservatory/models/target_literature_row.rb +322 -0
  53. data/lib/pharmaobservatory/version.rb +1 -1
  54. data/lib/pharmaobservatory.rb +18 -0
  55. metadata +38 -2
@@ -30,6 +30,7 @@ All URIs are relative to *https://pharmaobservatory.com*
30
30
  | [**legal_entities_list**](LegalEntitiesApi.md#legal_entities_list) | **GET** /api/v1/legal_entities | List legal entities |
31
31
  | [**legal_entities_org_disclosure_trend**](LegalEntitiesApi.md#legal_entities_org_disclosure_trend) | **GET** /api/v1/legal_entities/{id}/org_disclosure_trend | Organization disclosure trend |
32
32
  | [**legal_entities_org_disclosures**](LegalEntitiesApi.md#legal_entities_org_disclosures) | **GET** /api/v1/legal_entities/{id}/org_disclosures | Organization disclosures (climate and diversity) |
33
+ | [**legal_entities_org_literature**](LegalEntitiesApi.md#legal_entities_org_literature) | **GET** /api/v1/legal_entities/{id}/org_literature | Organization literature by affiliation (MeSH-indexed, 2016 onward) |
33
34
  | [**legal_entities_org_relationships**](LegalEntitiesApi.md#legal_entities_org_relationships) | **GET** /api/v1/legal_entities/{id}/org_relationships | Organization relationships |
34
35
  | [**legal_entities_ownership_observations**](LegalEntitiesApi.md#legal_entities_ownership_observations) | **GET** /api/v1/legal_entities/{id}/ownership_observations | Ownership and control observations (history) |
35
36
  | [**legal_entities_ownership_percentages**](LegalEntitiesApi.md#legal_entities_ownership_percentages) | **GET** /api/v1/legal_entities/{id}/ownership_percentages | Ownership percentages |
@@ -2094,6 +2095,85 @@ end
2094
2095
  - **Accept**: application/json
2095
2096
 
2096
2097
 
2098
+ ## legal_entities_org_literature
2099
+
2100
+ > <OrgLiteratureResponse> legal_entities_org_literature(id, opts)
2101
+
2102
+ Organization literature by affiliation (MeSH-indexed, 2016 onward)
2103
+
2104
+ ### Examples
2105
+
2106
+ ```ruby
2107
+ require 'time'
2108
+ require 'pharmaobservatory'
2109
+ # setup authorization
2110
+ PharmaObservatory.configure do |config|
2111
+ # Configure Bearer authorization (JWT): ApiBearerJwt
2112
+ config.access_token = 'YOUR_BEARER_TOKEN'
2113
+ end
2114
+
2115
+ api_instance = PharmaObservatory::LegalEntitiesApi.new
2116
+ id = 'edgar:0001114448' # String |
2117
+ opts = {
2118
+ 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.
2119
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
2120
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
2121
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
2122
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
2123
+ }
2124
+
2125
+ begin
2126
+ # Organization literature by affiliation (MeSH-indexed, 2016 onward)
2127
+ result = api_instance.legal_entities_org_literature(id, opts)
2128
+ p result
2129
+ rescue PharmaObservatory::ApiError => e
2130
+ puts "Error when calling LegalEntitiesApi->legal_entities_org_literature: #{e}"
2131
+ end
2132
+ ```
2133
+
2134
+ #### Using the legal_entities_org_literature_with_http_info variant
2135
+
2136
+ This returns an Array which contains the response data, status code and headers.
2137
+
2138
+ > <Array(<OrgLiteratureResponse>, Integer, Hash)> legal_entities_org_literature_with_http_info(id, opts)
2139
+
2140
+ ```ruby
2141
+ begin
2142
+ # Organization literature by affiliation (MeSH-indexed, 2016 onward)
2143
+ data, status_code, headers = api_instance.legal_entities_org_literature_with_http_info(id, opts)
2144
+ p status_code # => 2xx
2145
+ p headers # => { ... }
2146
+ p data # => <OrgLiteratureResponse>
2147
+ rescue PharmaObservatory::ApiError => e
2148
+ puts "Error when calling LegalEntitiesApi->legal_entities_org_literature_with_http_info: #{e}"
2149
+ end
2150
+ ```
2151
+
2152
+ ### Parameters
2153
+
2154
+ | Name | Type | Description | Notes |
2155
+ | ---- | ---- | ----------- | ----- |
2156
+ | **id** | **String** | | |
2157
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
2158
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
2159
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
2160
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
2161
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
2162
+
2163
+ ### Return type
2164
+
2165
+ [**OrgLiteratureResponse**](OrgLiteratureResponse.md)
2166
+
2167
+ ### Authorization
2168
+
2169
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
2170
+
2171
+ ### HTTP request headers
2172
+
2173
+ - **Content-Type**: Not defined
2174
+ - **Accept**: application/json
2175
+
2176
+
2097
2177
  ## legal_entities_org_relationships
2098
2178
 
2099
2179
  > <OrgRelationshipsResponse> legal_entities_org_relationships(id, opts)
@@ -0,0 +1,58 @@
1
+ # PharmaObservatory::OrgLiteratureResponse
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&lt;DatasetColumn&gt;**](DatasetColumn.md) | | |
13
+ | **rows** | [**Array&lt;OrgLiteratureRow&gt;**](OrgLiteratureRow.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&lt;String&gt;** | | [optional] |
17
+ | **filters** | **Array&lt;Hash&lt;String, Object&gt;&gt;** | | [optional] |
18
+ | **group_by** | **Array&lt;String&gt;** | | [optional] |
19
+ | **measures** | **Array&lt;String&gt;** | | [optional] |
20
+ | **attribution** | [**Array&lt;DatasetAttribution&gt;**](DatasetAttribution.md) | | [optional] |
21
+ | **source_credit** | **String** | | [optional] |
22
+ | **withheld_tiers** | **Array&lt;String&gt;** | | [optional] |
23
+ | **withheld_columns** | **Array&lt;String&gt;** | | [optional] |
24
+ | **freshness** | [**AnimalWelfareAssurancesResponseFreshness**](AnimalWelfareAssurancesResponseFreshness.md) | | [optional] |
25
+ | **build** | [**AnimalWelfareAssurancesResponseBuild**](AnimalWelfareAssurancesResponseBuild.md) | | [optional] |
26
+ | **build_state** | [**DatasetBuildState**](DatasetBuildState.md) | | [optional] |
27
+ | **restriction** | **Hash&lt;String, Object&gt;** | | [optional] |
28
+
29
+ ## Example
30
+
31
+ ```ruby
32
+ require 'pharmaobservatory'
33
+
34
+ instance = PharmaObservatory::OrgLiteratureResponse.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,40 @@
1
+ # PharmaObservatory::OrgLiteratureRow
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **org_id** | **String** | Legal-entity level: the resolved parent organization record the byline names (edgar:..., ror:... or sponsor:...), the entry key for the legal_entities object type. | [optional] |
8
+ | **pmid** | **String** | The PubMed id. | [optional] |
9
+ | **title** | **String** | The paper&#39;s title. | [optional] |
10
+ | **journal_title** | **String** | The journal&#39;s title. | [optional] |
11
+ | **pub_year** | **Integer** | The publication year (2016 or later: the dataset holds recent MeSH-indexed literature). | [optional] |
12
+ | **evidence_type** | **String** | The paper&#39;s study-design label, one normalized publication type by study-design priority. | [optional] |
13
+ | **is_trial_linked** | **Boolean** | True when a registered clinical trial cites the paper; false for literature no registered trial cites. | [optional] |
14
+ | **org_arm** | **String** | company when the organization is company-typed (matched on a legal-form token in the affiliation); institution for every other organization. | [optional] |
15
+ | **match_tier** | **String** | The strongest tier that attributed a byline to the organization: legal_form or both (company arm), high or medium (institution arm). | [optional] |
16
+ | **n_bylines** | **Integer** | The number of distinct author positions on the paper whose affiliation named the organization. | [optional] |
17
+ | **citation_count** | **Integer** | Citations where iCite (the National Institutes of Health citation-metrics service) carries them; null is not measured, never zero. | [optional] |
18
+ | **relative_citation_ratio** | **Float** | The iCite Relative Citation Ratio (RCR) where measured; null is not measured. | [optional] |
19
+
20
+ ## Example
21
+
22
+ ```ruby
23
+ require 'pharmaobservatory'
24
+
25
+ instance = PharmaObservatory::OrgLiteratureRow.new(
26
+ org_id: null,
27
+ pmid: null,
28
+ title: null,
29
+ journal_title: null,
30
+ pub_year: null,
31
+ evidence_type: null,
32
+ is_trial_linked: null,
33
+ org_arm: null,
34
+ match_tier: null,
35
+ n_bylines: null,
36
+ citation_count: null,
37
+ relative_citation_ratio: null
38
+ )
39
+ ```
40
+
@@ -31,9 +31,9 @@
31
31
  | **single_declared_country_iso2** | **String** | The ISO 3166-1 alpha-2 code when the entry declares exactly one country, null otherwise. | [optional] |
32
32
  | **institution_website** | **String** | The institution&#39;s website as the register holds it. | [optional] |
33
33
  | **catalogue_url** | **String** | The address of this entry on the HMA-EMA catalogue site (the register&#39;s URL LINK). | [optional] |
34
- | **open_to_industry_funded_research** | **Boolean** | Whether the institution declares it is open to industry-funded research; null on a catalogue name entry, where the export writes a default No that is not an answer. | [optional] |
35
- | **collects_data_directly_from_patients** | **Boolean** | Whether the institution declares it collects data directly from patients; null on a catalogue name entry. | [optional] |
36
- | **is_encepp_partner** | **Boolean** | Whether the entry declares an ENCePP partnership; null on a catalogue name entry, where the export writes a default No that is not an answer. | [optional] |
34
+ | **open_to_industry_funded_research** | **Boolean** | The register export&#39;s Yes or No to whether the institution is open to industry-funded research. The export cannot tell an unanswered question from No, so a false is register export: No, not a decline. Null on a catalogue name entry, where the export writes a default No that is not an answer. | [optional] |
35
+ | **collects_data_directly_from_patients** | **Boolean** | The register export&#39;s Yes or No to whether the institution collects data directly from patients. The export cannot tell an unanswered question from No, so a false is register export: No. Null on a catalogue name entry. | [optional] |
36
+ | **is_encepp_partner** | **Boolean** | The register export&#39;s Yes or No to whether the entry is an ENCePP partner. The export cannot tell an unanswered question from No, so a false is register export: No. Null on a catalogue name entry, where the export writes a default No that is not an answer. | [optional] |
37
37
  | **record_updated_at** | **Time** | When the registrant last edited this catalogue entry. A different clock from last_refreshed_on: it dates the web form, not the database. | [optional] |
38
38
  | **record_updated_is_mass_edit** | **Boolean** | True when the record&#39;s last update date is a mass-edit date: one shared by an outsized part of the register, so it dates a migration and not the registrant. | [optional] |
39
39
  | **record_updated_at_attested** | **Time** | record_updated_at with the mass-edit dates removed (null for a mass-edit date or no timestamp): the column to sort a freshness question on. | [optional] |
@@ -17,7 +17,7 @@
17
17
  | **sources_of_funding** | **String** | The sources of funding the network declares, as typed. | [optional] |
18
18
  | **network_website** | **String** | The network&#39;s website as the register holds it. | [optional] |
19
19
  | **catalogue_url** | **String** | The address of this entry on the HMA-EMA catalogue site (the register&#39;s URL LINK). | [optional] |
20
- | **is_encepp_partner** | **Boolean** | Whether the entry declares an ENCePP partnership; null on a catalogue name entry, where the export writes a default No that is not an answer. | [optional] |
20
+ | **is_encepp_partner** | **Boolean** | The register export&#39;s Yes or No to whether the entry is an ENCePP partner. The export cannot tell an unanswered question from No, so a false is register export: No. Null on a catalogue name entry, where the export writes a default No that is not an answer. | [optional] |
21
21
  | **declared_member_count** | **Integer** | How many member institutions the network&#39;s own list names; zero says the network named nobody, not that it has no members. | [optional] |
22
22
  | **declared_member_name_keys** | **Array&lt;String&gt;** | The normalised name keys of the declared members. | [optional] |
23
23
  | **declared_member_names** | **Array&lt;String&gt;** | The names of the declared members as the register spells them. | [optional] |
@@ -0,0 +1,58 @@
1
+ # PharmaObservatory::TargetLiteratureOrgsResponse
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&lt;DatasetColumn&gt;**](DatasetColumn.md) | | |
13
+ | **rows** | [**Array&lt;TargetLiteratureOrgsRow&gt;**](TargetLiteratureOrgsRow.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&lt;String&gt;** | | [optional] |
17
+ | **filters** | **Array&lt;Hash&lt;String, Object&gt;&gt;** | | [optional] |
18
+ | **group_by** | **Array&lt;String&gt;** | | [optional] |
19
+ | **measures** | **Array&lt;String&gt;** | | [optional] |
20
+ | **attribution** | [**Array&lt;DatasetAttribution&gt;**](DatasetAttribution.md) | | [optional] |
21
+ | **source_credit** | **String** | | [optional] |
22
+ | **withheld_tiers** | **Array&lt;String&gt;** | | [optional] |
23
+ | **withheld_columns** | **Array&lt;String&gt;** | | [optional] |
24
+ | **freshness** | [**AnimalWelfareAssurancesResponseFreshness**](AnimalWelfareAssurancesResponseFreshness.md) | | [optional] |
25
+ | **build** | [**AnimalWelfareAssurancesResponseBuild**](AnimalWelfareAssurancesResponseBuild.md) | | [optional] |
26
+ | **build_state** | [**DatasetBuildState**](DatasetBuildState.md) | | [optional] |
27
+ | **restriction** | **Hash&lt;String, Object&gt;** | | [optional] |
28
+
29
+ ## Example
30
+
31
+ ```ruby
32
+ require 'pharmaobservatory'
33
+
34
+ instance = PharmaObservatory::TargetLiteratureOrgsResponse.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,34 @@
1
+ # PharmaObservatory::TargetLiteratureOrgsRow
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **target_id** | **String** | The target&#39;s Ensembl gene id (ENSG followed by eleven digits): the entry key for the targets object type. | [optional] |
8
+ | **org_id** | **String** | Legal-entity level: the resolved parent organization record the byline names. | [optional] |
9
+ | **org_name** | **String** | The organization&#39;s name. | [optional] |
10
+ | **org_type** | **String** | The organization&#39;s type. | [optional] |
11
+ | **org_country** | **String** | The organization&#39;s country code (null when not recorded). | [optional] |
12
+ | **n_papers** | **Integer** | Distinct papers naming the organization on a byline. | [optional] |
13
+ | **n_trial_linked_papers** | **Integer** | The part of n_papers a registered clinical trial cites. | [optional] |
14
+ | **latest_pub_year** | **Integer** | The newest publication year among those papers. | [optional] |
15
+ | **org_arm** | **String** | company when the organization is company-typed; institution for every other organization. | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'pharmaobservatory'
21
+
22
+ instance = PharmaObservatory::TargetLiteratureOrgsRow.new(
23
+ target_id: null,
24
+ org_id: null,
25
+ org_name: null,
26
+ org_type: null,
27
+ org_country: null,
28
+ n_papers: null,
29
+ n_trial_linked_papers: null,
30
+ latest_pub_year: null,
31
+ org_arm: null
32
+ )
33
+ ```
34
+
@@ -0,0 +1,58 @@
1
+ # PharmaObservatory::TargetLiteratureResponse
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&lt;DatasetColumn&gt;**](DatasetColumn.md) | | |
13
+ | **rows** | [**Array&lt;TargetLiteratureRow&gt;**](TargetLiteratureRow.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&lt;String&gt;** | | [optional] |
17
+ | **filters** | **Array&lt;Hash&lt;String, Object&gt;&gt;** | | [optional] |
18
+ | **group_by** | **Array&lt;String&gt;** | | [optional] |
19
+ | **measures** | **Array&lt;String&gt;** | | [optional] |
20
+ | **attribution** | [**Array&lt;DatasetAttribution&gt;**](DatasetAttribution.md) | | [optional] |
21
+ | **source_credit** | **String** | | [optional] |
22
+ | **withheld_tiers** | **Array&lt;String&gt;** | | [optional] |
23
+ | **withheld_columns** | **Array&lt;String&gt;** | | [optional] |
24
+ | **freshness** | [**AnimalWelfareAssurancesResponseFreshness**](AnimalWelfareAssurancesResponseFreshness.md) | | [optional] |
25
+ | **build** | [**AnimalWelfareAssurancesResponseBuild**](AnimalWelfareAssurancesResponseBuild.md) | | [optional] |
26
+ | **build_state** | [**DatasetBuildState**](DatasetBuildState.md) | | [optional] |
27
+ | **restriction** | **Hash&lt;String, Object&gt;** | | [optional] |
28
+
29
+ ## Example
30
+
31
+ ```ruby
32
+ require 'pharmaobservatory'
33
+
34
+ instance = PharmaObservatory::TargetLiteratureResponse.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,36 @@
1
+ # PharmaObservatory::TargetLiteratureRow
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **target_id** | **String** | The target&#39;s Ensembl gene id (ENSG followed by eleven digits): the entry key for the targets object type. | [optional] |
8
+ | **target_symbol** | **String** | The target&#39;s HGNC gene symbol. | [optional] |
9
+ | **pmid** | **String** | The PubMed id. | [optional] |
10
+ | **title** | **String** | The paper&#39;s title. | [optional] |
11
+ | **journal_title** | **String** | The journal&#39;s title. | [optional] |
12
+ | **pub_year** | **Integer** | The publication year (2016 or later: the dataset holds recent MeSH-indexed literature). | [optional] |
13
+ | **evidence_type** | **String** | The paper&#39;s study-design label, one normalized publication type by study-design priority. | [optional] |
14
+ | **is_trial_linked** | **Boolean** | True when a registered clinical trial cites the paper; false for literature no registered trial cites. | [optional] |
15
+ | **citation_count** | **Integer** | Citations where iCite (the National Institutes of Health citation-metrics service) carries them; null is not measured, never zero. | [optional] |
16
+ | **relative_citation_ratio** | **Float** | The iCite Relative Citation Ratio (RCR) where measured; null is not measured. | [optional] |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'pharmaobservatory'
22
+
23
+ instance = PharmaObservatory::TargetLiteratureRow.new(
24
+ target_id: null,
25
+ target_symbol: null,
26
+ pmid: null,
27
+ title: null,
28
+ journal_title: null,
29
+ pub_year: null,
30
+ evidence_type: null,
31
+ is_trial_linked: null,
32
+ citation_count: null,
33
+ relative_citation_ratio: null
34
+ )
35
+ ```
36
+
data/docs/TargetsApi.md CHANGED
@@ -13,6 +13,8 @@ All URIs are relative to *https://pharmaobservatory.com*
13
13
  | [**targets_target_drugs**](TargetsApi.md#targets_target_drugs) | **GET** /api/v1/targets/{id}/target_drugs | Drugs acting on a target |
14
14
  | [**targets_target_evidence**](TargetsApi.md#targets_target_evidence) | **GET** /api/v1/targets/{id}/target_evidence | Target evidence |
15
15
  | [**targets_target_investigators**](TargetsApi.md#targets_target_investigators) | **GET** /api/v1/targets/{id}/target_investigators | Investigators on a target&#39;s trials |
16
+ | [**targets_target_literature**](TargetsApi.md#targets_target_literature) | **GET** /api/v1/targets/{id}/target_literature | Target literature (MeSH-indexed, 2016 onward) |
17
+ | [**targets_target_literature_orgs**](TargetsApi.md#targets_target_literature_orgs) | **GET** /api/v1/targets/{id}/target_literature_orgs | Target literature, most active institutions |
16
18
  | [**targets_target_patent_mentions**](TargetsApi.md#targets_target_patent_mentions) | **GET** /api/v1/targets/{id}/target_patent_mentions | Target patent mentions |
17
19
  | [**targets_target_programs**](TargetsApi.md#targets_target_programs) | **GET** /api/v1/targets/{id}/target_programs | Target development programs |
18
20
  | [**targets_target_publications**](TargetsApi.md#targets_target_publications) | **GET** /api/v1/targets/{id}/target_publications | Target publications |
@@ -717,6 +719,164 @@ end
717
719
  - **Accept**: application/json
718
720
 
719
721
 
722
+ ## targets_target_literature
723
+
724
+ > <TargetLiteratureResponse> targets_target_literature(id, opts)
725
+
726
+ Target literature (MeSH-indexed, 2016 onward)
727
+
728
+ ### Examples
729
+
730
+ ```ruby
731
+ require 'time'
732
+ require 'pharmaobservatory'
733
+ # setup authorization
734
+ PharmaObservatory.configure do |config|
735
+ # Configure Bearer authorization (JWT): ApiBearerJwt
736
+ config.access_token = 'YOUR_BEARER_TOKEN'
737
+ end
738
+
739
+ api_instance = PharmaObservatory::TargetsApi.new
740
+ id = 'ENSG00000171759' # String |
741
+ opts = {
742
+ 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.
743
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
744
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
745
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
746
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
747
+ }
748
+
749
+ begin
750
+ # Target literature (MeSH-indexed, 2016 onward)
751
+ result = api_instance.targets_target_literature(id, opts)
752
+ p result
753
+ rescue PharmaObservatory::ApiError => e
754
+ puts "Error when calling TargetsApi->targets_target_literature: #{e}"
755
+ end
756
+ ```
757
+
758
+ #### Using the targets_target_literature_with_http_info variant
759
+
760
+ This returns an Array which contains the response data, status code and headers.
761
+
762
+ > <Array(<TargetLiteratureResponse>, Integer, Hash)> targets_target_literature_with_http_info(id, opts)
763
+
764
+ ```ruby
765
+ begin
766
+ # Target literature (MeSH-indexed, 2016 onward)
767
+ data, status_code, headers = api_instance.targets_target_literature_with_http_info(id, opts)
768
+ p status_code # => 2xx
769
+ p headers # => { ... }
770
+ p data # => <TargetLiteratureResponse>
771
+ rescue PharmaObservatory::ApiError => e
772
+ puts "Error when calling TargetsApi->targets_target_literature_with_http_info: #{e}"
773
+ end
774
+ ```
775
+
776
+ ### Parameters
777
+
778
+ | Name | Type | Description | Notes |
779
+ | ---- | ---- | ----------- | ----- |
780
+ | **id** | **String** | | |
781
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
782
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
783
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
784
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
785
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
786
+
787
+ ### Return type
788
+
789
+ [**TargetLiteratureResponse**](TargetLiteratureResponse.md)
790
+
791
+ ### Authorization
792
+
793
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
794
+
795
+ ### HTTP request headers
796
+
797
+ - **Content-Type**: Not defined
798
+ - **Accept**: application/json
799
+
800
+
801
+ ## targets_target_literature_orgs
802
+
803
+ > <TargetLiteratureOrgsResponse> targets_target_literature_orgs(id, opts)
804
+
805
+ Target literature, most active institutions
806
+
807
+ ### Examples
808
+
809
+ ```ruby
810
+ require 'time'
811
+ require 'pharmaobservatory'
812
+ # setup authorization
813
+ PharmaObservatory.configure do |config|
814
+ # Configure Bearer authorization (JWT): ApiBearerJwt
815
+ config.access_token = 'YOUR_BEARER_TOKEN'
816
+ end
817
+
818
+ api_instance = PharmaObservatory::TargetsApi.new
819
+ id = 'ENSG00000171759' # String |
820
+ opts = {
821
+ 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.
822
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
823
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
824
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
825
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
826
+ }
827
+
828
+ begin
829
+ # Target literature, most active institutions
830
+ result = api_instance.targets_target_literature_orgs(id, opts)
831
+ p result
832
+ rescue PharmaObservatory::ApiError => e
833
+ puts "Error when calling TargetsApi->targets_target_literature_orgs: #{e}"
834
+ end
835
+ ```
836
+
837
+ #### Using the targets_target_literature_orgs_with_http_info variant
838
+
839
+ This returns an Array which contains the response data, status code and headers.
840
+
841
+ > <Array(<TargetLiteratureOrgsResponse>, Integer, Hash)> targets_target_literature_orgs_with_http_info(id, opts)
842
+
843
+ ```ruby
844
+ begin
845
+ # Target literature, most active institutions
846
+ data, status_code, headers = api_instance.targets_target_literature_orgs_with_http_info(id, opts)
847
+ p status_code # => 2xx
848
+ p headers # => { ... }
849
+ p data # => <TargetLiteratureOrgsResponse>
850
+ rescue PharmaObservatory::ApiError => e
851
+ puts "Error when calling TargetsApi->targets_target_literature_orgs_with_http_info: #{e}"
852
+ end
853
+ ```
854
+
855
+ ### Parameters
856
+
857
+ | Name | Type | Description | Notes |
858
+ | ---- | ---- | ----------- | ----- |
859
+ | **id** | **String** | | |
860
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
861
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
862
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
863
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
864
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
865
+
866
+ ### Return type
867
+
868
+ [**TargetLiteratureOrgsResponse**](TargetLiteratureOrgsResponse.md)
869
+
870
+ ### Authorization
871
+
872
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
873
+
874
+ ### HTTP request headers
875
+
876
+ - **Content-Type**: Not defined
877
+ - **Accept**: application/json
878
+
879
+
720
880
  ## targets_target_patent_mentions
721
881
 
722
882
  > <TargetPatentMentionsResponse> targets_target_patent_mentions(id, opts)