Skip to content

Code for "Associations Between Family Member Involvement and Outcomes of Patients Admitted to the Intensive Care Unit"

Notifications You must be signed in to change notification settings

lindvalllab/caregivers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caregivers Project

This repository contains the code for our paper "Associations Between Family Member Involvement and Outcomes of Patients Admitted to the Intensive Care Unit".

List of Tables

Development Setup

Clone the repository

git clone https://github.com/lindvalllab/caregivers.git
cd caregivers

Set up a virtual environment

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)

Install requirements

pip install -r requirements.txt

Run the notebooks

cd notebooks  # optional, can also navigate to the directory after running `jupyter lab`
jupyter lab

Run the tests

The test files can be found in the tests directory. To run them, simply run the following.

cd caregivers
pytest

About

Code for "Associations Between Family Member Involvement and Outcomes of Patients Admitted to the Intensive Care Unit"

Resources

Stars

Watchers

Forks