Commit b5ee3748 authored by Sven Lautenbach's avatar Sven Lautenbach
Browse files

updated data. Additional studies for deletion and update in preprocessing script

parent 99c7528f
......@@ -98,7 +98,7 @@
trial registration data sets provided by many international registries </p>
<p>The WHO portal gets updated every Friday by six important registries and every 4 weeks by additional
registries. We aim at updating our maps without too much delay.</p>
<p>The data shown reflects the WHO portal updated at <b><span id="last_update">03 April 2020</span></b> and
<p>The data shown reflects the WHO portal updated at <b><span id="last_update">2020-06-08</span></b> and
contains <span id="trials_count"></span> clinical trials.</p>
</div>
</div>
......
......@@ -179,13 +179,13 @@ def run():
new_data_df = get_trials_df_from_url()
# remove wrong case NCT04256395
studies_to_delete = ["NCT04256395", "NCT04226157", "ISRCTN51287266", "NCT03042143", "NCT03891420",
"EUCTR2019-002688-89-ES", "EUCTR2017-001100-30-DE", "NCT04389372"]
"EUCTR2019-002688-89-ES", "EUCTR2017-001100-30-DE", "NCT04389372", "NCT04404192"]
for study in studies_to_delete:
new_data_df = new_data_df.drop(new_data_df[new_data_df['TrialID'] == study].index, axis=0)
# for some studies that have been running for a while and have now been updated to incorporate COVID-19
# as well the suggestions by Markus Reis and Konstantin is to use the date in "Last Update Post" instead
studies_updated = ["EUCTR2015-002340-14-NL", "NCT03331445", "NCT04061382", "NCT03680274", "NCT03808922", "NCT03042143"
, "NCT04092478", "EUCTR2018-004318-16-DK", "NCT03648372", "NCT02765191"]
, "NCT04092478", "EUCTR2018-004318-16-DK", "NCT03648372", "NCT02765191", "NCT04193878"]
needsUpdate = new_data_df['TrialID'].isin(studies_updated)
new_data_df["Date registration"] = np.where(needsUpdate,
new_data_df["Last Refreshed on"],
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment