adding various changed for which I don't remember the details. I'm adding it to avoid loosing it.
parent
4831864805
commit
bbdd7552a8
@ -1,24 +0,0 @@
|
|||||||
This data was obtained by opening each nested portion on the
|
|
||||||
left navigation bar at
|
|
||||||
https://icd.who.int/browse10/2019/en
|
|
||||||
and then copying and pasting the data into a text file (icd10-2019.txt).
|
|
||||||
|
|
||||||
|
|
||||||
This text file was then adjusted to get the pipe-separated values version
|
|
||||||
which
|
|
||||||
has the following columns
|
|
||||||
- code: the icd-10 code in a normalized format
|
|
||||||
- description: The basic description given
|
|
||||||
- source: This just says WHO so that it is possible to merge it with other
|
|
||||||
sources.
|
|
||||||
|
|
||||||
|
|
||||||
The adjustments were as follows (parenthases include vim search and replace
|
|
||||||
commands used):
|
|
||||||
- delete tabls (:%s/\t//g)
|
|
||||||
- delete leading spaces (:%s/^\s//)
|
|
||||||
- remove excess newlines (:%s/^\n//)
|
|
||||||
- remove periods in codes (:%s/\.//)
|
|
||||||
- Convert to Pipe-separated values file (:%s/\s/ | /)
|
|
||||||
- add column of sources (:%s/\s*$/ | WHO)
|
|
||||||
- Type in column headers
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,2 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
wget --post-data="postgres complete:$(date)" -qO- https://ntfy.sh/$NTFY > /dev/null
|
|
||||||
@ -1,6 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
#install wget
|
|
||||||
apt update
|
|
||||||
apt install -y wget
|
|
||||||
#send notification
|
|
||||||
wget --post-data="mariadb complete:$(date)" -qO- https://ntfy.sh/$NTFY > /dev/null
|
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
rm -r ../containers/RxNav-In-a-box/rxnav_data/*
|
||||||
|
|
||||||
|
rm -r ../containers/AACT_downloader/postgresql/data
|
||||||
@ -0,0 +1,20 @@
|
|||||||
|
from drugtools import env_setup
|
||||||
|
from drugtools import historical_trial_selector as hts
|
||||||
|
from drugtools import historical_nct_downloader as hnd
|
||||||
|
from drugtools import historical_nct_extractor as hne
|
||||||
|
from drugtools import download_and_extract_nsde as daen
|
||||||
|
from drugtools import migrate_mysql2pgsql as mm2p
|
||||||
|
|
||||||
|
print("Current Environment")
|
||||||
|
print(env_setup.ENV)
|
||||||
|
|
||||||
|
cont = input("Are you willing to continue with the current environmnet? y/[n]")
|
||||||
|
|
||||||
|
if cont == "Y" or cont == "y":
|
||||||
|
hts.run()
|
||||||
|
hnd.run()
|
||||||
|
hne.run()
|
||||||
|
daen.run()
|
||||||
|
mm2p.run()
|
||||||
|
else:
|
||||||
|
print("Please fix your .env file and try again")
|
||||||
Loading…
Reference in New Issue