Skip to content

Commit

Permalink
Added redacted data
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Williams committed Jun 19, 2020
1 parent 2e9e5ee commit cb2975b
Show file tree
Hide file tree
Showing 14 changed files with 1,264 additions and 15 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ outputs/
.Rproj.user
.Rhistory
.RData
Rplots.pdf
1 change: 0 additions & 1 deletion Analysis/README.md

This file was deleted.

15 changes: 2 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Exploring the indirect effects the COVID-19 public health emergency on the repor
2. Run `node main.js` to create the SQL queries necessary for data extraction
3. When on the server execute `data-extraction/RunToExtractData.bat` to extract the data
4. Data with daily counts ends up in a directory outside of this repo due to small numbers
5.
5. Analysis instructions are below

## Analysis

Expand All @@ -28,15 +28,4 @@ Navigate to the root of the project and execute:
npm run analyse
```

All outputs appear in the `./outputs` directory.

## Proposals

***This has been superseded - I think...***

1. Has there been any change in new diagnoses for these conditions of interest? Ideally, calculating incidence rates per month.
2. For those with existing mental illness disorders, is there any change in the frequency and type of consultation for those people? In other words, are they consulting less often under the current situation or are they just consulting differently (switch from face-to-face to video/telephone consultation, etc).
- does this vary per condition
- is it larger/smaller when compared with physical health conditions
- need a shortlist of such physical health conditions - preferably those not related to mental health
3. We have a lot of speculative codes for these conditions - many of which relate to symptoms. Could we examine whether the current situation has exacerbated symptoms (or increased the frequency of episodes) among patients with prior diagnoses?
All outputs appear in the `./outputs` directory. Redacted monthly data will be written to the `./data-extraction/data` directory. Any counts `<10` are replaced with `0`s.
2 changes: 1 addition & 1 deletion data-extraction/data/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

# But not these file...
!.gitignore
dx*txt
!dx*txt
126 changes: 126 additions & 0 deletions data-extraction/data/dx--acei.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
"date" "inc"
2010-01-01 143
2010-02-01 143
2010-03-01 179
2010-04-01 135
2010-05-01 144
2010-06-01 126
2010-07-01 150
2010-08-01 120
2010-09-01 124
2010-10-01 148
2010-11-01 129
2010-12-01 130
2011-01-01 124
2011-02-01 95
2011-03-01 149
2011-04-01 120
2011-05-01 110
2011-06-01 125
2011-07-01 97
2011-08-01 126
2011-09-01 115
2011-10-01 116
2011-11-01 138
2011-12-01 138
2012-01-01 149
2012-02-01 149
2012-03-01 121
2012-04-01 142
2012-05-01 142
2012-06-01 121
2012-07-01 127
2012-08-01 125
2012-09-01 112
2012-10-01 129
2012-11-01 129
2012-12-01 111
2013-01-01 155
2013-02-01 136
2013-03-01 134
2013-04-01 137
2013-05-01 129
2013-06-01 101
2013-07-01 124
2013-08-01 110
2013-09-01 124
2013-10-01 136
2013-11-01 123
2013-12-01 110
2014-01-01 151
2014-02-01 138
2014-03-01 145
2014-04-01 131
2014-05-01 128
2014-06-01 119
2014-07-01 126
2014-08-01 108
2014-09-01 111
2014-10-01 113
2014-11-01 133
2014-12-01 123
2015-01-01 130
2015-02-01 136
2015-03-01 159
2015-04-01 123
2015-05-01 129
2015-06-01 131
2015-07-01 121
2015-08-01 119
2015-09-01 112
2015-10-01 125
2015-11-01 152
2015-12-01 134
2016-01-01 137
2016-02-01 144
2016-03-01 183
2016-04-01 152
2016-05-01 139
2016-06-01 147
2016-07-01 153
2016-08-01 134
2016-09-01 156
2016-10-01 126
2016-11-01 161
2016-12-01 178
2017-01-01 174
2017-02-01 163
2017-03-01 182
2017-04-01 140
2017-05-01 163
2017-06-01 168
2017-07-01 142
2017-08-01 171
2017-09-01 152
2017-10-01 157
2017-11-01 167
2017-12-01 114
2018-01-01 173
2018-02-01 169
2018-03-01 190
2018-04-01 174
2018-05-01 181
2018-06-01 164
2018-07-01 173
2018-08-01 157
2018-09-01 146
2018-10-01 146
2018-11-01 161
2018-12-01 134
2019-01-01 181
2019-02-01 146
2019-03-01 188
2019-04-01 165
2019-05-01 188
2019-06-01 197
2019-07-01 166
2019-08-01 156
2019-09-01 131
2019-10-01 155
2019-11-01 147
2019-12-01 158
2020-01-01 159
2020-02-01 149
2020-03-01 145
2020-04-01 52
2020-05-01 60
126 changes: 126 additions & 0 deletions data-extraction/data/dx--aspirin-75.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
"date" "inc"
2010-01-01 73
2010-02-01 75
2010-03-01 73
2010-04-01 61
2010-05-01 65
2010-06-01 67
2010-07-01 93
2010-08-01 74
2010-09-01 65
2010-10-01 74
2010-11-01 96
2010-12-01 70
2011-01-01 71
2011-02-01 79
2011-03-01 90
2011-04-01 79
2011-05-01 72
2011-06-01 86
2011-07-01 70
2011-08-01 66
2011-09-01 74
2011-10-01 76
2011-11-01 85
2011-12-01 82
2012-01-01 86
2012-02-01 75
2012-03-01 104
2012-04-01 75
2012-05-01 74
2012-06-01 90
2012-07-01 64
2012-08-01 60
2012-09-01 68
2012-10-01 75
2012-11-01 82
2012-12-01 64
2013-01-01 92
2013-02-01 98
2013-03-01 91
2013-04-01 92
2013-05-01 85
2013-06-01 55
2013-07-01 81
2013-08-01 78
2013-09-01 99
2013-10-01 109
2013-11-01 80
2013-12-01 69
2014-01-01 88
2014-02-01 109
2014-03-01 98
2014-04-01 79
2014-05-01 108
2014-06-01 74
2014-07-01 76
2014-08-01 80
2014-09-01 103
2014-10-01 90
2014-11-01 88
2014-12-01 93
2015-01-01 76
2015-02-01 80
2015-03-01 88
2015-04-01 86
2015-05-01 87
2015-06-01 77
2015-07-01 83
2015-08-01 76
2015-09-01 76
2015-10-01 83
2015-11-01 84
2015-12-01 63
2016-01-01 80
2016-02-01 91
2016-03-01 94
2016-04-01 77
2016-05-01 84
2016-06-01 73
2016-07-01 90
2016-08-01 85
2016-09-01 97
2016-10-01 83
2016-11-01 105
2016-12-01 94
2017-01-01 92
2017-02-01 90
2017-03-01 103
2017-04-01 75
2017-05-01 82
2017-06-01 105
2017-07-01 108
2017-08-01 105
2017-09-01 94
2017-10-01 83
2017-11-01 99
2017-12-01 74
2018-01-01 112
2018-02-01 104
2018-03-01 81
2018-04-01 109
2018-05-01 114
2018-06-01 76
2018-07-01 96
2018-08-01 104
2018-09-01 96
2018-10-01 114
2018-11-01 79
2018-12-01 73
2019-01-01 124
2019-02-01 94
2019-03-01 100
2019-04-01 90
2019-05-01 112
2019-06-01 100
2019-07-01 90
2019-08-01 99
2019-09-01 87
2019-10-01 90
2019-11-01 100
2019-12-01 97
2020-01-01 95
2020-02-01 79
2020-03-01 100
2020-04-01 57
2020-05-01 54
Loading

0 comments on commit cb2975b

Please sign in to comment.