Last active
January 31, 2023 01:42
-
-
Save ZhipengHe/dc7acd2f85ba07350a5d74dd270a663c to your computer and use it in GitHub Desktop.
Load MIMIC-ED to PSQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# change path | |
cd ~\Downloads\mimic-iv-ed\buildmimic\postgres | |
# create schemas and tables | |
psql -U postgres -d mimiciv -f .\create.sql | |
psql -U postgres -d mimiciv -v mimic_data_dir='C:\Users\n10599070\Downloads\mimic-iv-ed-2.2\ed' -v ON_ERROR_STOP=1 -f load_gz.sql | |
psql -U postgres -d mimiciv -f .\index.sql | |
psql -U postgres -d mimiciv -f .\constraint.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment