Skip to content

Commit

Permalink
Merge pull request #43 from sidohaakma/feat/add-new-eating-disorder-vars
Browse files Browse the repository at this point in the history
feat: added eating disorder variables
  • Loading branch information
sidohaakma authored Mar 2, 2020
2 parents 1287e20 + f736ba0 commit 43aef89
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 21 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: lifecycleProject
Title: Protocols and Sample analysis
Version: 2.1.0
Version: 2.2.0
Authors@R: person("Sido", "Haakma", email = "[email protected]",
role = c("aut", "cre"))
Description: We supply standardised ways to upload and import versioned data dictionaries.
Expand Down
Binary file modified R/data/dictionaries/core/2_0/2_0_non_rep.xlsx
Binary file not shown.
Binary file modified R/data/dictionaries/core/2_0/2_0_yearly_rep.xlsx
Binary file not shown.
81 changes: 68 additions & 13 deletions changelogs/CORE_DICTIONARY_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,83 @@
We define here in what versions of the data dictionaries contains which tables.

## 2.0
**lifecycleProject R-package version >= 1.1.0**
**lifecycleProject R-package version >= 2.1.0**

Additional variables from WP3 and changes in the lifecycle variables.
Additional variables from WP3 and changes in the lifecycle variables. Minor changes in core variables.

### Content

**General changes**
* Create a seperate table for the trimester variables.
* Create a seperate table for the trimester variables
* Moved smk_t* and alc_t* to the trimester variables
* Fixed requite_age in non-repeated variables
* Changing the child_id's columntype to character to overcome the maximum integer problem

**Workpackage 3**
- EUSILC variables (task 3.1.1)
- Migration variables (task 3.1.2)
- (task 3.1.3)
- (task 3.1.4)

**Workpackage 1**
* Changing the child_id's columntype to character to overcome the maximum integer problem
**Additional variables**
Extensions of the core variables by individuals within LifeCycle or workpackages within LifeCycle.

**Cats and dog variables**

Contributed by: Angela Pinot de Moira ([email protected])

*Non-repeated variables*

| Variable | Type | Description |
| --------------- | ------- | ------------------------------------- |
| cats_preg | integer | Cat ownership during pregnancy |
| cats_quant_preg | integer | Number of cats owned during pregnancy |
| dogs_preg | integer | Dog ownership during pregnancy |
| dogs_quant_preg | integer | Number of dogs owned during pregnancy |

**Eating disorder variables**

Contributed by: Maja Popovic ([email protected])

*Non-repeated variables*

| Variable | Type | Description |
| ----------- | ------- | -------------------------------------------------------------- |
| prepreg_dep | integer | Maternal history of depressive disorders |
| prepreg_anx | integer | Maternal history of anxiety disorders |
| prepreg_ed | integer | Maternal history of any eating disorder |
| preg_ed | integer | Maternal any eating disorder active during the index pregnancy |
| prepreg_an | integer | Maternal history of anorexia nervosa |
| preg_an | integer | Maternal anorexia nervosa active during the index pregnancy |
| prepreg_bn | integer | Maternal history of bulimia nervosa |
| preg_bn | integer | Maternal bulimia nervosa active during the index pregnancy |

*Yearly-repeated measures*

| Variable | Type | Description |
| ----------- | ------- | -------------------------------------------------------------- |
| ed_m_ | integer | Maternal any eating disorder active after the index pregnancy |
| an_m_ | integer | Maternal anorexia nervosa active after the index pregnancy |
| bn_m_ | integer | Maternal bulimia nervosa active after the index pregnancy |

**Socio-economic stressors (task 3.1.1)**

Contributed by: Constanza Pizzi ([email protected])

*Non-repeated variables*

| Variable | Type | Description |
| --------------------- | ------- | ---------------------------------------------------------------------------------------- |
eusilc_income | decimal | Predicted log-equivalised total disposable household income at baseline |
eusilc_income_quintiles | integer | Quintiles of the predicted log-equivalised total disposable household income at baseline |

**Migration stressors (task 3.1.2)**

**Urban environment stressors (task 3.1.3)**

**Lifestyle related stressors (task 3.1.4)**


### Tables
- 1_1_core_cohort-id_x_x_non_repeated_measures
- 1_1_core_cohort-id_x_x_quaterly_measures
- 1_1_core_cohort-id_x_x_yearly_measures
- 1_1_core_x_x_non_repeated_measures
- 1_1_core_x_x_trimester_measures
- 1_1_core_x_x_yearly_measures
- 1_1_core_x_x_monthly_measures

## 1.0
**lifecycleProject R-package version >= 1.0.4**
Expand Down
14 changes: 7 additions & 7 deletions changelogs/OUTCOME_DICTIONARY_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ New variables for work packages 4, 5 and 6.

### Content

**Workpackage 4**
**Early-life stressors and cardio-metabolic health life course trajectories (WP4)**


**Workpackage 5**
**Early-life stressors and respiratory health life course trajectories (WP5)**


**Workpackage 6**
**Early-life stressors and mental health life course trajectories (WP6)**

### Tables
- 1_0_outcome_cohort-id_x_x_non_repeated
- 1_0_outcome_cohort-id_x_x_weekly_repeated
- 1_0_outcome_cohort-id_x_x_monthly_repeated
- 1_0_outcome_cohort-id_x_x_yearly_repeated
- 1_0_outcome_x_x_non_repeated
- 1_0_outcome_x_x_weekly_repeated
- 1_0_outcome_x_x_monthly_repeated
- 1_0_outcome_x_x_yearly_repeated
Empty file removed changelogs/data/DNBC.md
Empty file.

0 comments on commit 43aef89

Please sign in to comment.