Commit d38b45ba authored by Imanol Perez's avatar Imanol Perez
Browse files

Make data downloading compatible with Python3, and move from HTTPS requests to...

Make data downloading compatible with Python3, and move from HTTPS requests to HTTP requests. Credit to Kevin Schlegel.
parent 30356ad3
Time,Parameter,Value
00:00,RecordID,132539
00:00,Age,54
00:00,Gender,0
00:00,Height,-1
00:00,ICUType,4
00:00,Weight,-1
00:07,GCS,15
00:07,HR,73
00:07,NIDiasABP,65
00:07,NIMAP,92.33
00:07,NISysABP,147
00:07,RespRate,19
00:07,Temp,35.1
00:07,Urine,900
00:37,HR,77
00:37,NIDiasABP,58
00:37,NIMAP,91
00:37,NISysABP,157
00:37,RespRate,19
00:37,Temp,35.6
00:37,Urine,60
01:37,HR,60
01:37,NIDiasABP,62
01:37,NIMAP,87
01:37,NISysABP,137
01:37,RespRate,18
01:37,Urine,30
02:37,HR,62
02:37,NIDiasABP,52
02:37,NIMAP,75.67
02:37,NISysABP,123
02:37,RespRate,19
02:37,Urine,170
03:08,HCT,33.7
03:37,GCS,15
03:37,HR,80
03:37,NIDiasABP,52
03:37,NIMAP,72.67
03:37,NISysABP,114
03:37,RespRate,20
03:37,Temp,37.8
03:37,Urine,60
04:37,HR,74
04:37,RespRate,20
05:37,HR,73
05:37,NIDiasABP,45
05:37,NIMAP,66.67
05:37,NISysABP,110
05:37,RespRate,17
05:37,Urine,170
07:37,GCS,15
07:37,HR,64
07:37,NIDiasABP,49
07:37,NIMAP,68.33
07:37,NISysABP,107
07:37,RespRate,15
07:37,Temp,38.1
07:37,Urine,120
08:37,HR,64
08:37,NIDiasABP,56
08:37,NIMAP,71.33
08:37,NISysABP,102
08:37,RespRate,14
08:37,Urine,80
09:37,HR,66
09:37,NIDiasABP,48
09:37,NIMAP,70
09:37,NISysABP,114
09:37,RespRate,17
09:37,Urine,100
10:37,BUN,13
10:37,Creatinine,0.8
10:37,Glucose,205
10:37,HCO3,26
10:37,HCT,33.5
10:37,HR,61
10:37,Mg,1.5
10:37,NIDiasABP,62
10:37,NIMAP,77.67
10:37,NISysABP,109
10:37,Platelets,221
10:37,K,4.4
10:37,Na,137
10:37,RespRate,15
10:37,Urine,60
10:37,WBC,11.2
11:37,GCS,15
11:37,HR,58
11:37,NIDiasABP,40
11:37,NIMAP,60.33
11:37,NISysABP,101
11:37,RespRate,15
11:37,Temp,37.6
11:37,Urine,80
12:37,HR,58
12:37,NIDiasABP,40
12:37,NIMAP,60
12:37,NISysABP,100
12:37,RespRate,12
12:37,Urine,50
13:37,HR,60
13:37,NIDiasABP,47
13:37,NIMAP,66
13:37,NISysABP,104
13:37,RespRate,15
13:37,Urine,60
14:37,HR,63
14:37,RespRate,15
15:37,GCS,15
15:37,HR,69
15:37,NIDiasABP,49
15:37,NIMAP,70
15:37,NISysABP,112
15:37,RespRate,12
15:37,Temp,36.9
15:37,Urine,120
16:37,HR,61
16:37,NIDiasABP,40
16:37,NIMAP,58.67
16:37,NISysABP,96
16:37,RespRate,14
17:37,HR,65
17:37,NIDiasABP,43
17:37,NIMAP,61.33
17:37,NISysABP,98
17:37,RespRate,13
17:37,Urine,140
18:37,HR,77
18:37,RespRate,18
19:37,GCS,15
19:37,HR,60
19:37,NIDiasABP,55
19:37,NIMAP,74.67
19:37,NISysABP,114
19:37,RespRate,13
19:37,Temp,37.3
19:37,Urine,80
20:37,HR,62
20:37,RespRate,12
21:37,HR,73
21:37,NIDiasABP,44
21:37,NIMAP,63.33
21:37,NISysABP,102
21:37,RespRate,20
21:37,Urine,70
22:37,HR,66
22:37,NIDiasABP,42
22:37,NIMAP,62.67
22:37,NISysABP,104
22:37,RespRate,15
22:37,Urine,80
23:37,GCS,15
23:37,HR,71
23:37,NIDiasABP,41
23:37,NIMAP,61.67
23:37,NISysABP,103
23:37,RespRate,24
23:37,Temp,37.1
23:37,Urine,40
24:37,Urine,100
25:37,HR,67
25:37,NIDiasABP,48
25:37,NIMAP,67
25:37,NISysABP,105
25:37,RespRate,16
25:37,Urine,130
26:37,RespRate,19
27:37,GCS,15
27:37,HR,80
27:37,NIDiasABP,39
27:37,NIMAP,60.67
27:37,NISysABP,104
27:37,RespRate,18
27:37,Temp,37.9
27:37,Urine,400
27:37,Urine,0
28:37,Urine,80
29:37,HR,80
29:37,NIDiasABP,41
29:37,NIMAP,63.33
29:37,NISysABP,108
29:37,RespRate,16
29:37,Urine,100
30:37,Urine,450
31:37,GCS,14
31:37,HR,78
31:37,NIDiasABP,43
31:37,NIMAP,65
31:37,NISysABP,109
31:37,RespRate,18
31:37,Temp,38.1
31:37,Urine,220
32:37,Urine,210
33:07,BUN,8
33:07,Creatinine,0.7
33:07,Glucose,115
33:07,HCO3,28
33:07,HCT,30.3
33:07,Mg,1.9
33:07,Platelets,185
33:07,K,4
33:07,Na,136
33:07,WBC,9.4
33:37,HR,85
33:37,NIDiasABP,46
33:37,NIMAP,68.33
33:37,NISysABP,113
33:37,RespRate,18
33:37,Urine,240
34:37,Urine,100
35:37,GCS,15
35:37,HR,83
35:37,NIDiasABP,49
35:37,NIMAP,75.67
35:37,NISysABP,129
35:37,RespRate,20
35:37,Temp,38.2
35:37,Urine,100
36:37,Urine,50
37:37,HR,84
37:37,NIDiasABP,47
37:37,NIMAP,70.33
37:37,NISysABP,117
37:37,RespRate,24
37:37,Urine,120
38:37,RespRate,21
39:37,GCS,15
39:37,HR,73
39:37,NIDiasABP,57
39:37,NIMAP,78.67
39:37,NISysABP,122
39:37,RespRate,16
39:37,Temp,37.9
39:37,Urine,450
40:37,HR,77
40:37,NIDiasABP,53
40:37,NIMAP,72
40:37,NISysABP,110
40:37,RespRate,18
41:37,HR,73
41:37,NIDiasABP,50
41:37,NIMAP,69.67
41:37,NISysABP,109
41:37,RespRate,14
41:37,Urine,450
42:37,NIDiasABP,67
42:37,NIMAP,87.67
42:37,NISysABP,129
42:37,RespRate,23
43:37,GCS,15
43:37,HR,73
43:37,NIDiasABP,64
43:37,NIMAP,82.67
43:37,NISysABP,120
43:37,RespRate,17
43:37,Temp,37.6
43:37,Urine,250
44:37,RespRate,20
45:37,HR,84
45:37,NIDiasABP,56
45:37,NIMAP,81.33
45:37,NISysABP,132
45:37,RespRate,20
45:37,Urine,300
46:37,RespRate,20
47:37,GCS,15
47:37,HR,86
47:37,NIDiasABP,55
47:37,NIMAP,79.33
47:37,NISysABP,128
47:37,RespRate,23
47:37,Temp,37.8
47:37,Urine,280
Time,Parameter,Value
00:00,RecordID,132540
00:00,Age,76
00:00,Gender,1
00:00,Height,175.3
00:00,ICUType,2
00:00,Weight,76
00:42,pH,7.45
00:42,PaCO2,34
00:42,PaO2,344
01:11,DiasABP,67
01:11,FiO2,1
01:11,HCT,24.7
01:11,HR,88
01:11,MAP,79
01:11,MechVent,1
01:11,Platelets,164
01:11,SysABP,105
01:11,Temp,35.2
01:11,WBC,7.4
01:26,DiasABP,69
01:26,GCS,3
01:26,HR,88
01:26,MAP,81
01:26,SysABP,106
01:26,Temp,35.1
01:26,Urine,770
01:27,Urine,0
01:31,DiasABP,64
01:31,HR,88
01:31,MAP,55
01:31,SysABP,75
01:31,Temp,34.8
01:38,pH,7.44
01:38,PaCO2,33
01:38,PaO2,445
01:41,Urine,180
01:46,DiasABP,81
01:46,HR,88
01:46,MAP,100
01:46,SysABP,135
01:46,Temp,34.5
01:51,FiO2,0.5
01:51,MechVent,1
01:56,DiasABP,54
01:56,HR,88
01:56,MAP,67
01:56,SysABP,94
01:56,Temp,34.8
02:11,DiasABP,62
02:11,HR,88
02:11,MAP,76
02:11,SysABP,105
02:11,Temp,35.1
02:11,Urine,45
02:26,BUN,16
02:26,Creatinine,0.8
02:26,HCO3,21
02:26,HCT,28.8
02:26,Mg,3.1
02:26,Platelets,181
02:31,FiO2,0.5
02:31,MechVent,1
02:31,Urine,400
02:36,DiasABP,51
02:36,HR,88
02:36,MAP,62
02:36,SysABP,83
02:36,Temp,35.4
02:41,DiasABP,69
02:41,SysABP,118
02:51,DiasABP,64
02:51,HR,88
02:51,MAP,80
02:51,SysABP,110
02:51,Temp,35.7
03:01,DiasABP,54
03:01,HR,88
03:01,MAP,66
03:01,SysABP,89
03:01,Temp,35.8
03:11,DiasABP,56
03:11,GCS,10
03:11,HR,88
03:11,MAP,71
03:11,SysABP,99
03:11,Temp,36
03:11,Urine,270
03:12,pH,7.4
03:12,PaCO2,34
03:12,PaO2,218
03:12,SaO2,99
03:31,FiO2,0.4
03:51,MechVent,1
04:11,DiasABP,57
04:11,GCS,11
04:11,HR,88
04:11,MAP,70
04:11,SysABP,99
04:11,Temp,36.7
04:11,Urine,220
04:57,pH,7.34
04:57,PaCO2,40
04:57,PaO2,153
04:57,SaO2,98
05:00,HCT,28.2
05:00,Platelets,226
05:11,DiasABP,57
05:11,HR,88
05:11,MAP,70
05:11,SysABP,98
05:11,Temp,37.2
05:11,Urine,100
05:21,DiasABP,55
05:21,MAP,72
05:21,SysABP,80
06:11,DiasABP,55
06:11,HR,88
06:11,MAP,71
06:11,SysABP,107
06:11,Temp,37.4
06:11,Urine,129
06:52,pH,7.36
06:52,PaCO2,41
06:52,PaO2,89
06:52,SaO2,97
07:11,DiasABP,57
07:11,GCS,15
07:11,HR,88
07:11,MAP,74
07:11,MechVent,1
07:11,SysABP,110
07:11,Temp,37.6
07:11,Urine,50
07:21,DiasABP,66
07:21,HR,88
07:21,MAP,89
07:21,SysABP,135
07:21,Temp,37.4
07:26,HCT,28.8
07:31,DiasABP,60
07:31,HR,88
07:31,MAP,78
07:31,SysABP,117
07:31,Temp,37.6
07:51,DiasABP,54
07:51,HR,88
07:51,MAP,67
07:51,SysABP,94
07:51,Temp,37.6
08:11,DiasABP,71
08:11,FiO2,0.4
08:11,HR,88
08:11,MAP,92
08:11,SysABP,133
08:11,Temp,37.7
08:11,Urine,50
08:26,DiasABP,49
08:26,HR,88
08:26,MAP,61
08:26,SysABP,84
08:26,Temp,37.7
08:31,DiasABP,51
08:31,HR,88
08:31,MAP,64
08:31,SysABP,88
08:31,Temp,37.7
08:41,DiasABP,70
08:41,HR,88
08:41,MAP,91
08:41,SysABP,133
08:41,Temp,37.7
09:11,DiasABP,63
09:11,HR,88
09:11,MAP,82
09:11,SysABP,118
09:11,Temp,37.8
09:11,Urine,60
10:11,DiasABP,68
10:11,HR,88
10:11,MAP,90
10:11,SysABP,132
10:11,Temp,37.9
10:11,Urine,45
10:16,DiasABP,58
10:16,HR,80
10:16,MAP,75
10:16,SysABP,107
10:16,Temp,37.9
11:11,DiasABP,61
11:11,GCS,15
11:11,HR,80
11:11,MAP,81
11:11,SysABP,118
11:11,Temp,37.9
11:11,Urine,45
12:11,DiasABP,62
12:11,HR,80
12:11,MAP,81
12:11,SysABP,116
12:11,Temp,37.7
12:11,Urine,20
13:11,DiasABP,65
13:11,HR,80
13:11,MAP,85
13:11,SysABP,125
13:11,Temp,37.6
13:11,Urine,35
13:35,pH,7.4
13:35,SaO2,97
14:11,DiasABP,60
14:11,HR,80
14:11,MAP,79
14:11,SysABP,115
14:11,Temp,37.5
14:11,Urine,50
14:15,BUN,18
14:15,Creatinine,1.2
14:15,Glucose,105
14:15,HCO3,22
14:15,HCT,28.1
14:15,Mg,1.9
14:15,Platelets,187
14:15,K,4.3
14:15,Na,139
14:15,WBC,13.1
15:11,DiasABP,58
15:11,GCS,15
15:11,HR,80
15:11,MAP,76
15:11,SysABP,110
15:11,Temp,37.5
16:11,DiasABP,48
16:11,HR,80
16:11,MAP,62
16:11,SysABP,91
16:11,Temp,37.6
16:11,Urine,100
16:31,DiasABP,59
16:31,HR,80
16:31,MAP,77
16:31,SysABP,115
16:31,Temp,37.4
17:11,DiasABP,55
17:11,HR,80
17:11,MAP,72
17:11,SysABP,106
17:11,Temp,37.5
17:11,Urine,30
17:41,DiasABP,54
17:41,HR,80
17:41,MAP,69
17:41,SysABP,100
17:41,Temp,37.5
17:56,DiasABP,61
17:56,HR,80
17:56,MAP,81
17:56,SysABP,119
17:56,Temp,37.5
18:11,DiasABP,62
18:11,HR,80
18:11,MAP,83
18:11,SysABP,123
18:11,Temp,37.5
18:11,Urine,25
19:11,DiasABP,62
19:11,GCS,15
19:11,HR,80
19:11,MAP,82
19:11,SysABP,122
19:11,Temp,37.5
19:11,Urine,50
19:11,Weight,80.6
20:11,DiasABP,55
20:11,HR,80
20:11,MAP,73
20:11,SysABP,107
20:11,Temp,37.4
20:11,Urine,380
20:11,Weight,80.6
21:11,DiasABP,59
21:11,HR,81
21:11,MAP,80
21:11,SysABP,121
21:11,Temp,37.5
21:11,Urine,170
21:11,Weight,80.6
21:57,HCT,29.7
22:11,DiasABP,62
22:11,HR,80
22:11,MAP,83
22:11,SysABP,128
22:11,Temp,37.5
22:11,Urine,130
22:11,Weight,80.6
23:11,DiasABP,32
23:11,GCS,15
23:11,HR,80
23:11,MAP,43
23:11,NIDiasABP,38
23:11,NIMAP,49.33
23:11,NISysABP,72
23:11,SysABP,66
23:11,Urine,120
23:11,Weight,80.6
23:26,DiasABP,57
23:26,HR,80
23:26,MAP,80
23:26,NIDiasABP,60
23:26,NIMAP,78.33
23:26,NISysABP,115
23:26,SysABP,126
23:26,Weight,80.6
23:41,DiasABP,58
23:41,HR,80
23:41,MAP,81
23:41,NIDiasABP,65
23:41,NIMAP,86.33
23:41,NISysABP,129
23:41,SysABP,126
23:41,Weight,80.6
24:11,DiasABP,60
24:11,HR,80
24:11,MAP,84
24:11,NIDiasABP,67
24:11,NIMAP,88.33
24:11,NISysABP,131
24:11,SysABP,132
24:11,Urine,45
24:11,Weight,80.6
24:26,DiasABP,57
24:26,HR,80
24:26,MAP,80
24:26,SysABP,124
24:26,Weight,80.6
25:11,DiasABP,51
25:11,HR,80
25:11,MAP,72
25:11,NIDiasABP,65
25:11,NIMAP,79.67
25:11,NISysABP,109
25:11,SysABP,114
25:11,Weight,80.6
26:11,DiasABP,68
26:11,HR,80
26:11,MAP,92
26:11,SysABP,138
26:11,Temp,36.9
26:11,Urine,90
26:11,Weight,80.6
26:26,DiasABP,65
26:26,HR,80
26:26,MAP,87
26:26,NIDiasABP,67
26:26,NIMAP,86
26:26,NISysABP,124
26:26,SysABP,128
26:26,Temp,37
26:26,Weight,80.6
27:11,DiasABP,61
27:11,GCS,15
27:11,HR,80
27:11,MAP,82
27:11,NIDiasABP,54
27:11,NIMAP,70.33
27:11,NISysABP,103
27:11,SysABP,123
27:11,Urine,60
27:11,Weight,80.6
28:11,DiasABP,62
28:11,HR,80
28:11,MAP,86
28:11,NIDiasABP,61
28:11,NIMAP,83
28:11,NISysABP,127
28:11,SysABP,131
28:11,Urine,65
28:11,Weight,80.6
29:11,DiasABP,62
29:11,HR,80
29:11,MAP,84
29:11,NIDiasABP,66
29:11,NIMAP,86
29:11,NISysABP,126
29:11,SysABP,129
<