File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
mimic-iv/buildmimic/postgres Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ If following the tutorials, be sure to download the scripts locally and the MIMI
1717git clone https://github.com/MIT-LCP/mimic-code.git
1818cd mimic-code
1919# download data
20- wget -r -N -c -np --user < USERNAME> --ask-password https://physionet.org/files/mimiciv/2.2 /
20+ wget -r -N -c -np --user < USERNAME> --ask-password https://physionet.org/files/mimiciv/3.1 /
2121mv physionet.org/files/mimiciv mimiciv && rmdir physionet.org/files && rm physionet.org/robots.txt && rmdir physionet.org
2222createdb mimiciv
2323psql -d mimiciv -f mimic-iv/buildmimic/postgres/create.sql
24- psql -d mimiciv -v ON_ERROR_STOP=1 -v mimic_data_dir=mimiciv/2.2 -f mimic-iv/buildmimic/postgres/load_gz.sql
25- psql -d mimiciv -v ON_ERROR_STOP=1 -v mimic_data_dir=mimiciv/2.2 -f mimic-iv/buildmimic/postgres/constraint.sql
26- psql -d mimiciv -v ON_ERROR_STOP=1 -v mimic_data_dir=mimiciv/2.2 -f mimic-iv/buildmimic/postgres/index.sql
24+ psql -d mimiciv -v ON_ERROR_STOP=1 -v mimic_data_dir=mimiciv/3.1 -f mimic-iv/buildmimic/postgres/load_gz.sql
25+ psql -d mimiciv -v ON_ERROR_STOP=1 -v mimic_data_dir=mimiciv/3.1 -f mimic-iv/buildmimic/postgres/constraint.sql
26+ psql -d mimiciv -v ON_ERROR_STOP=1 -v mimic_data_dir=mimiciv/3.1 -f mimic-iv/buildmimic/postgres/index.sql
2727```
2828
2929## Detailed guide
You can’t perform that action at this time.
0 commit comments