Skip to content

Commit 78f7b6e

Browse files
authored
Merge pull request #1592 from aegis301/patch-1
fix: MIMIC Note README.md
2 parents a830870 + 3084a48 commit 78f7b6e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

mimic-iv-note/buildmimic/postgres/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ The scripts in this folder create the schema for MIMIC-IV-Note and load the data
99
git clone https://github.com/MIT-LCP/mimic-code.git
1010
cd mimic-code
1111
# download data
12-
wget -r -N -c -np --user <USERNAME> --ask-password https://physionet.org/files/mimiciv/2.2/
13-
mv physionet.org/files/mimiciv-iv-note mimiciv && rmdir physionet.org/files && rm physionet.org/robots.txt && rmdir physionet.org
12+
wget -r -N -c -np --user <USERNAME> --ask-password https://physionet.org/files/mimic-iv-note/2.2/
13+
mv physionet.org/files/mimiciv-iv-note mimic-iv && rmdir physionet.org/files && rm physionet.org/robots.txt && rmdir physionet.org
1414
# if mimiciv not exists
1515
# createdb mimiciv
1616
psql -d mimiciv -f mimic-iv-note/buildmimic/postgres/create.sql
17-
psql -d mimiciv -v ON_ERROR_STOP=1 -v mimic_data_dir=mimiciv/2.2/note -f mimic-iv-note/buildmimic/postgres/load_gz.sql
17+
psql -d mimiciv -v ON_ERROR_STOP=1 -v mimic_data_dir=mimic-iv/mimic-iv-note/2.2/note -f mimic-iv-note/buildmimic/postgres/load_gz.sql
18+
# if you want to remove raw data
19+
# rm mimic-iv/mimic-iv-note/*.txt && rm mimic-iv/mimic-iv-note/index.html && rm mimic-iv/mimic-iv-note/note/*.gz && rm mimic-iv/mimic-iv-note/note/index.html && rmdir rm mimic-iv/mimic-iv-note/note && rmdir mimic-iv/mimic-iv-note
1820
```

0 commit comments

Comments
 (0)