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
Copy file name to clipboardExpand all lines: mimic-iv/buildmimic/bigquery/README.md
+22-27Lines changed: 22 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Loading MIMIC-IV to BigQuery
2
2
3
-
**YOU DO NOT NEED TO INSTALL MIMIC-IV YOURSELF!** MIMIC-IV has been loaded onto BigQuery by the LCP, and is available for credentialed researchers to access. If you are credentialed, then you may be granted access MIMIC-IV on BigQuery instantly by following the [cloud configuration tutorial](https://mimic-iv.mit.edu/docs/access/cloud/).
3
+
**YOU DO NOT NEED TO INSTALL MIMIC-IV YOURSELF!** MIMIC-IV has been loaded onto BigQuery by the LCP, and is available for credentialed researchers to access. If you are credentialed, then you may be granted access MIMIC-IV on BigQuery instantly by following the [cloud configuration tutorial](https://mimic.mit.edu/docs/gettingstarted/cloud/).
4
4
5
5
The following instructions are provided for transparency and were used to create the current copy of MIMIC-IV on BigQuery.
6
6
@@ -38,43 +38,39 @@ gcloud init
38
38
39
39
---
40
40
41
-
## STEP 3: Verify you can access the MIMIC-IV files on Google Cloud Storage
41
+
## STEP 3: Download the MIMIC-IV files
42
42
43
-
### A) Check the content of the bucket.
43
+
Download the MIMIC-IV dataset files. The easiest way to download them is to open a terminal then run:
44
44
45
-
```sh
46
-
gsutil ls gs://mimiciv-1.0.physionet.org
47
45
```
48
-
49
-
It should list a zip file, and some auxiliary files associated with the project (SHA256SUMS.txt).
@@ -155,7 +150,7 @@ This code will get the list of files in the bucket, and for each file, it will e
155
150
### B) Set the CHMOD to allow the file as executable (ex: 755), and execute the script file
156
151
157
152
```sh
158
-
./upload_mimic4_v1_0.sh
153
+
./upload_mimic4_v2_0.sh
159
154
```
160
155
161
156
### C) Results of the upload process
@@ -254,7 +249,7 @@ We can test a successful build by running a check query.
254
249
255
250
```sh
256
251
bq query --use_legacy_sql=False 'select CASE WHEN count(*) = 383220 THEN True ELSE
257
-
False end AS check from `mimic4_v1_0.patients`'
252
+
False end AS check from `mimic4_v2_0.patients`'
258
253
```
259
254
260
255
This verifies we have the expected row count in the patients table. It's further possible to check the row counts of the other tables by comparing to the already existing MIMIC-IV BigQuery dataset available on `physionet-data`.
0 commit comments