-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathREADME.Rmd
More file actions
54 lines (41 loc) · 2.38 KB
/
README.Rmd
File metadata and controls
54 lines (41 loc) · 2.38 KB
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
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# shinyMons <img src="man/figures/shinymons_hex.svg" width=200 align="right" alt="shinyMons hex sticker"/>
<!-- badges: start -->
[](https://cran.r-project.org/package=shinyMons)
[](https://github.com/DivadNojnarg/shinyMons/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->
> shiny app for pokemons
<img src="man/figures/shinyMons.png" alt="shinyMons interface">
## Purpose of this App:
This app was designed for two reasons:
- propose something original for the upcoming [shiny contest](https://blog.rstudio.com/2019/01/07/first-shiny-contest/) event
- serve as a gallery for the RinteRface [tablerDash](https://github.com/RinteRface/tablerDash)
dashboard template
## Original Data
The original data are taken from the amazing [pokeApi](https://pokeapi.co). I built my own data from what I found relevant in the API (see `data-waw` folder). Moreover, I chose to deal only with the first 151 pokemons (because I played with them as a child).
Such a restriction is actually not as straightforward as it seems to handle, since each element need to
belong to the first pokemon generation (while the API provides unfiltered data). There are features
that exist now but not in the first games (namely red/blue):
- eggs
- special objects
- day/night cycle
- mega evolutions
- ...
## App skeleton
This app is packaged into 11 shiny modules that tightly interact together to pass useful informations,
such as the currently selected pokemon. All outputs are mainly generated with the excellents [echarts4r](https://github.com/JohnCoene/echarts4r) and [visNetwork](https://datastorm-open.github.io/visNetwork/).
## Interface
This app is built on top of the Bootstrap 4 [tablerDash](https://github.com/RinteRface/tablerDash) template. Furthermore, it includes the pushbar.js library implementation by [John Coene](https://github.com/JohnCoene/pushbar). Combined together, this allows to develop clean templates, especially for mobile devices.
## Further projects
- Develop a fight system based on pokemon's stats