quest-bih / clinical-dashboard

https://quest-bravo.bihealth.org
GNU Affero General Public License v3.0
0 stars 2 forks source link

Table with characteristics of trials included in dashboard #26

Closed delwen closed 2 years ago

delwen commented 2 years ago

Table with overview of characteristics of trials included in the dashboard. We'll probably include it in a separate "Trials" page. @maia-sh: assigning you since you already made a first version, but let us know if we can support with this!

maia-sh commented 2 years ago

To confirm: the dataset to use for the characteristics table is ct-dashboard-intovalue-all.csv?

maia-sh commented 2 years ago

I've created a trial characteristics table with a broad set of characteristics: https://github.com/quest-bih/clinical-dashboard/blob/characteristics-table/create-characteristics-table.R

Some open questions:

I won't be working in this branch, so alternatively feel free to check out and work on it there.

delwen commented 2 years ago

Thanks @maia-sh!

Some first thoughts:

delwen commented 2 years ago

We could also think of including Table 1b with characteristics of trials included for prospective reg in CT.gov. Same info but just for this updated dataset. Would make it clearer that this metric comes from a different dataset, and I'm guessing there would be interest re what types of trials are included in this metric

maia-sh commented 2 years ago
maia-sh commented 2 years ago

@bgcarlisle will make a new page for the 2 tables

delwen commented 2 years ago

Just a thought for the manuscript - we could also add to the characteristics table (or create a new table) with the numbers for our different denominators. So we could start with the overall number of trials, then the number of trials with a publication and PMID (TRN abs/linkage in registry), the number of trials with a publication and full text (TRN ft), etc. Again, stratified by registry. Would drive home the point that we have different denoms for most metrics and how the numbers change.

In the paper I already made a table that gives an overview of the practices, the rationale for inclusion, and the sample of trials in each case. Showing the denoms could complement that quite well.

@maia-sh @bgcarlisle thoughts?

delwen commented 2 years ago

@bgcarlisle anything we still need to do/discuss for the integration of the trial characteristics table (for IV sample and the CT.gov prospective reg sample) in the dashboard?

bgcarlisle commented 2 years ago

Okay, I've integrated the table into the dashboard!

delwen commented 2 years ago

@bgcarlisle: thanks! We also need to add the same table for the CT.gov prospective reg sample.

bgcarlisle commented 2 years ago

We don't have the same columns in the prospective registration data, so we can't generate the same table, unless we get those data from ct dot gov

@maia-sh We need a bunch of other columns like is_randomized, is_multicentric, etc that aren't currently in the prospective registration CSV; is this much trouble to grab?

maia-sh commented 2 years ago

i can do that

maia-sh commented 2 years ago

I ended up functionalizing some AACT things, which took a bit longer, but good to have for future trial id sets. Please make sure to pull from main before any work with intovalue-data repo! The updated dataset should have the variables you @bgcarlisle need to make the characteristics table: https://github.com/maia-sh/intovalue-data/blob/ctgov-2018/data/ctgov-2018/prospective-reg-ctgov-2018-trials.csv I left all the variables in this time for completeness. phase_unified, start_year, and industry_sponsor you should create through the same pre-processing you do on iv_all in https://github.com/quest-bih/clinical-dashboard/blob/main/trial_characteristics_page.R Let me know if you get any snags!

bgcarlisle commented 2 years ago

This is almost perfect! This just appears to be missing the cities column

maia-sh commented 2 years ago

try now!

bgcarlisle commented 2 years ago

Amazing!!

The new table is up now!

https://github.com/quest-bih/clinical-dashboard/commit/f4d4341f5ea672bbf4323a98699b4d75715b5bfc

maia-sh commented 2 years ago

Great! Closes #26