You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: App_combine_version/introduction.Rmd
+44-36
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,15 @@ output: html_fragment
6
6
7
7
## Welcome to Environment and Health App
8
8
9
-
The Environment and Health App is to help users to analyze and visualize data about environment and health. It can be used to do horizontal analyses among different countries, states and cities. You can also use it to do time series analyses. Besides, you can get summary statistics and brief introduction of your health status.
9
+
The Environment and Health App is to help users analyze and visualize environmental and health data. It can be used to do horizontal analyses among different countries, states and cities. You can also use it to do time series analyses. Besides, you can get summary statistics and evaluate your health status based on personal characteristics.
10
10
11
-
In terms of dataset, users can analyze Air Quality Index (AQI) and global temperature data.
11
+
In terms of dataset used in the app, users can analyze Air Quality Index (AQI) and global temperature data.
12
12
13
-
##Glossary
13
+
##Audience
14
14
15
-
<br/>
15
+
Environmental engineers and people who are interested in analyzing environmental data and concerned with the relationship between environment and health status.
16
+
17
+
## Glossary
16
18
17
19
[AQI](https://en.wikipedia.org/wiki/Air_quality_index): An air quality index (AQI) is a number used by government agencies to communicate to the public how polluted the air currently is or how polluted it is forecast to become.
18
20
@@ -47,163 +49,169 @@ Notes: There are some missing values in the following datasets, which leads to t
47
49
48
50
#### AQI Plot
49
51
50
-
##### Analysis selection - Boxplot of AQI:
52
+
##### Analysis selection - Boxplot of AQI
51
53
52
54
This boxplot can show you how AQI distributed from 2000-2017. You can use the notches on the boxplots to analyze whether there is strong evidence (95% confidence) that their medians differ, whether the median changed much during specific time period and whether the distribution approximate to normal distribution or it was skewed.
You can use the Year slider change the time period. We set the default value at 2000-2017 (the longest time period for Annual AQI dataset).
61
63
62
64
Select the CBSA you are interested and then red spots on the boxplots can tell you how the air quality in that area was compared to other CBSAs in each year (Above median or below median). The default value of CBSA is Providence.
63
65
64
-
+**Boxplot:**
66
+
###### Boxplot of AQI
65
67
66
68
<br/>
67
69
<divstyle="text-align:center";width:100px>
68
-

70
+

69
71
</div>
70
72
71
73
Using the default value of each selection, the boxplots display as above.
72
74
73
-
##### Analysis selection - Health Concern by AQI:
75
+
##### Analysis selection - Health Concern by AQI
74
76
75
77
You can use the Health Concern Plot analyze the trend of percentage of each health concern level during a specific time period and compare the percentage among CBSAs.
Choose year period, CBSA and Health Concern Levels you want to analyze. You can select multiple CBSAs and Health Concern Levels to do comparison analyses. The picture above show you the default values of each selection.
85
87
86
-
**Plot Selection**:
88
+
###### Plot Selection
87
89
88
90
For users who want to do comparison during a relatively long time period, the better choice is to select line plot and analyze the trend.
89
91
90
92
For users who want to do comparison only in one or a few years, select bar plot here. For example, if users want to compare the percentage of health concern levels between different CBSAs only in a specific year (2008), choose bar plot and the graph will display properly.
91
93
92
-
+**Health Concern Plot:**
94
+
###### Health Concern Plot
93
95
94
96
<br/>
95
97
96
-

98
+

97
99
98
100
<br/>
99
101
100
-

102
+

103
+
101
104
#### Pollutant AQI Trend
102
105
103
106
You can use these time series plots to analyze the trend of AQI by pollutant.
104
107
105
-
+**Inputs Selection**
108
+
##### Inputs Selection
106
109
107
110
You can select multiple inputs for cities and pollutants to do comparison. Use the Year slider to choose the time period (Default value is 2000-2016).
108
111
109
112
<br/>
110
-

113
+

111
114
<br/>
112
115
113
116
#### Cluster
114
-
+**Data**
117
+
118
+
##### Data
115
119
116
120
The data comes from annual aqi by cbsa. For the pollution part, the variables are percentage of a certain pollutants because some of the original data are zero. For the health part, the input variable is the number of different situations of days(Good, unhealthy, etc). The cluster count is the number of clusters you want to divide.
117
121
118
122
### Map
119
123
120
124
#### Air Quality Map
121
125
122
-
+**Input Selection**
126
+
##### Input Selection
123
127
124
128
The year is the certain year you want to specify to get to know about the air quality of the United States. The color is the kind of color you want to display in the state map.
125
129
126
-
+**Note**
130
+
**Note**
127
131
128
132
The data is from the center of disease control. The air quality is a combination of the ozone and PM2.5.
129
133
130
134
#### Temperature Map
131
135
132
-
+**Inputs Selection**
136
+
##### Inputs Selection
133
137
134
138
<br/>
135
139
<divstyle="text-align:center";width:100px>
136
-

140
+

137
141
</div>
138
142
<br/>
139
143
140
144
Use the two datasets analyze temperature by countries or states.
141
145
142
-
**Note**: there are some missing values for some countries or states which caused the incompleteness of the map in specific year.
146
+
**Note**
147
+
148
+
There are some missing values for some countries or states which caused the incompleteness of the map in specific year.
143
149
144
150
When the default value for temperature variation is false, the map will show the temperature in specific year according to the Year input.
145
151
146
152
<br/>
147
153
<divstyle="text-align:center";width:200px>
148
-

154
+

149
155
150
156
</div>
151
157
152
158
<br/>
153
159
<divstyle="text-align:center";width:200px>
154
-

160
+

155
161
</div>
156
162
157
163
When you choose true for temperature variation, you can then analyze how temperature changed during the time period you select through the Year for Temperature Variation slider.
158
164
159
165
<br/>
160
166
<divstyle="text-align:center";width:200px>
161
-

167
+

162
168
163
169
</div>
164
-
**Note:** the Year for Temperature Variation slider should only be used when you select the GlobalLandTemperaturesByCountry dataset.
170
+
**Note**
171
+
172
+
The Year for Temperature Variation slider should only be used when you select the GlobalLandTemperaturesByCountry dataset.
165
173
166
174
### Calculator
167
175
168
-
+**Input Selection**
176
+
#### Input Selection
169
177
170
178
The City has certain information about the air quality of that city you choose. Smoking is whether you smoke or not, if you smoke then select "yes". Exercise is whether you exercise or not, if you do, select "yes". Gene is whether your family has certain kind of gene that may cause disease, if they do, select "yes".
171
179
172
-
+**Usage**
180
+
#### Usage
173
181
174
182
This part mainly calculate the summary statistic of the city you choose. For the health part, it gives a brief result of your health condition.
175
183
176
184
### Temperature Trend
177
185
178
-
+**Dataset Selection**
186
+
#### Dataset Selection
179
187
180
188
You can choose global temperature or global land temperature by country to analyze the overall global temperature trend or temperature trend by country.
181
189
182
-
+**Type Selection**
190
+
#### Type Selection
183
191
184
192
You can analyze either yearly average temperature or monthly average temperature trend.
185
193
186
194
When you choose global temperature dataset, the graphs will display properly for analysis.
187
195
188
196
<br/>
189
197
<divstyle="text-align:center";width:200px>
190
-

198
+

191
199
192
200
</div>
193
201
194
202
When you choose global land temperature by country dataset and want to compare temperature trend among different countries, the graphs will look narrow and you should choose either year or month type. And if you select month, select fewer month using Month slider can make the graphs look even better.
195
203
196
204
<br/>
197
205
<divstyle="text-align:center";width:200px>
198
-

206
+

199
207
</div>
200
208
201
-
+**Confidence Interval**
209
+
#### Confidence Interval
202
210
203
211
You can choose to display confidence interval around smooth.
204
212
205
213
<br/>
206
214
<divstyle="text-align:center; width:200px">
207
-

0 commit comments