pharmaobservatory 0.1.22 → 0.1.23

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 (47) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +26 -4
  3. data/docs/InvestigatorsApi.md +80 -0
  4. data/docs/ProviderRwdDeliveryRow.md +2 -0
  5. data/docs/ProviderRwdDeliveryStudyRow.md +2 -0
  6. data/docs/ProviderRwdFootprintRow.md +2 -0
  7. data/docs/RwdConductorsApi.md +160 -0
  8. data/docs/RwdSourcesRow.md +1 -1
  9. data/docs/RwdStudiesApi.md +80 -0
  10. data/docs/RwdUsNetworkMembershipsResponse.md +58 -0
  11. data/docs/RwdUsNetworkMembershipsRow.md +98 -0
  12. data/docs/RwdUsNetworkProjectsResponse.md +58 -0
  13. data/docs/RwdUsNetworkProjectsRow.md +80 -0
  14. data/docs/RwdUsNetworksApi.md +313 -0
  15. data/docs/RwdUsNetworksRecord.md +38 -0
  16. data/docs/RwdUsNetworksResponse.md +58 -0
  17. data/docs/RwdUsNetworksRow.md +60 -0
  18. data/docs/SupplierRwdDeclarationsResponse.md +58 -0
  19. data/docs/SupplierRwdDeclarationsRow.md +74 -0
  20. data/docs/SuppliersApi.md +160 -0
  21. data/docs/TrialPublicationsResponse.md +58 -0
  22. data/docs/TrialPublicationsRow.md +34 -0
  23. data/docs/TrialsApi.md +80 -0
  24. data/lib/pharmaobservatory/api/investigators_api.rb +84 -0
  25. data/lib/pharmaobservatory/api/rwd_conductors_api.rb +168 -0
  26. data/lib/pharmaobservatory/api/rwd_studies_api.rb +84 -0
  27. data/lib/pharmaobservatory/api/rwd_us_networks_api.rb +329 -0
  28. data/lib/pharmaobservatory/api/suppliers_api.rb +168 -0
  29. data/lib/pharmaobservatory/api/trials_api.rb +84 -0
  30. data/lib/pharmaobservatory/models/provider_rwd_delivery_row.rb +12 -1
  31. data/lib/pharmaobservatory/models/provider_rwd_delivery_study_row.rb +12 -1
  32. data/lib/pharmaobservatory/models/provider_rwd_footprint_row.rb +12 -1
  33. data/lib/pharmaobservatory/models/rwd_sources_row.rb +1 -1
  34. data/lib/pharmaobservatory/models/rwd_us_network_memberships_response.rb +478 -0
  35. data/lib/pharmaobservatory/models/rwd_us_network_memberships_row.rb +663 -0
  36. data/lib/pharmaobservatory/models/rwd_us_network_projects_response.rb +478 -0
  37. data/lib/pharmaobservatory/models/rwd_us_network_projects_row.rb +564 -0
  38. data/lib/pharmaobservatory/models/rwd_us_networks_record.rb +385 -0
  39. data/lib/pharmaobservatory/models/rwd_us_networks_response.rb +478 -0
  40. data/lib/pharmaobservatory/models/rwd_us_networks_row.rb +454 -0
  41. data/lib/pharmaobservatory/models/supplier_rwd_declarations_response.rb +478 -0
  42. data/lib/pharmaobservatory/models/supplier_rwd_declarations_row.rb +539 -0
  43. data/lib/pharmaobservatory/models/trial_publications_response.rb +478 -0
  44. data/lib/pharmaobservatory/models/trial_publications_row.rb +313 -0
  45. data/lib/pharmaobservatory/version.rb +1 -1
  46. data/lib/pharmaobservatory.rb +12 -0
  47. metadata +26 -2
@@ -0,0 +1,98 @@
1
+ # PharmaObservatory::RwdUsNetworkMembershipsRow
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **membership_assertion_id** | **String** | The assertion id: a hash of the network, institution, provider uuid and match method. | [optional] |
8
+ | **network_source** | **String** | The source the member rows come from. | [optional] |
9
+ | **network_key** | **String** | The network key, the entry key of the rwd_us_networks object type. | [optional] |
10
+ | **network_name** | **String** | The network's name. | [optional] |
11
+ | **network_operator** | **String** | The operating body. | [optional] |
12
+ | **membership_kind** | **String** | The strongest agreement the institution holds. membership_kind is the strongest agreement the institution holds (dta_signatory, else dua_signatory, else lhba_signatory), never data contributor. | [optional] |
13
+ | **has_dta** | **Boolean** | The institution holds at least one published DTA (Data Transfer Agreement) row. | [optional] |
14
+ | **has_dua** | **Boolean** | The institution holds at least one published DUA (Data Use Agreement) row. | [optional] |
15
+ | **has_lhba** | **Boolean** | The institution holds at least one agreement published with the type code LHBA, which N3C does not expand. | [optional] |
16
+ | **has_current_dta** | **Boolean** | A DTA row's published term end is on or after the retrieval date. | [optional] |
17
+ | **has_current_dua** | **Boolean** | A DUA row is within its published term. | [optional] |
18
+ | **has_current_lhba** | **Boolean** | An LHBA row is within its published term. | [optional] |
19
+ | **first_executed_on** | **Date** | The earliest published execution date over the institution's agreement rows. | [optional] |
20
+ | **latest_term_ends_on** | **Date** | The latest published term end over the institution's rows. | [optional] |
21
+ | **agreement_count** | **Integer** | Published agreement rows folded into this member. | [optional] |
22
+ | **institution_name** | **String** | The institution as N3C publishes it (the ROR name). | [optional] |
23
+ | **institution_name_key** | **String** | The normalized name key, the join key to other name-keyed datasets. | [optional] |
24
+ | **ror_id** | **String** | The bare ROR id (Research Organization Registry) N3C published; null when it published a domain instead. | [optional] |
25
+ | **institution_domain** | **String** | The organization's email domain as published, an organization domain and not a personal address. | [optional] |
26
+ | **is_lead** | **Boolean** | Null for N3C, which has no lead concept; false would be a false No. | [optional] |
27
+ | **as_of** | **Date** | The retrieval date of the agreement snapshot. | [optional] |
28
+ | **source_url** | **String** | The API endpoint the agreements came from. | [optional] |
29
+ | **retrieved_at** | **Time** | When the snapshot was retrieved, in UTC. | [optional] |
30
+ | **org_id** | **String** | The organization spine id the member resolved to, or null. Carried, never minted. | [optional] |
31
+ | **org_name** | **String** | The spine organization's name. | [optional] |
32
+ | **org_match_rung** | **String** | How the member reached the organization: ror_exact (the source's own ROR id), xref, match_keys, ambiguous or unresolved. | [optional] |
33
+ | **org_match_tier** | **String** | The tier of the organization match (ror_exact is high, stated as the source's own identifier). | [optional] |
34
+ | **org_match_confidence** | **Float** | The organization match confidence (0.95 on ror_exact). | [optional] |
35
+ | **provider_id** | **String** | The RX supplier id as text, the entry key of the suppliers object type. Null on an unmatched row. | [optional] |
36
+ | **provider_uuid** | **String** | The Scientist.com public provider uuid. Null on an unmatched row. | [optional] |
37
+ | **provider_slug** | **String** | The supplier's marketplace slug. | [optional] |
38
+ | **provider_name** | **String** | The supplier's name. | [optional] |
39
+ | **match_method** | **String** | How the supplier was matched: org_member_exact (through the resolved organization), rx_name_key_exact (an exact name match, not a verified identity) or unmatched (no provider). | [optional] |
40
+ | **also_matched_by_name** | **Boolean** | True on an org_member_exact row whose provider also matches by name; null on an unmatched row. | [optional] |
41
+ | **match_confidence** | **Float** | The organization match confidence passed through on org_member_exact; null on rx_name_key_exact and unmatched. | [optional] |
42
+ | **member_total** | **Integer** | Members of the network, the register-wide denominator printed beside any count. | [optional] |
43
+ | **members_with_current_dta** | **Integer** | Network members with a DTA within its published term. | [optional] |
44
+ | **members_with_current_dua** | **Integer** | Network members with a DUA within its published term. | [optional] |
45
+ | **members_resolved_org** | **Integer** | Network members resolved to an organization. | [optional] |
46
+ | **members_matched_rx** | **Integer** | Network members matched to at least one RX provider. | [optional] |
47
+ | **attribution** | **String** | The credit line every surface carrying this data prints. | [optional] |
48
+
49
+ ## Example
50
+
51
+ ```ruby
52
+ require 'pharmaobservatory'
53
+
54
+ instance = PharmaObservatory::RwdUsNetworkMembershipsRow.new(
55
+ membership_assertion_id: null,
56
+ network_source: null,
57
+ network_key: null,
58
+ network_name: null,
59
+ network_operator: null,
60
+ membership_kind: null,
61
+ has_dta: null,
62
+ has_dua: null,
63
+ has_lhba: null,
64
+ has_current_dta: null,
65
+ has_current_dua: null,
66
+ has_current_lhba: null,
67
+ first_executed_on: null,
68
+ latest_term_ends_on: null,
69
+ agreement_count: null,
70
+ institution_name: null,
71
+ institution_name_key: null,
72
+ ror_id: null,
73
+ institution_domain: null,
74
+ is_lead: null,
75
+ as_of: null,
76
+ source_url: null,
77
+ retrieved_at: null,
78
+ org_id: null,
79
+ org_name: null,
80
+ org_match_rung: null,
81
+ org_match_tier: null,
82
+ org_match_confidence: null,
83
+ provider_id: null,
84
+ provider_uuid: null,
85
+ provider_slug: null,
86
+ provider_name: null,
87
+ match_method: null,
88
+ also_matched_by_name: null,
89
+ match_confidence: null,
90
+ member_total: null,
91
+ members_with_current_dta: null,
92
+ members_with_current_dua: null,
93
+ members_resolved_org: null,
94
+ members_matched_rx: null,
95
+ attribution: null
96
+ )
97
+ ```
98
+
@@ -0,0 +1,58 @@
1
+ # PharmaObservatory::RwdUsNetworkProjectsResponse
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<RwdUsNetworkProjectsRow>**](RwdUsNetworkProjectsRow.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::RwdUsNetworkProjectsResponse.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,80 @@
1
+ # PharmaObservatory::RwdUsNetworkProjectsRow
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **project_id** | **String** | The N3C project id (a Data Use Request uid), the grain. | [optional] |
8
+ | **network_key** | **String** | The network key, the entry key of the rwd_us_networks object type. | [optional] |
9
+ | **title** | **String** | The project title as N3C publishes it. | [optional] |
10
+ | **institution_name** | **String** | The accessing institution as published. | [optional] |
11
+ | **institution_name_key** | **String** | The normalized name key; joins to rwd_us_network_memberships.institution_name_key. | [optional] |
12
+ | **pi_name** | **String** | Personal data: the principal investigator's name as N3C's public dashboard publishes it. Landed whole, tagged, never a gate (#5143). | [optional] |
13
+ | **workspace_status** | **String** | The project's workspace status as N3C publishes it. | [optional] |
14
+ | **project_type** | **String** | The project type as N3C publishes it. | [optional] |
15
+ | **is_task_team** | **Boolean** | Whether N3C marks the project as a task team. | [optional] |
16
+ | **contains_personal_data** | **Boolean** | True wherever pi_name is populated. A tag, never a gate (#5143). | [optional] |
17
+ | **personal_data_fields** | **String** | The personal-data columns of the row, as a JSON list: [\"pi_name\"]. | [optional] |
18
+ | **as_of** | **Date** | The retrieval date of the roster snapshot. | [optional] |
19
+ | **source_url** | **String** | The API endpoint the roster came from. | [optional] |
20
+ | **retrieved_at** | **Time** | When the snapshot was retrieved, in UTC. | [optional] |
21
+ | **org_id** | **String** | The organization spine id of the accessing institution, or null. Carried, never minted. | [optional] |
22
+ | **org_name** | **String** | The spine organization's name. | [optional] |
23
+ | **institution_ror_id** | **String** | The bare ROR id N3C published for the institution where it is a network member; null otherwise. | [optional] |
24
+ | **org_match_rung** | **String** | How the institution reached the organization: ror_exact, xref, match_keys, ambiguous or unresolved. | [optional] |
25
+ | **org_match_tier** | **String** | The tier of the organization match. | [optional] |
26
+ | **org_match_confidence** | **Float** | The organization match confidence. | [optional] |
27
+ | **institution_is_network_member** | **Boolean** | Whether the accessing institution itself holds a published agreement. | [optional] |
28
+ | **pi_person_id** | **String** | A resolved person on the spine, by name plus organization; see pi_match_method. The entry key of the investigators object type; null when unresolved. | [optional] |
29
+ | **pi_match_method** | **String** | How the PI was matched: name_org_spine (name and organization agreed with one spine person), name_org_reporter (a unique NIH RePORTER PI at the same organization), ambiguous (more than one candidate, never picked) or unresolved. | [optional] |
30
+ | **pi_corroborated** | **Boolean** | False on every row: no shared trial or paper corroborates the name-plus-organization match. | [optional] |
31
+ | **pi_reporter_pi_id** | **String** | NIH RePORTER's persistent PI_ID, an external key published as a labelled attribute, never as a resolved person; set where a unique RePORTER PI shares the name and organization. | [optional] |
32
+ | **candidate_person_count** | **Integer** | On an ambiguous row, the number of distinct spine persons the evidence could not choose between; otherwise 0. | [optional] |
33
+ | **also_matched_by_reporter** | **Boolean** | True on a name_org_spine row whose person the RePORTER arm also reached. | [optional] |
34
+ | **project_total** | **Integer** | Projects in the roster, the denominator of the resolution rate. | [optional] |
35
+ | **projects_with_institution_on_spine** | **Integer** | Projects whose institution resolved to a spine organization. | [optional] |
36
+ | **projects_with_resolved_pi** | **Integer** | Projects whose PI resolved to a spine person; over project_total it is the measured resolution rate. | [optional] |
37
+ | **projects_with_reporter_pi_id** | **Integer** | Projects carrying a RePORTER PI_ID. | [optional] |
38
+ | **attribution** | **String** | The credit line every surface carrying this data prints. | [optional] |
39
+
40
+ ## Example
41
+
42
+ ```ruby
43
+ require 'pharmaobservatory'
44
+
45
+ instance = PharmaObservatory::RwdUsNetworkProjectsRow.new(
46
+ project_id: null,
47
+ network_key: null,
48
+ title: null,
49
+ institution_name: null,
50
+ institution_name_key: null,
51
+ pi_name: null,
52
+ workspace_status: null,
53
+ project_type: null,
54
+ is_task_team: null,
55
+ contains_personal_data: null,
56
+ personal_data_fields: null,
57
+ as_of: null,
58
+ source_url: null,
59
+ retrieved_at: null,
60
+ org_id: null,
61
+ org_name: null,
62
+ institution_ror_id: null,
63
+ org_match_rung: null,
64
+ org_match_tier: null,
65
+ org_match_confidence: null,
66
+ institution_is_network_member: null,
67
+ pi_person_id: null,
68
+ pi_match_method: null,
69
+ pi_corroborated: null,
70
+ pi_reporter_pi_id: null,
71
+ candidate_person_count: null,
72
+ also_matched_by_reporter: null,
73
+ project_total: null,
74
+ projects_with_institution_on_spine: null,
75
+ projects_with_resolved_pi: null,
76
+ projects_with_reporter_pi_id: null,
77
+ attribution: null
78
+ )
79
+ ```
80
+
@@ -0,0 +1,313 @@
1
+ # PharmaObservatory::RwdUsNetworksApi
2
+
3
+ All URIs are relative to *https://pharmaobservatory.com*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**rwd_us_networks_get**](RwdUsNetworksApi.md#rwd_us_networks_get) | **GET** /api/v1/rwd_us_networks/{id} | One us real-world data network |
8
+ | [**rwd_us_networks_list**](RwdUsNetworksApi.md#rwd_us_networks_list) | **GET** /api/v1/rwd_us_networks | List us real-world data networks |
9
+ | [**rwd_us_networks_rwd_us_network_memberships**](RwdUsNetworksApi.md#rwd_us_networks_rwd_us_network_memberships) | **GET** /api/v1/rwd_us_networks/{id}/rwd_us_network_memberships | US real-world data network membership (N3C) |
10
+ | [**rwd_us_networks_rwd_us_network_projects**](RwdUsNetworksApi.md#rwd_us_networks_rwd_us_network_projects) | **GET** /api/v1/rwd_us_networks/{id}/rwd_us_network_projects | US real-world data network projects (N3C) |
11
+
12
+
13
+ ## rwd_us_networks_get
14
+
15
+ > <RwdUsNetworksRecord> rwd_us_networks_get(id)
16
+
17
+ One us real-world data network
18
+
19
+ ### Examples
20
+
21
+ ```ruby
22
+ require 'time'
23
+ require 'pharmaobservatory'
24
+ # setup authorization
25
+ PharmaObservatory.configure do |config|
26
+ # Configure Bearer authorization (JWT): ApiBearerJwt
27
+ config.access_token = 'YOUR_BEARER_TOKEN'
28
+ end
29
+
30
+ api_instance = PharmaObservatory::RwdUsNetworksApi.new
31
+ id = 'n3c' # String |
32
+
33
+ begin
34
+ # One us real-world data network
35
+ result = api_instance.rwd_us_networks_get(id)
36
+ p result
37
+ rescue PharmaObservatory::ApiError => e
38
+ puts "Error when calling RwdUsNetworksApi->rwd_us_networks_get: #{e}"
39
+ end
40
+ ```
41
+
42
+ #### Using the rwd_us_networks_get_with_http_info variant
43
+
44
+ This returns an Array which contains the response data, status code and headers.
45
+
46
+ > <Array(<RwdUsNetworksRecord>, Integer, Hash)> rwd_us_networks_get_with_http_info(id)
47
+
48
+ ```ruby
49
+ begin
50
+ # One us real-world data network
51
+ data, status_code, headers = api_instance.rwd_us_networks_get_with_http_info(id)
52
+ p status_code # => 2xx
53
+ p headers # => { ... }
54
+ p data # => <RwdUsNetworksRecord>
55
+ rescue PharmaObservatory::ApiError => e
56
+ puts "Error when calling RwdUsNetworksApi->rwd_us_networks_get_with_http_info: #{e}"
57
+ end
58
+ ```
59
+
60
+ ### Parameters
61
+
62
+ | Name | Type | Description | Notes |
63
+ | ---- | ---- | ----------- | ----- |
64
+ | **id** | **String** | | |
65
+
66
+ ### Return type
67
+
68
+ [**RwdUsNetworksRecord**](RwdUsNetworksRecord.md)
69
+
70
+ ### Authorization
71
+
72
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
73
+
74
+ ### HTTP request headers
75
+
76
+ - **Content-Type**: Not defined
77
+ - **Accept**: application/json
78
+
79
+
80
+ ## rwd_us_networks_list
81
+
82
+ > <RwdUsNetworksResponse> rwd_us_networks_list(opts)
83
+
84
+ List us real-world data networks
85
+
86
+ ### Examples
87
+
88
+ ```ruby
89
+ require 'time'
90
+ require 'pharmaobservatory'
91
+ # setup authorization
92
+ PharmaObservatory.configure do |config|
93
+ # Configure Bearer authorization (JWT): ApiBearerJwt
94
+ config.access_token = 'YOUR_BEARER_TOKEN'
95
+ end
96
+
97
+ api_instance = PharmaObservatory::RwdUsNetworksApi.new
98
+ opts = {
99
+ 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.
100
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
101
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
102
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
103
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
104
+ }
105
+
106
+ begin
107
+ # List us real-world data networks
108
+ result = api_instance.rwd_us_networks_list(opts)
109
+ p result
110
+ rescue PharmaObservatory::ApiError => e
111
+ puts "Error when calling RwdUsNetworksApi->rwd_us_networks_list: #{e}"
112
+ end
113
+ ```
114
+
115
+ #### Using the rwd_us_networks_list_with_http_info variant
116
+
117
+ This returns an Array which contains the response data, status code and headers.
118
+
119
+ > <Array(<RwdUsNetworksResponse>, Integer, Hash)> rwd_us_networks_list_with_http_info(opts)
120
+
121
+ ```ruby
122
+ begin
123
+ # List us real-world data networks
124
+ data, status_code, headers = api_instance.rwd_us_networks_list_with_http_info(opts)
125
+ p status_code # => 2xx
126
+ p headers # => { ... }
127
+ p data # => <RwdUsNetworksResponse>
128
+ rescue PharmaObservatory::ApiError => e
129
+ puts "Error when calling RwdUsNetworksApi->rwd_us_networks_list_with_http_info: #{e}"
130
+ end
131
+ ```
132
+
133
+ ### Parameters
134
+
135
+ | Name | Type | Description | Notes |
136
+ | ---- | ---- | ----------- | ----- |
137
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
138
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
139
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
140
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
141
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
142
+
143
+ ### Return type
144
+
145
+ [**RwdUsNetworksResponse**](RwdUsNetworksResponse.md)
146
+
147
+ ### Authorization
148
+
149
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
150
+
151
+ ### HTTP request headers
152
+
153
+ - **Content-Type**: Not defined
154
+ - **Accept**: application/json
155
+
156
+
157
+ ## rwd_us_networks_rwd_us_network_memberships
158
+
159
+ > <RwdUsNetworkMembershipsResponse> rwd_us_networks_rwd_us_network_memberships(id, opts)
160
+
161
+ US real-world data network membership (N3C)
162
+
163
+ ### Examples
164
+
165
+ ```ruby
166
+ require 'time'
167
+ require 'pharmaobservatory'
168
+ # setup authorization
169
+ PharmaObservatory.configure do |config|
170
+ # Configure Bearer authorization (JWT): ApiBearerJwt
171
+ config.access_token = 'YOUR_BEARER_TOKEN'
172
+ end
173
+
174
+ api_instance = PharmaObservatory::RwdUsNetworksApi.new
175
+ id = 'n3c' # String |
176
+ opts = {
177
+ 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.
178
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
179
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
180
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
181
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
182
+ }
183
+
184
+ begin
185
+ # US real-world data network membership (N3C)
186
+ result = api_instance.rwd_us_networks_rwd_us_network_memberships(id, opts)
187
+ p result
188
+ rescue PharmaObservatory::ApiError => e
189
+ puts "Error when calling RwdUsNetworksApi->rwd_us_networks_rwd_us_network_memberships: #{e}"
190
+ end
191
+ ```
192
+
193
+ #### Using the rwd_us_networks_rwd_us_network_memberships_with_http_info variant
194
+
195
+ This returns an Array which contains the response data, status code and headers.
196
+
197
+ > <Array(<RwdUsNetworkMembershipsResponse>, Integer, Hash)> rwd_us_networks_rwd_us_network_memberships_with_http_info(id, opts)
198
+
199
+ ```ruby
200
+ begin
201
+ # US real-world data network membership (N3C)
202
+ data, status_code, headers = api_instance.rwd_us_networks_rwd_us_network_memberships_with_http_info(id, opts)
203
+ p status_code # => 2xx
204
+ p headers # => { ... }
205
+ p data # => <RwdUsNetworkMembershipsResponse>
206
+ rescue PharmaObservatory::ApiError => e
207
+ puts "Error when calling RwdUsNetworksApi->rwd_us_networks_rwd_us_network_memberships_with_http_info: #{e}"
208
+ end
209
+ ```
210
+
211
+ ### Parameters
212
+
213
+ | Name | Type | Description | Notes |
214
+ | ---- | ---- | ----------- | ----- |
215
+ | **id** | **String** | | |
216
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
217
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
218
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
219
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
220
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
221
+
222
+ ### Return type
223
+
224
+ [**RwdUsNetworkMembershipsResponse**](RwdUsNetworkMembershipsResponse.md)
225
+
226
+ ### Authorization
227
+
228
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
229
+
230
+ ### HTTP request headers
231
+
232
+ - **Content-Type**: Not defined
233
+ - **Accept**: application/json
234
+
235
+
236
+ ## rwd_us_networks_rwd_us_network_projects
237
+
238
+ > <RwdUsNetworkProjectsResponse> rwd_us_networks_rwd_us_network_projects(id, opts)
239
+
240
+ US real-world data network projects (N3C)
241
+
242
+ ### Examples
243
+
244
+ ```ruby
245
+ require 'time'
246
+ require 'pharmaobservatory'
247
+ # setup authorization
248
+ PharmaObservatory.configure do |config|
249
+ # Configure Bearer authorization (JWT): ApiBearerJwt
250
+ config.access_token = 'YOUR_BEARER_TOKEN'
251
+ end
252
+
253
+ api_instance = PharmaObservatory::RwdUsNetworksApi.new
254
+ id = 'n3c' # String |
255
+ opts = {
256
+ 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.
257
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
258
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
259
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
260
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
261
+ }
262
+
263
+ begin
264
+ # US real-world data network projects (N3C)
265
+ result = api_instance.rwd_us_networks_rwd_us_network_projects(id, opts)
266
+ p result
267
+ rescue PharmaObservatory::ApiError => e
268
+ puts "Error when calling RwdUsNetworksApi->rwd_us_networks_rwd_us_network_projects: #{e}"
269
+ end
270
+ ```
271
+
272
+ #### Using the rwd_us_networks_rwd_us_network_projects_with_http_info variant
273
+
274
+ This returns an Array which contains the response data, status code and headers.
275
+
276
+ > <Array(<RwdUsNetworkProjectsResponse>, Integer, Hash)> rwd_us_networks_rwd_us_network_projects_with_http_info(id, opts)
277
+
278
+ ```ruby
279
+ begin
280
+ # US real-world data network projects (N3C)
281
+ data, status_code, headers = api_instance.rwd_us_networks_rwd_us_network_projects_with_http_info(id, opts)
282
+ p status_code # => 2xx
283
+ p headers # => { ... }
284
+ p data # => <RwdUsNetworkProjectsResponse>
285
+ rescue PharmaObservatory::ApiError => e
286
+ puts "Error when calling RwdUsNetworksApi->rwd_us_networks_rwd_us_network_projects_with_http_info: #{e}"
287
+ end
288
+ ```
289
+
290
+ ### Parameters
291
+
292
+ | Name | Type | Description | Notes |
293
+ | ---- | ---- | ----------- | ----- |
294
+ | **id** | **String** | | |
295
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
296
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
297
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
298
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
299
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
300
+
301
+ ### Return type
302
+
303
+ [**RwdUsNetworkProjectsResponse**](RwdUsNetworkProjectsResponse.md)
304
+
305
+ ### Authorization
306
+
307
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
308
+
309
+ ### HTTP request headers
310
+
311
+ - **Content-Type**: Not defined
312
+ - **Accept**: application/json
313
+
@@ -0,0 +1,38 @@
1
+ # PharmaObservatory::RwdUsNetworksRecord
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **object_type** | **String** | | |
8
+ | **id** | **String** | | |
9
+ | **record** | [**RwdUsNetworksRow**](RwdUsNetworksRow.md) | | |
10
+ | **attributes** | **Object** | | [optional] |
11
+ | **datasets** | [**Array&lt;DatasetListing&gt;**](DatasetListing.md) | | |
12
+ | **attribution** | [**Array&lt;DatasetAttribution&gt;**](DatasetAttribution.md) | | [optional] |
13
+ | **source_credit** | **String** | | [optional] |
14
+ | **freshness** | [**AnimalWelfareAssurancesResponseFreshness**](AnimalWelfareAssurancesResponseFreshness.md) | | [optional] |
15
+ | **build** | [**AnimalWelfareAssurancesResponseBuild**](AnimalWelfareAssurancesResponseBuild.md) | | [optional] |
16
+ | **build_state** | [**DatasetBuildState**](DatasetBuildState.md) | | [optional] |
17
+ | **restriction** | **Hash&lt;String, Object&gt;** | | [optional] |
18
+
19
+ ## Example
20
+
21
+ ```ruby
22
+ require 'pharmaobservatory'
23
+
24
+ instance = PharmaObservatory::RwdUsNetworksRecord.new(
25
+ object_type: null,
26
+ id: null,
27
+ record: null,
28
+ attributes: null,
29
+ datasets: null,
30
+ attribution: null,
31
+ source_credit: null,
32
+ freshness: null,
33
+ build: null,
34
+ build_state: null,
35
+ restriction: null
36
+ )
37
+ ```
38
+
@@ -0,0 +1,58 @@
1
+ # PharmaObservatory::RwdUsNetworksResponse
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;RwdUsNetworksRow&gt;**](RwdUsNetworksRow.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::RwdUsNetworksResponse.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
+