onlyzdd / clinical-fusion

Clinical data fusion
29 stars 15 forks source link

keyerror:'hadm_id' #3

Closed JianhaoLuo closed 3 years ago

JianhaoLuo commented 3 years ago

Hi, I'm trying to run your code, and when I run 01_get_signals.py, I got an error keyerror:'hadm_id' in line 12.

onlyzdd commented 3 years ago

Hi @JianhaoLuo! The _pivotedvital view should merge with the icustays table. I've updated the _pivotedvital.sql file and it should generate with the _hadmid column now.