Skip to content

Commit 94f3d70

Browse files
committed
add download demo action using wget from physionet
1 parent 62cf3d7 commit 94f3d70

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: "Download MIMIC-IV Demo"
2+
description: "Downloads MIMIC-IV demo data from PhysioNet"
3+
runs:
4+
using: "composite"
5+
steps:
6+
- name: Download demo data from PhysioNet
7+
run: |
8+
echo "Downloading MIMIC-IV demo from PhysioNet."
9+
wget -r -N -c --reject "index.html*" -nH -np --cut-dirs=3 https://physionet.org/files/mimic-iv-demo/2.2/
10+
mv physionet.org/files/mimic-iv-demo/hosp hosp
11+
mv physionet.org/files/mimic-iv-demo/icu icu
12+
wget -r -N -c --reject "index.html*" -nH -np --cut-dirs=3 https://physionet.org/files/mimic-iv-ed-demo/2.2/
13+
mv physionet.org/files/mimic-iv-demo/ed ed
14+
shell: bash

0 commit comments

Comments
 (0)