15.R Shiny Quick Overview about how to Setup a Dashboard

Опубликовано: 08 Апрель 2026
на канале: Learn data analytics with us
4,566
3

hello guys my name is khan and actually in today's video uh we'll talk about r shining so in this set of videos we will talk about a bit about the advanced features of our shiny so and this video set will be a more kind of continuation from last video that i have made about r shiny but before going further in this video i will go over very quickly uh about the concepts that we covered in our previous videos so the thing that i will start with with very basic that suppose if i have to establish my first shiny app so this is the file that i have used in my previous video so i will just quickly open it up and then i will go through the code very quickly that what we have done and then i will go through one by one with other code files that we have constructed and what are the features but i will not be covering all the thing but i will be giving a quick uh overview about the things that we have done in the past i will just maximize this quad file into a separate window so again in these set of videos we will be using a shiny library so if you don't haven't installed the shiny package before so there is no need to worry it's very easy to install so if you go to i think tools and then you click here install packages so if you click install packages and here you just can simply write down shiny and then you can install it i have already installed it so i'm not going to install it again i will cancel it and then in order to use the shiny functions i have to write down the library shiny then actually shiny while using the shiny library the shiny library divides the functionalities between user interface and server so the user interface allows mostly where you can where you can talk different values or of different choices whereas in the server what servers do is that it based on the choices that you have selected in the user interface based on that the servers do some data manipulation or analysis and in the end create the output results and then you can use those output wizards in your user interface so it's both you can say here the user interface and the server are kind of links with each other so the user interface gives the or gives the values or gives the inputs to the server and then server do some calculation and return outputs to the user interface so again the the shiny package ud divides your coding into two phases the user interface part and the server part so again so what i will now start with this line here what i'm doing is i'm making an object ui uh you can name it whatever you want and then i'm using a shiny function shiny ui and then i'm using the fluid page functionality there are many other options available but mostly i'm uh happy with the fluid page because then if you would if you are using the fluid paid functionalities then you don't have to be much worried about the dimension of your page of your dashboard it will keeps on changing according to your browser because we have used this functionality and then after that under the fluid page i will be telling that what will be the title panel so what will be the heading over my dashboard uh and then what is sidebar layout actually let me run this code and then i think it will be more appropriate to go through or discuss this code ctrl a ctrl enter

#rshiny #quick #overview #setup #DASHBOARD
R Shiny Playlist:    • Learn Building R Shiny Dashboard with Us