Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mit-lcp/sccm-datathon
Resources for the Society of Critical Care Medicine (SCCM) Datathon
https://github.com/mit-lcp/sccm-datathon
critical-care datathon eicu icu mimic sccm
Last synced: about 2 months ago
JSON representation
Resources for the Society of Critical Care Medicine (SCCM) Datathon
- Host: GitHub
- URL: https://github.com/mit-lcp/sccm-datathon
- Owner: MIT-LCP
- License: mit
- Created: 2020-02-06T14:52:04.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-01T14:24:21.000Z (almost 2 years ago)
- Last Synced: 2024-03-26T05:28:45.006Z (9 months ago)
- Topics: critical-care, datathon, eicu, icu, mimic, sccm
- Language: Jupyter Notebook
- Homepage: https://www.sccm.org/Education-Center/Annual-Congress/Program/Data-Science-Datathon
- Size: 250 KB
- Stars: 18
- Watchers: 9
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Society of Critical Care Medicine (SCCM) Datathon (14-15 February)
This repository contains resources for the [Society of Critical Care Medicine (SCCM) Datathon 2020](https://www.sccm.org/Education-Center/Annual-Congress/Program/Data-Science-Datathon).
## Contents
1. Getting started
2. Documentation
3. Databases on BigQuery
4. Analysing data with Google Colab
5. Python notebooks that we prepared earlier
6. An example in R
7. Sample projects## 1. Getting started
The datasets are hosted on Google Cloud, which requires a Gmail account to manage permissions.
1. Create a [Gmail account](https://www.google.com/gmail/about/), if you don't already have one. It will be used to manage your access to the resources.
2. Give your gmail address to the session hosts.## 2. Documentation
We will be working with two critical care datasets during the event: [MIMIC-III](https://mimic.physionet.org/) and the [eICU Collaborative Research Database](https://eicu-crd.mit.edu/).
- MIMIC-III Clinical Database: https://mimic.physionet.org/
- eICU Collaborative Research Database: https://eicu-crd.mit.edu/## 3. Databases on BigQuery
BigQuery is a database system that makes it easy to explore data with Structured Query Language ("SQL"). There are several datasets on BigQuery available for you to explore, including `eicu_crd` (the eICU Collaborative Research Database) and `mimiciii_clinical` (the MIMIC-III Clinical Database).
You will also find "derived" databases, which include tables derived from the original data using the code in the [eICU](https://github.com/MIT-LCP/eicu-code) and [MIMIC](https://github.com/MIT-LCP/mimic-code) code repositories. These are helpful if you are looking for something like a sepsis cohort or first day vital signs.
1. [Open BigQuery](https://console.cloud.google.com/bigquery?project=sccm-datathon).
2. At the top of the console, select `sccm-datathon` as the project. This indicates the account used for billing.
3. "Pin" a project to the resources menu to view available datasets. In the Resources menu on the left, click "Add data", "Pin a project", then add the following project names: `physionet-data` and `sccm-datathon`.
4. You should be able preview the data available on these projects using the graphical interface.
5. Now try running a query. For example, try counting the number of rows in the demo eICU patient table:```SQL
SELECT count(*)
FROM `physionet-data.eicu_crd_demo.patient`
```## 4. Analysing data with Google Colab
Python is an increasingly popular programming language for analysing data. We will explore the data using Python notebooks, which allow code and text to be combined into executable documents. First, try opening a blank document using the link below:
- [https://colab.research.google.com/](https://colab.research.google.com/)
## 5. Python notebooks that we prepared earlier
Several tutorials are provided below. Requirements for these notebooks are: (1) you have a Gmail account and (2) your Gmail address has been added to the appropriate Google Group by the workshop hosts.
Notebook 1 (eICU): Exploring the patient table.
Notebook 2 (eICU): Severity of illness.
Notebook 3 (eICU): Summary statistics.
Notebook 4 (eICU): Timeseries.
Notebook 5 (eICU): Mortality prediction.
Notebook 6 (eICU): Acute kidney injury.
Notebook 7 (eICU): Project work.
Notebook 8 (MIMIC): Weekend effect on mortality.
## 6. An example in R
If you prefer working in R, then you can connect to Google Cloud from your code in a similar way:
- https://github.com/MIT-LCP/sccm-datathon/blob/master/mimic-iii-los.rmd
## 7. Sample projects
These papers and repositories may be helpful for reference. They are definitely **not** perfect! Code may be untidy, poorly documented, buggy, outdated etc. Think about how they can be improved, adapted, etc. For example, you could:
- replicate the study on a different dataset (e.g. MIMIC vs eICU)
- improve the methodology1. The association between mortality among patients admitted to the intensive care unit on a weekend compared to a weekday
- Python Notebook: https://github.com/MIT-LCP/bhi-bsn-challenge/blob/master/challenge-demo.ipynb
- R Markdown Notebook: https://github.com/MIT-LCP/bhi-bsn-challenge/blob/master/rmarkdown_example_notebook.Rmd
- More reading: https://physionet.org/content/bhi-2018-challenge/1.0/TBC...