Skip to content

Commit 9b083be

Browse files
committed
add help text for the mimic_utils entry points
1 parent 7bb12b8 commit 9b083be

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mimic-iv/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,10 @@ bq query --use_legacy_sql=False --replace --destination_table=my_bigquery_datase
3939

4040
### PostgreSQL
4141

42-
You should have already created a database with the MIMIC-IV data loaded in using the build scripts.
4342
The [postgres](/mimic-iv/concepts_postgres) folder contains concepts in a PostgreSQL compatible dialect.
4443

4544
### DuckDB
4645

47-
You should have already created a database with the MIMIC-IV data loaded in using the build scripts.
4846
The [duckdb](/mimic-iv/concepts_duckdb) folder contains concepts in a DuckDB compatible dialect.
4947

5048
## Transpile
@@ -57,11 +55,13 @@ Most of this process is done the [transpile.py](/src/mimic_utils/transpile.py) f
5755
An entrypoint is provided for convenience. To transpile a single file, run:
5856

5957
```sh
58+
# convert_file <source_file> <destination_file> --destination_dialect <dialect>
6059
mimic_utils convert_file mimic-iv/concepts/demographics/age.sql age.sql --destination_dialect duckdb
6160
```
6261

6362
To transpile all files in a folder, run:
6463

6564
```sh
65+
# convert_folder <source_folder> <destination_folder> --destination_dialect <dialect>
6666
mimic_utils convert_folder mimic-iv/concepts mimic-iv/concepts_duckdb --destination_dialect duckdb
6767
```

0 commit comments

Comments
 (0)