You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace `YOURUSERNAME` with your physionet username.
31
+
32
+
The rest of these intructions assume the CSV files are in the folder structure as follows:
33
+
34
+
```
35
+
mimic_data_dir/
36
+
ADMISSIONS.csv.gz
37
+
CALLOUT.csv.gz
38
+
...
39
+
```
40
+
41
+
By default, the above `wget` downloads the data into `mimiciii/1.4` (as we used `--cut-dirs=1` to remove the base folder). Thus, by default, `mimic_data_dir` is `mimiciii/1.4` (relative to the current folder). The CSV files can be uncompressed (end in `.csv`) or compressed (end in `.csv.gz`).
42
+
43
+
44
+
## Shell script method (`import_duckdb.sh`)
45
+
46
+
Using this script to load MIMIC-III into a DuckDB
47
+
only requires:
48
+
1. DuckDB to be installed (the `duckdb` executable must be in your PATH)
18
49
2. Your computer to have a POSIX-compliant terminal shell,
19
50
which is already found by default on any Mac OSX, Linux, or BSD installation.
20
51
@@ -24,14 +55,6 @@ which you can obtain by either installing
24
55
[Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/install-win10)
25
56
or [Cygwin](https://www.cygwin.com/).
26
57
27
-
## Set-up
28
-
29
-
### Quick overview
30
-
31
-
1.[Install](https://duckdb.org/docs/installation/) the CLI version of DuckDB
32
-
2.[Download](https://physionet.org/content/mimiciii/1.4/) the MIMIC-III files
33
-
3. Create DuckDB database and load data
34
-
35
58
### Install DuckDB
36
59
37
60
Follow instructions on their website to
@@ -41,37 +64,10 @@ the CLI version of DuckDB.
41
64
You will need to place the `duckdb` binary in a folder on your environment path,
0 commit comments