-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
60 lines (33 loc) · 1.99 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```
# shiny for accessing to clean fuels for cooking vs gdp per capita
## Siyi Li (29018102)
In this shinyapp, the package is used including: **shiny**, **plotly**, **tidyverse**, **crosstalk**, **DT**, **ggplot2**
Please install all this package before you visit the shinyapp.
```{r, eval = FALSE}
install.packages(c("shiny", "crosstalk", "plotly", "DT", "tidyverse", "here","ggplot2"))
```
## How to run the app
- About the **chart** section, which shows the access to the fuels for cooking and GDP per capita.
On the upper left of the chart, you can click the **Linearize x-axis** to get the different chart which has the linear x-axis (the value on the x-axis without the log10 transformation).
On the upper right of the chart, you could click **Hide countries < 1 million** to filter out the countries which has population size less than 1 million.
On the middle, you could find a box which has the lable **Which country do you want to analyze**, you can select one or more countries and get their information.
On the bottom of the chart, you also can find a time bar, you can move the circle button to see the points(different countries) in different years.
Finally, you can click each point to get more details.
- About the **table** section, you can click the top of the table button to get the whole dataset.
The table contains the variables like continent, country, code, year, new_cooking, new_gdp_per_capita and population. in each variable column, you could sort the variable with decreasing or incresing order.
You also can search something that you are interested in.
- About the **about** section, you can find more information from the source link, and you can find my Github from the Github link.
## Session Information
The session information is:
```{r session-info}
sessioninfo::session_info()
```