This repository contains the code for our paper "Associations Between Family Member Involvement and Outcomes of Patients Admitted to the Intensive Care Unit".
- Table 1: Patient Characteristics
- Table 2: Goals of Care Conversations
- Table 3: Limitations in Life-Sustaining Treatments (LLST) Conversations
- Table 4: 3-Month Mortality
git clone https://github.com/lindvalllab/caregivers.git
cd caregivers
I use venv
since it's already in .gitignore
, but you can use whatever you like.
python3.7 -m venv venv
source venv/bin/activate
To tell Jupyter that your virtual environment exists:
python3.7 -m ipykernel install --user --name=<whatever_you_want>
This will make the active virtual environment (venv
, if you've been following the previous steps) available to you use in Jupyter. (Reference)
pip install -r requirements.txt
cd notebooks # optional, can also navigate to the directory after running `jupyter lab`
jupyter lab
The test files can be found in the tests
directory. To run them, simply run the following.
cd caregivers
pytest