Skip to content

Commit 05c2228

Browse files
author
Annie Yang
committed
update introduction
1 parent 29b4754 commit 05c2228

File tree

2 files changed

+121
-100
lines changed

2 files changed

+121
-100
lines changed

App_combine_version/introduction.Rmd

+44-36
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ output: html_fragment
66

77
## Welcome to Environment and Health App
88

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.
1010

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.
1212

13-
## Glossary
13+
##Audience
1414

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
1618

1719
[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.
1820

@@ -47,163 +49,169 @@ Notes: There are some missing values in the following datasets, which leads to t
4749

4850
#### AQI Plot
4951

50-
##### Analysis selection - Boxplot of AQI:
52+
##### Analysis selection - Boxplot of AQI
5153

5254
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.
5355

54-
+ **Inputs Selection**:
56+
###### Inputs Selection
5557
<br/>
5658
<div style="text-align:center" markdown="1";width:200px; height=200px>
57-
![Boxplot Inputs Selection](app_screenshot/box_inputs.jpg)
59+
![Boxplot Inputs Selection](app_screenshot/box_inputs.png)
5860
</div>
5961

6062
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).
6163

6264
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.
6365

64-
+ **Boxplot:**
66+
###### Boxplot of AQI
6567

6668
<br/>
6769
<div style="text-align:center";width:100px>
68-
![Boxplot of AQI](app_screenshot/boxplot.jpg)
70+
![Boxplot of AQI](app_screenshot/boxplot.png)
6971
</div>
7072

7173
Using the default value of each selection, the boxplots display as above.
7274

73-
##### Analysis selection - Health Concern by AQI:
75+
##### Analysis selection - Health Concern by AQI
7476

7577
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.
7678

77-
+ **Inputs Selection**:
79+
###### Inputs Selection
7880

7981
<br/>
8082
<div style="text-align:center";width:100px>
81-
![Health Concern Plot Inputs Seletion](app_screenshot/hc_inputs.jpg)
83+
![Health Concern Plot Inputs Seletion](app_screenshot/hc_inputs.png)
8284
</div>
8385

8486
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.
8587

86-
**Plot Selection**:
88+
###### Plot Selection
8789

8890
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.
8991

9092
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.
9193

92-
+ **Health Concern Plot:**
94+
###### Health Concern Plot
9395

9496
<br/>
9597

96-
![Health Concern Line Plot](app_screenshot/line_plot.jpg)
98+
![Health Concern Line Plot](app_screenshot/line_plot.png)
9799

98100
<br/>
99101

100-
![Health Concern Bar Plot](app_screenshot/bar_plot.jpg)
102+
![Health Concern Bar Plot](app_screenshot/bar_plot.png)
103+
101104
#### Pollutant AQI Trend
102105

103106
You can use these time series plots to analyze the trend of AQI by pollutant.
104107

105-
+ **Inputs Selection**
108+
##### Inputs Selection
106109

107110
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).
108111

109112
<br/>
110-
![Health Concern Bar Plot](app_screenshot/Pollutant_Trend.jpg)
113+
![Health Concern Bar Plot](app_screenshot/Pollutant_Trend.png)
111114
<br/>
112115

113116
#### Cluster
114-
+ **Data**
117+
118+
##### Data
115119

116120
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.
117121

118122
### Map
119123

120124
#### Air Quality Map
121125

122-
+ **Input Selection**
126+
##### Input Selection
123127

124128
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.
125129

126-
+ **Note**
130+
**Note**
127131

128132
The data is from the center of disease control. The air quality is a combination of the ozone and PM2.5.
129133

130134
#### Temperature Map
131135

132-
+ **Inputs Selection**
136+
##### Inputs Selection
133137

134138
<br/>
135139
<div style="text-align:center";width:100px>
136-
![Health Concern Bar Plot](app_screenshot/map_inputs.jpg)
140+
![Health Concern Bar Plot](app_screenshot/map_inputs.png)
137141
</div>
138142
<br/>
139143

140144
Use the two datasets analyze temperature by countries or states.
141145

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.
143149

144150
When the default value for temperature variation is false, the map will show the temperature in specific year according to the Year input.
145151

146152
<br/>
147153
<div style="text-align:center";width:200px>
148-
![Temperature Map by Country](app_screenshot/country_temp.jpg)
154+
![Temperature Map by Country](app_screenshot/country_temp.png)
149155

150156
</div>
151157

152158
<br/>
153159
<div style="text-align:center";width:200px>
154-
![Temperature Map by State](app_screenshot/state_temp.jpg)
160+
![Temperature Map by State](app_screenshot/state_temp.png)
155161
</div>
156162

157163
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.
158164

159165
<br/>
160166
<div style="text-align:center";width:200px>
161-
![Temperature Variation Map by Country](app_screenshot/var_temp.jpg)
167+
![Temperature Variation Map by Country](app_screenshot/var_temp.png)
162168

163169
</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.
165173

166174
### Calculator
167175

168-
+ **Input Selection**
176+
#### Input Selection
169177

170178
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".
171179

172-
+ **Usage**
180+
#### Usage
173181

174182
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.
175183

176184
### Temperature Trend
177185

178-
+ **Dataset Selection**
186+
#### Dataset Selection
179187

180188
You can choose global temperature or global land temperature by country to analyze the overall global temperature trend or temperature trend by country.
181189

182-
+ **Type Selection**
190+
#### Type Selection
183191

184192
You can analyze either yearly average temperature or monthly average temperature trend.
185193

186194
When you choose global temperature dataset, the graphs will display properly for analysis.
187195

188196
<br/>
189197
<div style="text-align:center";width:200px>
190-
![Temperature Variation Map by Country](app_screenshot/glb_temp.jpg)
198+
![Temperature Variation Map by Country](app_screenshot/glb_temp.png)
191199

192200
</div>
193201

194202
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.
195203

196204
<br/>
197205
<div style="text-align:center";width:200px>
198-
![Temperature Variation Map by Country](app_screenshot/country_temp_trend.jpg)
206+
![Temperature Variation Map by Country](app_screenshot/country_temp_trend.png)
199207
</div>
200208

201-
+ **Confidence Interval**
209+
#### Confidence Interval
202210

203211
You can choose to display confidence interval around smooth.
204212

205213
<br/>
206214
<div style="text-align:center; width:200px">
207-
![Temperature Variation Map by Country](app_screenshot/confidence.jpg)
215+
![](app_screenshot/ci.png)
208216

209217
</div>

0 commit comments

Comments
 (0)