From cb2975bcdb0508d04e6abda76c93e0a855a5aac1 Mon Sep 17 00:00:00 2001 From: Richard Williams Date: Fri, 19 Jun 2020 11:03:26 +0100 Subject: [PATCH] Added redacted data --- .gitignore | 1 + Analysis/README.md | 1 - README.md | 15 +-- data-extraction/data/.gitignore | 2 +- data-extraction/data/dx--acei.txt | 126 ++++++++++++++++++ data-extraction/data/dx--aspirin-75.txt | 126 ++++++++++++++++++ data-extraction/data/dx--ccbs.txt | 126 ++++++++++++++++++ data-extraction/data/dx--clopidogrel.txt | 126 ++++++++++++++++++ data-extraction/data/dx--metformin.txt | 126 ++++++++++++++++++ data-extraction/data/dx--ssri.txt | 126 ++++++++++++++++++ data-extraction/data/dx-GROUP-cancer.txt | 126 ++++++++++++++++++ .../data/dx-GROUP-circulatory-system.txt | 126 ++++++++++++++++++ .../dx-GROUP-mental-health-mild-moderate.txt | 126 ++++++++++++++++++ data-extraction/data/dx-diabetes-t2dm.txt | 126 ++++++++++++++++++ 14 files changed, 1264 insertions(+), 15 deletions(-) delete mode 100644 Analysis/README.md create mode 100644 data-extraction/data/dx--acei.txt create mode 100644 data-extraction/data/dx--aspirin-75.txt create mode 100644 data-extraction/data/dx--ccbs.txt create mode 100644 data-extraction/data/dx--clopidogrel.txt create mode 100644 data-extraction/data/dx--metformin.txt create mode 100644 data-extraction/data/dx--ssri.txt create mode 100644 data-extraction/data/dx-GROUP-cancer.txt create mode 100644 data-extraction/data/dx-GROUP-circulatory-system.txt create mode 100644 data-extraction/data/dx-GROUP-mental-health-mild-moderate.txt create mode 100644 data-extraction/data/dx-diabetes-t2dm.txt diff --git a/.gitignore b/.gitignore index 40f3f1b..960df6c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ outputs/ .Rproj.user .Rhistory .RData +Rplots.pdf diff --git a/Analysis/README.md b/Analysis/README.md deleted file mode 100644 index 3a754d9..0000000 --- a/Analysis/README.md +++ /dev/null @@ -1 +0,0 @@ -# This folder consists of all the code for the project diff --git a/README.md b/README.md index a03cec4..5fb82be 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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? \ No newline at end of file +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. diff --git a/data-extraction/data/.gitignore b/data-extraction/data/.gitignore index c9aab8a..09fb13a 100644 --- a/data-extraction/data/.gitignore +++ b/data-extraction/data/.gitignore @@ -3,4 +3,4 @@ # But not these file... !.gitignore -dx*txt \ No newline at end of file +!dx*txt \ No newline at end of file diff --git a/data-extraction/data/dx--acei.txt b/data-extraction/data/dx--acei.txt new file mode 100644 index 0000000..81e6a51 --- /dev/null +++ b/data-extraction/data/dx--acei.txt @@ -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 diff --git a/data-extraction/data/dx--aspirin-75.txt b/data-extraction/data/dx--aspirin-75.txt new file mode 100644 index 0000000..7545492 --- /dev/null +++ b/data-extraction/data/dx--aspirin-75.txt @@ -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 diff --git a/data-extraction/data/dx--ccbs.txt b/data-extraction/data/dx--ccbs.txt new file mode 100644 index 0000000..26a289f --- /dev/null +++ b/data-extraction/data/dx--ccbs.txt @@ -0,0 +1,126 @@ +"date" "inc" +2010-01-01 97 +2010-02-01 111 +2010-03-01 141 +2010-04-01 119 +2010-05-01 103 +2010-06-01 96 +2010-07-01 113 +2010-08-01 88 +2010-09-01 102 +2010-10-01 103 +2010-11-01 130 +2010-12-01 96 +2011-01-01 108 +2011-02-01 94 +2011-03-01 138 +2011-04-01 88 +2011-05-01 87 +2011-06-01 97 +2011-07-01 89 +2011-08-01 91 +2011-09-01 98 +2011-10-01 110 +2011-11-01 135 +2011-12-01 105 +2012-01-01 125 +2012-02-01 138 +2012-03-01 121 +2012-04-01 123 +2012-05-01 120 +2012-06-01 94 +2012-07-01 125 +2012-08-01 106 +2012-09-01 93 +2012-10-01 141 +2012-11-01 149 +2012-12-01 92 +2013-01-01 126 +2013-02-01 113 +2013-03-01 155 +2013-04-01 122 +2013-05-01 109 +2013-06-01 86 +2013-07-01 110 +2013-08-01 102 +2013-09-01 99 +2013-10-01 104 +2013-11-01 133 +2013-12-01 113 +2014-01-01 143 +2014-02-01 133 +2014-03-01 140 +2014-04-01 94 +2014-05-01 113 +2014-06-01 98 +2014-07-01 116 +2014-08-01 84 +2014-09-01 107 +2014-10-01 116 +2014-11-01 121 +2014-12-01 130 +2015-01-01 113 +2015-02-01 134 +2015-03-01 173 +2015-04-01 114 +2015-05-01 108 +2015-06-01 112 +2015-07-01 105 +2015-08-01 115 +2015-09-01 129 +2015-10-01 121 +2015-11-01 130 +2015-12-01 127 +2016-01-01 150 +2016-02-01 154 +2016-03-01 184 +2016-04-01 161 +2016-05-01 140 +2016-06-01 111 +2016-07-01 126 +2016-08-01 109 +2016-09-01 151 +2016-10-01 136 +2016-11-01 168 +2016-12-01 142 +2017-01-01 153 +2017-02-01 187 +2017-03-01 201 +2017-04-01 141 +2017-05-01 151 +2017-06-01 124 +2017-07-01 148 +2017-08-01 156 +2017-09-01 161 +2017-10-01 162 +2017-11-01 164 +2017-12-01 155 +2018-01-01 182 +2018-02-01 174 +2018-03-01 193 +2018-04-01 165 +2018-05-01 137 +2018-06-01 154 +2018-07-01 116 +2018-08-01 111 +2018-09-01 140 +2018-10-01 172 +2018-11-01 158 +2018-12-01 177 +2019-01-01 184 +2019-02-01 197 +2019-03-01 202 +2019-04-01 183 +2019-05-01 202 +2019-06-01 147 +2019-07-01 153 +2019-08-01 131 +2019-09-01 141 +2019-10-01 196 +2019-11-01 177 +2019-12-01 173 +2020-01-01 184 +2020-02-01 182 +2020-03-01 198 +2020-04-01 89 +2020-05-01 77 diff --git a/data-extraction/data/dx--clopidogrel.txt b/data-extraction/data/dx--clopidogrel.txt new file mode 100644 index 0000000..3d8b51b --- /dev/null +++ b/data-extraction/data/dx--clopidogrel.txt @@ -0,0 +1,126 @@ +"date" "inc" +2010-01-01 23 +2010-02-01 23 +2010-03-01 25 +2010-04-01 11 +2010-05-01 16 +2010-06-01 18 +2010-07-01 21 +2010-08-01 0 +2010-09-01 20 +2010-10-01 22 +2010-11-01 25 +2010-12-01 19 +2011-01-01 15 +2011-02-01 24 +2011-03-01 21 +2011-04-01 28 +2011-05-01 26 +2011-06-01 26 +2011-07-01 28 +2011-08-01 38 +2011-09-01 28 +2011-10-01 41 +2011-11-01 26 +2011-12-01 26 +2012-01-01 29 +2012-02-01 25 +2012-03-01 36 +2012-04-01 23 +2012-05-01 33 +2012-06-01 35 +2012-07-01 36 +2012-08-01 42 +2012-09-01 25 +2012-10-01 32 +2012-11-01 31 +2012-12-01 34 +2013-01-01 29 +2013-02-01 37 +2013-03-01 37 +2013-04-01 35 +2013-05-01 44 +2013-06-01 35 +2013-07-01 30 +2013-08-01 23 +2013-09-01 30 +2013-10-01 35 +2013-11-01 35 +2013-12-01 39 +2014-01-01 47 +2014-02-01 43 +2014-03-01 47 +2014-04-01 54 +2014-05-01 54 +2014-06-01 42 +2014-07-01 44 +2014-08-01 39 +2014-09-01 45 +2014-10-01 50 +2014-11-01 37 +2014-12-01 30 +2015-01-01 47 +2015-02-01 46 +2015-03-01 54 +2015-04-01 49 +2015-05-01 55 +2015-06-01 79 +2015-07-01 68 +2015-08-01 59 +2015-09-01 61 +2015-10-01 56 +2015-11-01 56 +2015-12-01 54 +2016-01-01 47 +2016-02-01 58 +2016-03-01 54 +2016-04-01 49 +2016-05-01 47 +2016-06-01 53 +2016-07-01 44 +2016-08-01 49 +2016-09-01 49 +2016-10-01 43 +2016-11-01 60 +2016-12-01 44 +2017-01-01 73 +2017-02-01 47 +2017-03-01 55 +2017-04-01 61 +2017-05-01 60 +2017-06-01 68 +2017-07-01 46 +2017-08-01 79 +2017-09-01 82 +2017-10-01 67 +2017-11-01 64 +2017-12-01 61 +2018-01-01 73 +2018-02-01 85 +2018-03-01 87 +2018-04-01 51 +2018-05-01 86 +2018-06-01 73 +2018-07-01 71 +2018-08-01 68 +2018-09-01 55 +2018-10-01 65 +2018-11-01 84 +2018-12-01 64 +2019-01-01 80 +2019-02-01 56 +2019-03-01 74 +2019-04-01 73 +2019-05-01 73 +2019-06-01 74 +2019-07-01 70 +2019-08-01 67 +2019-09-01 42 +2019-10-01 69 +2019-11-01 63 +2019-12-01 75 +2020-01-01 71 +2020-02-01 77 +2020-03-01 62 +2020-04-01 59 +2020-05-01 29 diff --git a/data-extraction/data/dx--metformin.txt b/data-extraction/data/dx--metformin.txt new file mode 100644 index 0000000..987b2c7 --- /dev/null +++ b/data-extraction/data/dx--metformin.txt @@ -0,0 +1,126 @@ +"date" "inc" +2010-01-01 45 +2010-02-01 47 +2010-03-01 67 +2010-04-01 53 +2010-05-01 39 +2010-06-01 59 +2010-07-01 63 +2010-08-01 39 +2010-09-01 41 +2010-10-01 49 +2010-11-01 47 +2010-12-01 44 +2011-01-01 54 +2011-02-01 53 +2011-03-01 60 +2011-04-01 41 +2011-05-01 55 +2011-06-01 45 +2011-07-01 38 +2011-08-01 42 +2011-09-01 44 +2011-10-01 55 +2011-11-01 43 +2011-12-01 38 +2012-01-01 53 +2012-02-01 55 +2012-03-01 66 +2012-04-01 45 +2012-05-01 64 +2012-06-01 44 +2012-07-01 61 +2012-08-01 52 +2012-09-01 41 +2012-10-01 44 +2012-11-01 59 +2012-12-01 51 +2013-01-01 67 +2013-02-01 53 +2013-03-01 56 +2013-04-01 80 +2013-05-01 56 +2013-06-01 53 +2013-07-01 60 +2013-08-01 57 +2013-09-01 56 +2013-10-01 68 +2013-11-01 66 +2013-12-01 68 +2014-01-01 60 +2014-02-01 70 +2014-03-01 58 +2014-04-01 58 +2014-05-01 70 +2014-06-01 62 +2014-07-01 75 +2014-08-01 38 +2014-09-01 60 +2014-10-01 53 +2014-11-01 68 +2014-12-01 65 +2015-01-01 83 +2015-02-01 57 +2015-03-01 94 +2015-04-01 89 +2015-05-01 53 +2015-06-01 76 +2015-07-01 79 +2015-08-01 68 +2015-09-01 76 +2015-10-01 64 +2015-11-01 87 +2015-12-01 95 +2016-01-01 82 +2016-02-01 83 +2016-03-01 100 +2016-04-01 89 +2016-05-01 99 +2016-06-01 69 +2016-07-01 83 +2016-08-01 93 +2016-09-01 80 +2016-10-01 89 +2016-11-01 83 +2016-12-01 108 +2017-01-01 103 +2017-02-01 94 +2017-03-01 96 +2017-04-01 65 +2017-05-01 77 +2017-06-01 79 +2017-07-01 79 +2017-08-01 82 +2017-09-01 64 +2017-10-01 85 +2017-11-01 83 +2017-12-01 62 +2018-01-01 77 +2018-02-01 94 +2018-03-01 115 +2018-04-01 94 +2018-05-01 102 +2018-06-01 92 +2018-07-01 102 +2018-08-01 80 +2018-09-01 77 +2018-10-01 82 +2018-11-01 84 +2018-12-01 96 +2019-01-01 100 +2019-02-01 98 +2019-03-01 104 +2019-04-01 95 +2019-05-01 98 +2019-06-01 109 +2019-07-01 100 +2019-08-01 75 +2019-09-01 92 +2019-10-01 80 +2019-11-01 90 +2019-12-01 81 +2020-01-01 98 +2020-02-01 105 +2020-03-01 116 +2020-04-01 61 +2020-05-01 40 diff --git a/data-extraction/data/dx--ssri.txt b/data-extraction/data/dx--ssri.txt new file mode 100644 index 0000000..f835cc4 --- /dev/null +++ b/data-extraction/data/dx--ssri.txt @@ -0,0 +1,126 @@ +"date" "inc" +2010-01-01 135 +2010-02-01 112 +2010-03-01 156 +2010-04-01 150 +2010-05-01 118 +2010-06-01 149 +2010-07-01 123 +2010-08-01 130 +2010-09-01 137 +2010-10-01 136 +2010-11-01 150 +2010-12-01 76 +2011-01-01 135 +2011-02-01 120 +2011-03-01 145 +2011-04-01 125 +2011-05-01 118 +2011-06-01 149 +2011-07-01 118 +2011-08-01 142 +2011-09-01 154 +2011-10-01 137 +2011-11-01 163 +2011-12-01 118 +2012-01-01 144 +2012-02-01 129 +2012-03-01 142 +2012-04-01 119 +2012-05-01 161 +2012-06-01 122 +2012-07-01 119 +2012-08-01 131 +2012-09-01 148 +2012-10-01 152 +2012-11-01 142 +2012-12-01 105 +2013-01-01 168 +2013-02-01 146 +2013-03-01 143 +2013-04-01 137 +2013-05-01 142 +2013-06-01 124 +2013-07-01 146 +2013-08-01 139 +2013-09-01 134 +2013-10-01 146 +2013-11-01 152 +2013-12-01 138 +2014-01-01 156 +2014-02-01 127 +2014-03-01 166 +2014-04-01 159 +2014-05-01 143 +2014-06-01 120 +2014-07-01 146 +2014-08-01 134 +2014-09-01 171 +2014-10-01 170 +2014-11-01 194 +2014-12-01 156 +2015-01-01 162 +2015-02-01 189 +2015-03-01 197 +2015-04-01 160 +2015-05-01 153 +2015-06-01 167 +2015-07-01 160 +2015-08-01 133 +2015-09-01 183 +2015-10-01 200 +2015-11-01 183 +2015-12-01 157 +2016-01-01 184 +2016-02-01 177 +2016-03-01 168 +2016-04-01 144 +2016-05-01 171 +2016-06-01 166 +2016-07-01 163 +2016-08-01 173 +2016-09-01 178 +2016-10-01 157 +2016-11-01 176 +2016-12-01 225 +2017-01-01 212 +2017-02-01 195 +2017-03-01 215 +2017-04-01 169 +2017-05-01 204 +2017-06-01 221 +2017-07-01 211 +2017-08-01 187 +2017-09-01 206 +2017-10-01 251 +2017-11-01 207 +2017-12-01 168 +2018-01-01 222 +2018-02-01 194 +2018-03-01 188 +2018-04-01 190 +2018-05-01 242 +2018-06-01 224 +2018-07-01 233 +2018-08-01 236 +2018-09-01 209 +2018-10-01 256 +2018-11-01 277 +2018-12-01 219 +2019-01-01 255 +2019-02-01 242 +2019-03-01 257 +2019-04-01 226 +2019-05-01 243 +2019-06-01 236 +2019-07-01 260 +2019-08-01 199 +2019-09-01 275 +2019-10-01 285 +2019-11-01 272 +2019-12-01 209 +2020-01-01 248 +2020-02-01 234 +2020-03-01 214 +2020-04-01 116 +2020-05-01 122 diff --git a/data-extraction/data/dx-GROUP-cancer.txt b/data-extraction/data/dx-GROUP-cancer.txt new file mode 100644 index 0000000..6ed8d15 --- /dev/null +++ b/data-extraction/data/dx-GROUP-cancer.txt @@ -0,0 +1,126 @@ +"date" "inc" +2010-01-01 30 +2010-02-01 14 +2010-03-01 20 +2010-04-01 35 +2010-05-01 20 +2010-06-01 28 +2010-07-01 25 +2010-08-01 21 +2010-09-01 23 +2010-10-01 27 +2010-11-01 21 +2010-12-01 19 +2011-01-01 33 +2011-02-01 22 +2011-03-01 32 +2011-04-01 30 +2011-05-01 26 +2011-06-01 31 +2011-07-01 31 +2011-08-01 31 +2011-09-01 26 +2011-10-01 21 +2011-11-01 31 +2011-12-01 25 +2012-01-01 35 +2012-02-01 23 +2012-03-01 33 +2012-04-01 23 +2012-05-01 37 +2012-06-01 36 +2012-07-01 30 +2012-08-01 19 +2012-09-01 23 +2012-10-01 41 +2012-11-01 45 +2012-12-01 28 +2013-01-01 30 +2013-02-01 36 +2013-03-01 21 +2013-04-01 30 +2013-05-01 40 +2013-06-01 40 +2013-07-01 26 +2013-08-01 30 +2013-09-01 34 +2013-10-01 33 +2013-11-01 37 +2013-12-01 28 +2014-01-01 45 +2014-02-01 31 +2014-03-01 46 +2014-04-01 33 +2014-05-01 31 +2014-06-01 32 +2014-07-01 44 +2014-08-01 43 +2014-09-01 44 +2014-10-01 42 +2014-11-01 30 +2014-12-01 30 +2015-01-01 39 +2015-02-01 34 +2015-03-01 32 +2015-04-01 46 +2015-05-01 31 +2015-06-01 43 +2015-07-01 50 +2015-08-01 46 +2015-09-01 50 +2015-10-01 44 +2015-11-01 38 +2015-12-01 41 +2016-01-01 37 +2016-02-01 28 +2016-03-01 41 +2016-04-01 41 +2016-05-01 41 +2016-06-01 41 +2016-07-01 41 +2016-08-01 42 +2016-09-01 41 +2016-10-01 44 +2016-11-01 60 +2016-12-01 48 +2017-01-01 44 +2017-02-01 53 +2017-03-01 34 +2017-04-01 42 +2017-05-01 42 +2017-06-01 48 +2017-07-01 46 +2017-08-01 45 +2017-09-01 36 +2017-10-01 45 +2017-11-01 45 +2017-12-01 36 +2018-01-01 40 +2018-02-01 40 +2018-03-01 58 +2018-04-01 53 +2018-05-01 71 +2018-06-01 65 +2018-07-01 55 +2018-08-01 63 +2018-09-01 55 +2018-10-01 62 +2018-11-01 70 +2018-12-01 51 +2019-01-01 55 +2019-02-01 79 +2019-03-01 67 +2019-04-01 59 +2019-05-01 73 +2019-06-01 65 +2019-07-01 71 +2019-08-01 68 +2019-09-01 38 +2019-10-01 75 +2019-11-01 61 +2019-12-01 51 +2020-01-01 82 +2020-02-01 62 +2020-03-01 68 +2020-04-01 62 +2020-05-01 40 diff --git a/data-extraction/data/dx-GROUP-circulatory-system.txt b/data-extraction/data/dx-GROUP-circulatory-system.txt new file mode 100644 index 0000000..cba9769 --- /dev/null +++ b/data-extraction/data/dx-GROUP-circulatory-system.txt @@ -0,0 +1,126 @@ +"date" "inc" +2010-01-01 271 +2010-02-01 217 +2010-03-01 194 +2010-04-01 220 +2010-05-01 168 +2010-06-01 145 +2010-07-01 178 +2010-08-01 148 +2010-09-01 192 +2010-10-01 180 +2010-11-01 188 +2010-12-01 152 +2011-01-01 233 +2011-02-01 123 +2011-03-01 202 +2011-04-01 163 +2011-05-01 161 +2011-06-01 204 +2011-07-01 127 +2011-08-01 188 +2011-09-01 154 +2011-10-01 196 +2011-11-01 156 +2011-12-01 186 +2012-01-01 252 +2012-02-01 202 +2012-03-01 190 +2012-04-01 191 +2012-05-01 204 +2012-06-01 178 +2012-07-01 192 +2012-08-01 194 +2012-09-01 175 +2012-10-01 198 +2012-11-01 199 +2012-12-01 171 +2013-01-01 266 +2013-02-01 191 +2013-03-01 175 +2013-04-01 211 +2013-05-01 197 +2013-06-01 150 +2013-07-01 167 +2013-08-01 167 +2013-09-01 168 +2013-10-01 196 +2013-11-01 191 +2013-12-01 187 +2014-01-01 256 +2014-02-01 205 +2014-03-01 202 +2014-04-01 192 +2014-05-01 207 +2014-06-01 170 +2014-07-01 216 +2014-08-01 181 +2014-09-01 171 +2014-10-01 215 +2014-11-01 187 +2014-12-01 202 +2015-01-01 272 +2015-02-01 207 +2015-03-01 246 +2015-04-01 221 +2015-05-01 226 +2015-06-01 219 +2015-07-01 223 +2015-08-01 202 +2015-09-01 235 +2015-10-01 237 +2015-11-01 243 +2015-12-01 240 +2016-01-01 286 +2016-02-01 251 +2016-03-01 276 +2016-04-01 227 +2016-05-01 231 +2016-06-01 237 +2016-07-01 260 +2016-08-01 238 +2016-09-01 227 +2016-10-01 222 +2016-11-01 255 +2016-12-01 219 +2017-01-01 272 +2017-02-01 245 +2017-03-01 313 +2017-04-01 239 +2017-05-01 263 +2017-06-01 297 +2017-07-01 285 +2017-08-01 259 +2017-09-01 274 +2017-10-01 285 +2017-11-01 274 +2017-12-01 214 +2018-01-01 335 +2018-02-01 291 +2018-03-01 280 +2018-04-01 297 +2018-05-01 290 +2018-06-01 302 +2018-07-01 274 +2018-08-01 272 +2018-09-01 251 +2018-10-01 335 +2018-11-01 312 +2018-12-01 278 +2019-01-01 328 +2019-02-01 309 +2019-03-01 335 +2019-04-01 323 +2019-05-01 343 +2019-06-01 357 +2019-07-01 311 +2019-08-01 245 +2019-09-01 274 +2019-10-01 338 +2019-11-01 351 +2019-12-01 304 +2020-01-01 344 +2020-02-01 310 +2020-03-01 266 +2020-04-01 148 +2020-05-01 145 diff --git a/data-extraction/data/dx-GROUP-mental-health-mild-moderate.txt b/data-extraction/data/dx-GROUP-mental-health-mild-moderate.txt new file mode 100644 index 0000000..04f5009 --- /dev/null +++ b/data-extraction/data/dx-GROUP-mental-health-mild-moderate.txt @@ -0,0 +1,126 @@ +"date" "inc" +2010-01-01 445 +2010-02-01 383 +2010-03-01 463 +2010-04-01 369 +2010-05-01 374 +2010-06-01 394 +2010-07-01 380 +2010-08-01 388 +2010-09-01 387 +2010-10-01 353 +2010-11-01 460 +2010-12-01 239 +2011-01-01 467 +2011-02-01 400 +2011-03-01 432 +2011-04-01 370 +2011-05-01 424 +2011-06-01 394 +2011-07-01 343 +2011-08-01 425 +2011-09-01 440 +2011-10-01 396 +2011-11-01 423 +2011-12-01 358 +2012-01-01 535 +2012-02-01 392 +2012-03-01 417 +2012-04-01 345 +2012-05-01 440 +2012-06-01 338 +2012-07-01 383 +2012-08-01 381 +2012-09-01 407 +2012-10-01 443 +2012-11-01 412 +2012-12-01 362 +2013-01-01 556 +2013-02-01 387 +2013-03-01 409 +2013-04-01 408 +2013-05-01 416 +2013-06-01 397 +2013-07-01 397 +2013-08-01 391 +2013-09-01 442 +2013-10-01 465 +2013-11-01 426 +2013-12-01 393 +2014-01-01 559 +2014-02-01 426 +2014-03-01 467 +2014-04-01 400 +2014-05-01 473 +2014-06-01 402 +2014-07-01 482 +2014-08-01 404 +2014-09-01 489 +2014-10-01 503 +2014-11-01 496 +2014-12-01 433 +2015-01-01 564 +2015-02-01 471 +2015-03-01 571 +2015-04-01 422 +2015-05-01 418 +2015-06-01 500 +2015-07-01 477 +2015-08-01 448 +2015-09-01 484 +2015-10-01 526 +2015-11-01 547 +2015-12-01 466 +2016-01-01 617 +2016-02-01 580 +2016-03-01 548 +2016-04-01 523 +2016-05-01 494 +2016-06-01 548 +2016-07-01 516 +2016-08-01 553 +2016-09-01 601 +2016-10-01 571 +2016-11-01 588 +2016-12-01 447 +2017-01-01 640 +2017-02-01 556 +2017-03-01 659 +2017-04-01 496 +2017-05-01 623 +2017-06-01 582 +2017-07-01 570 +2017-08-01 546 +2017-09-01 626 +2017-10-01 710 +2017-11-01 710 +2017-12-01 450 +2018-01-01 696 +2018-02-01 551 +2018-03-01 623 +2018-04-01 651 +2018-05-01 627 +2018-06-01 636 +2018-07-01 673 +2018-08-01 593 +2018-09-01 685 +2018-10-01 821 +2018-11-01 740 +2018-12-01 532 +2019-01-01 774 +2019-02-01 697 +2019-03-01 806 +2019-04-01 665 +2019-05-01 690 +2019-06-01 729 +2019-07-01 711 +2019-08-01 644 +2019-09-01 743 +2019-10-01 860 +2019-11-01 813 +2019-12-01 600 +2020-01-01 765 +2020-02-01 779 +2020-03-01 535 +2020-04-01 270 +2020-05-01 284 diff --git a/data-extraction/data/dx-diabetes-t2dm.txt b/data-extraction/data/dx-diabetes-t2dm.txt new file mode 100644 index 0000000..10456b0 --- /dev/null +++ b/data-extraction/data/dx-diabetes-t2dm.txt @@ -0,0 +1,126 @@ +"date" "inc" +2010-01-01 59 +2010-02-01 54 +2010-03-01 54 +2010-04-01 55 +2010-05-01 50 +2010-06-01 58 +2010-07-01 57 +2010-08-01 43 +2010-09-01 47 +2010-10-01 38 +2010-11-01 52 +2010-12-01 39 +2011-01-01 84 +2011-02-01 47 +2011-03-01 45 +2011-04-01 43 +2011-05-01 57 +2011-06-01 52 +2011-07-01 42 +2011-08-01 30 +2011-09-01 43 +2011-10-01 37 +2011-11-01 45 +2011-12-01 30 +2012-01-01 77 +2012-02-01 50 +2012-03-01 58 +2012-04-01 38 +2012-05-01 54 +2012-06-01 40 +2012-07-01 51 +2012-08-01 55 +2012-09-01 40 +2012-10-01 43 +2012-11-01 57 +2012-12-01 41 +2013-01-01 83 +2013-02-01 46 +2013-03-01 57 +2013-04-01 68 +2013-05-01 49 +2013-06-01 46 +2013-07-01 45 +2013-08-01 46 +2013-09-01 66 +2013-10-01 51 +2013-11-01 63 +2013-12-01 55 +2014-01-01 65 +2014-02-01 55 +2014-03-01 49 +2014-04-01 55 +2014-05-01 54 +2014-06-01 47 +2014-07-01 62 +2014-08-01 32 +2014-09-01 40 +2014-10-01 48 +2014-11-01 41 +2014-12-01 41 +2015-01-01 74 +2015-02-01 62 +2015-03-01 63 +2015-04-01 81 +2015-05-01 63 +2015-06-01 68 +2015-07-01 69 +2015-08-01 59 +2015-09-01 61 +2015-10-01 74 +2015-11-01 96 +2015-12-01 75 +2016-01-01 73 +2016-02-01 87 +2016-03-01 62 +2016-04-01 102 +2016-05-01 77 +2016-06-01 58 +2016-07-01 64 +2016-08-01 74 +2016-09-01 90 +2016-10-01 70 +2016-11-01 68 +2016-12-01 79 +2017-01-01 108 +2017-02-01 72 +2017-03-01 70 +2017-04-01 56 +2017-05-01 65 +2017-06-01 59 +2017-07-01 51 +2017-08-01 54 +2017-09-01 45 +2017-10-01 71 +2017-11-01 65 +2017-12-01 58 +2018-01-01 71 +2018-02-01 83 +2018-03-01 99 +2018-04-01 105 +2018-05-01 101 +2018-06-01 83 +2018-07-01 104 +2018-08-01 78 +2018-09-01 58 +2018-10-01 71 +2018-11-01 77 +2018-12-01 86 +2019-01-01 120 +2019-02-01 98 +2019-03-01 86 +2019-04-01 87 +2019-05-01 103 +2019-06-01 108 +2019-07-01 92 +2019-08-01 72 +2019-09-01 73 +2019-10-01 71 +2019-11-01 71 +2019-12-01 73 +2020-01-01 89 +2020-02-01 77 +2020-03-01 68 +2020-04-01 46 +2020-05-01 33