How does the JSON output and object table of Clinical Trials clinical study values API function?

In this article, I will clarify the object table and JSON output of Clinical Trials clinical study values API. As a programmer, you already know what an object table and JSON output are. However, it can be challenging to understand the specific format and structure of the data returned by the Clinical Trials API. By explaining the object table and JSON output in detail, you will have a better understanding of how to interpret the data and use it effectively in your programming projects.

Object and description table

ObjectsDescription
StudyFieldsResponse
APIVrs
DataVrs
Expression
NStudiesAvail
NStudiesFound
MinRank
MaxRank
NStudiesUsed
Field
NUniqueValues
NUniqueValuesFound
MissingValues
NStudiesMissingValue
NStudiesMissingValueFound
FieldValues
FieldValue
NStudiesWithValue
NStudiesFoundWithValue
  1. StudyFieldsResponse: This object is returned as the response to the request for study fields. It contains information about available fields for a clinical study.

  2. APIVrs: This object represents the version of the ClinicalTrials.gov API that was used to generate the response.

  3. DataVrs: This object represents the version of the ClinicalTrials.gov database that was used to generate the response.

  4. Expression: This object represents the query that was used to filter the study data.

  5. NStudiesAvail: This object represents the total number of studies available in the ClinicalTrials.gov database.

  6. NStudiesFound: This object represents the number of studies that matched the query expression.

  7. MinRank: This object represents the minimum rank value of the studies that matched the query expression.

  8. MaxRank: This object represents the maximum rank value of the studies that matched the query expression.

  9. NStudiesUsed: This object represents the number of studies used to generate the response.

  10. Field: This object represents a specific field in the study data.

  11. NUniqueValues: This object represents the number of unique values in a specific field.

  12. NUniqueValuesFound: This object represents the number of unique values found in a specific field that matched the query expression.

  13. MissingValues: This object represents the number of missing values in a specific field.

  14. NStudiesMissingValue: This object represents the number of studies that have missing values in a specific field.

  15. NStudiesMissingValueFound: This object represents the number of studies that have missing values in a specific field that matched the query expression.

  16. FieldValues: This object represents the list of unique values in a specific field.

  17. FieldValue: This object represents a specific value in a field.

  18. NStudiesWithValue: This object represents the number of studies that have a specific value in a field.

  19. NStudiesFoundWithValue: This object represents the number of studies that have a specific value in a field that matched the query expression.

The information in the table is useful because it provides programmers and researchers with a structured representation of the data available in the ClinicalTrials.gov database. By using the objects in the table, users can query and filter clinical study information based on specific fields and values. For example, the "FieldValues" and "NStudiesWithValue" objects can be used to determine the number of studies that have a specific value in a field, such as the number of studies that have a certain drug intervention. This information can be used to make informed decisions about study design and to identify areas for further research. Additionally, the objects in the table can be used to develop tools and applications that make it easier to access and analyze clinical study data.

JSON Output

The JSON output represents the response from the Clinical Trials API's study field values query, which contains information about the unique values for a specific field ("Condition" in this case). The output includes information about the API version, data version, query expression, and the number of studies available and found that match the query expression. The "FieldValues" array contains objects that represent the unique values found in the "Condition" field, along with the number of studies that have that value and the number of studies found that match the query expression. For example, the first object in the "FieldValues" array has the value "(STEMI)" and indicates that only one study has this value and that the study matches the query expression. The output is useful for researchers and programmers who need to analyze clinical study data by specific fields and values.

{
"FieldValuesResponse":{
"APIVrs":"1.01.05",
"DataVrs":"2022:11:17 23:33:37.354",
"Expression":"heart attack",
"NStudiesAvail":433955,
"NStudiesFound":9364,
"MinRank":1,
"MaxRank":433955,
"NStudiesUsed":9364,
"Field":"Condition",
"NUniqueValues":102082,
"NUniqueValuesFound":4155,
"MissingValues":{
"NStudiesMissingValue":864,
"NStudiesMissingValueFound":0
},
"FieldValues":[
{
"FieldValue":"(STEMI)",
"NStudiesWithValue":1,
"NStudiesFoundWithValue":1
},{
"FieldValue":"22q Telomere Deletion Syndrome",
"NStudiesWithValue":1,
"NStudiesFoundWithValue":1
},{
"FieldValue":"3 Vessel Coronary Artery Disease",
"NStudiesWithValue":1,
"NStudiesFoundWithValue":1
},{
"FieldValue":"a Myocardial Infarction",
"NStudiesWithValue":1,
"NStudiesFoundWithValue":1
},{
"FieldValue":"A Total of 234 Patients With Acute Coronary Syndrome Who Will Undergo OPCAB.",
"NStudiesWithValue":1,
"NStudiesFoundWithValue":1
},{
"FieldValue":"AAA",
"NStudiesWithValue":12,
"NStudiesFoundWithValue":2
},{
"FieldValue":"AAA - Abdominal Aortic Aneurysm",
"NStudiesWithValue":7,
"NStudiesFoundWithValue":3
},{
"FieldValue":"Abdominal Aortic Aneurysm",
"NStudiesWithValue":177,
"NStudiesFoundWithValue":39
},{
"FieldValue":"Abdominal Aortic Aneurysm (AAA)",
"NStudiesWithValue":14,
"NStudiesFoundWithValue":2
},{
"FieldValue":"Abdominal Aortic Aneurysm Uncomplicated",
"NStudiesWithValue":1,
"NStudiesFoundWithValue":1
},{
"FieldValue":"Abdominal Aortic Aneurysm Without Rupture",
"NStudiesWithValue":10,
"NStudiesFoundWithValue":2
},{
"FieldValue":"Abdominal Aortic Aneurysms",
"NStudiesWithValue":32,
"NStudiesFoundWithValue":8
},{
"FieldValue":"Abdominal Obesity",
"NStudiesWithValue":63,
"NStudiesFoundWithValue":3
},{
"FieldValue":"Abdominal Surgery",
"NStudiesWithValue":54,
"NStudiesFoundWithValue":1
},{
"FieldValue":"Abdominal Wall Defect",
"NStudiesWithValue":16,
"NStudiesFoundWithValue":1
},{
"FieldValue":"Abnormal Heart Rhythms",
"NStudiesWithValue":2,
"NStudiesFoundWithValue":1
},{
"FieldValue":"Acceptance and Commitment Therapy",
"NStudiesWithValue":16,
"NStudiesFoundWithValue":1
},{
"FieldValue":"Accidental Falls",
"NStudiesWithValue":125,
"NStudiesFoundWithValue":1
},{
"FieldValue":"Accurate Medication",
"NStudiesWithValue":3,
"NStudiesFoundWithValue":1
},{
"FieldValue":"ACLS",
"NStudiesWithValue":1,
"NStudiesFoundWithValue":1
},{
"FieldValue":"Acquired Antithrombin III Deficiency",
"NStudiesWithValue":1,
"NStudiesFoundWithValue":1
},{
"FieldValue":"Acquired Heart Disease",
"NStudiesWithValue":3,
"NStudiesFoundWithValue":1
},{
"FieldValue":"Acquired Hemophilia A",
"NStudiesWithValue":8,
"NStudiesFoundWithValue":1
},{
"FieldValue":"Acquired Immunodeficiency Syndrome",
"NStudiesWithValue":148,
"NStudiesFoundWithValue":1
},{
"FieldValue":"Acquired Thrombotic Thrombocytopenic Purpura",
"NStudiesWithValue":6,
"NStudiesFoundWithValue":1
...
}
]
}
}

Final words

Today, we discussed the object table and JSON output of Clinical Trials clinical study values API. We provided a detailed list and description of the objects found in the table, which can be used to filter and analyze clinical study information. Additionally, we analyzed a sample JSON output from the API and highlighted the information that it contains, such as API version, data version, query expression, and the unique values for a specific field. The information provided by the Clinical Trials API is useful for researchers and programmers who need to access and analyze clinical study data for their work.

Source

It is possible to request access to the Clinical Trials clinical study values API through the third-party data marketplace of WorldInData. The WorldInData data marketplace allows users to access a wide range of datasets from various sources, including the Clinical Trials API. To request access, users need to sign up for a WorldInData account, select the desired dataset, and submit a request for access. Once the request is approved, users can access the data through the WorldInData platform, which provides tools for data visualization, analysis, and downloading. By using the WorldInData marketplace, users can easily access and use the Clinical Trials API for their research and analysis needs.