Skip to content

dimitribessa/shiny_beginner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Shiny Apps (My repository - beginner level)

This repository contains some of my older projects (made between 2017-2021). I decided to share them because i believe that some line of code in these scripts may help someone solve their issues (a lot of peaple helped me sharing codes, so i really hope to contribute in some way).

All the projects described here are running on my personal server (thanks to Dean Attali for the tutorial on how configure the shiny-server, available here. This really changes lifes!!).

ps. I´m a brazilian guy, so portuguese language was used on the projects (also in the comments lines).

Why "beginner level"?

The applications described here were primarily developed to learn Shiny, along with some HTML5, CSS, and JavaScript. As a result, certain aspects were not taken into consideration, such as:

  • Code organization and cleaning;
  • DRY concept (Don´t Repeat Yourself) was not applied;
  • Perfomance was not considered;
  • Many "TODO" features still remains;
  • A lot of bugs to fix;
  • Some lines of codes are too long and the codes doesn't follow the best organization practices;
  • Modules were not used;
  • Some applications take too long to load (because large databases, or innefective functions, or redundant libraries...);
  • Most of Applications are with basics layouts and simple features.

Regarding the UI, i've applied the default methods in some applications, making use of the assembled shiny functions. But as far as was learning HTML/CSS and JavaScript, i've structured the apps using tags for head, header and body, and always inserting some CSS and JS codes when it was possible.

Then, In the terms of JavaScript widgets, inspired by Joe Cheng output binding (here), now i always write my own scripts to use some JS graph library (hicharts, Echarts, Apexcharts, canvasJS, and so on...).

Organization of this repository

Follows the manner how this page is structured

projectName/
├── README.md
├── www/
│   ├── *.js
│   ├── *.css
│   └── some other folders and files
├── tidying data
│   ├── *.R
│   └── some database file
├── *.RData
├── ui.R
├── server.R
└── other files (*.R)

All the projects folder holds the classic Shiny App structure (with a www folder, ui.R and server.R files), followed by a brief description in a README file, and sometimes a folder named "tidying data" - that contains a script (and occasionally a database) used to arrange the data that the application utilizes (*.RData file). Sometimes support scripts may be used.

Projects

Here is the list of all project applications available here and hosted on my personal server

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published