Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow extra options to be passed to psql calls with MIMIC-III #1195

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions mimic-iii/concepts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ This can be done as follows:
* e.g. `bash postgres_make_concepts.sh`
* This file runs the scripts after applying a few regular expressions which convert table references and date calculations appropriately.
* This file generates all concepts on the `public` schema.
* Exporting DBCONNEXTRA before calling this script will add this to the
connection string. For example, running:
`DBCONNEXTRA="user=mimic password=mimic" bash postgres_make_concepts.sh`
will add these settings to all of the psql calls. (Note that "dbname"
and "search_path" do not need to be set.)

If you do not have access to a PostgreSQL database with MIMIC, you can read more about building the data within one in the [buildmimic/postgres](https://github.com/MIT-LCP/mimic-code/tree/main/mimic-iii/buildmimic/postgres) folder.

Expand Down
Loading