The TRR 265 analysis pipeline.
Project description
TRR 265
This module handles analysis of the TRR265 data.
Install
pip install trr265
How to use
#%load_ext autoreload
#%autoreload 2
from trr265.data_provider import DataProvider
dp = DataProvider('/Users/hilmarzech/Projects/trr265/trr265/data/') # Path to data folder (containing raw, interim, external, and processed)
dp.get_two_day_data().iloc[:20][['participant','date','MDBF_zufrieden','g_alc']]
<style scoped>
.dataframe tbody tr th:only-of-type {
vertical-align: middle;
}
.dataframe tbody tr th {
vertical-align: top;
}
.dataframe thead th {
text-align: right;
}
</style>
participant | date | MDBF_zufrieden | g_alc | |
---|---|---|---|---|
two_day_index | ||||
0 | b001 | 2020-02-22 | NaN | 6.4 |
1 | b001 | 2020-02-23 | NaN | 35.2 |
2 | b001 | 2020-02-24 | 2.0 | NaN |
3 | b001 | 2020-02-25 | NaN | NaN |
4 | b001 | 2020-02-26 | NaN | NaN |
5 | b001 | 2020-02-27 | NaN | NaN |
6 | b001 | 2020-02-28 | NaN | NaN |
7 | b001 | 2020-02-29 | NaN | NaN |
8 | b001 | 2020-03-01 | NaN | NaN |
9 | b001 | 2020-03-02 | NaN | NaN |
10 | b001 | 2020-03-03 | NaN | NaN |
11 | b001 | 2020-03-04 | NaN | NaN |
12 | b001 | 2020-03-05 | NaN | 0.0 |
13 | b001 | 2020-03-06 | NaN | 57.6 |
14 | b001 | 2020-03-07 | 3.0 | NaN |
15 | b001 | 2020-03-08 | NaN | NaN |
16 | b001 | 2020-03-09 | NaN | NaN |
17 | b001 | 2020-03-10 | NaN | NaN |
18 | b001 | 2020-03-11 | NaN | NaN |
19 | b001 | 2020-03-12 | NaN | NaN |
Required data
Phone screening
- data/external/b7_participants.xlsx <- from Hilmar
- data/raw/phonescreening.csv <- from redcap
- data/external/phone_codebook.html <- from redcap
Basic assessment (from redcap)
- data/raw/ba.csv <- from redcap
- data/external/ba_codebook.html <- from redcap
Movisens
- all basic assessment data (see above)
- data/raw/mov_data_b.csv
- data/raw/mov_data_d.csv
- data/raw/mov_data_m.csv
- data/raw/starting_dates_b.csv
- data/raw/starting_dates_d.csv
- data/raw/starting_dates_m.csv
- data/external/alcohol_per_drink.csv <- from Hilmar
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
trr265-0.0.5.tar.gz
(19.0 kB
view hashes)
Built Distribution
trr265-0.0.5-py3-none-any.whl
(16.1 kB
view hashes)