Skip to content

Commit 234a2ba

Browse files
authored
fix: MIMIC Note README.md
The readme and its instructions do not reflect the current structure of the folders. This commit should fix that
1 parent a830870 commit 234a2ba

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ git clone https://github.com/MIT-LCP/mimic-code.git
1010
cd mimic-code
1111
# download data
1212
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
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)