This tutorial is awesome. You are the first person to make it. I have been eagerly waiting for your new video and here comes the unique tutorial. Thank you so much Sir, you are great.
It's below the video in description area. I'm copying it below too: Data File: drive.google.com/open?id=1tHAdr3V1N8BzZShg0A5ZU6eAUN_9kZZf R Markdown File: drive.google.com/open?id=1S5JE63vij2Mqptl8caCO3ILAFyids8Sj
Thank you. Really well paced and detailed. I paused-started your video, following your steps using my data. This way I was able to understand a good deal of what this is about
Very clear, concise and informative tutorial. Flex dashboard seems less restrictive than Shiny dashboard when publishing - particularly for restricted content - and I'm going to rebuild some apps to test. This has been very helpful, thank you.
GENIUS!!!!!! Thanks you help me a lot with my coding applied to finances class!!!!! And also I’ve learned a lot more for much other things. Thanks!!!! This videos are gold
Respected sir, Your videos are very easy to understand. Thanks for making such videos. Sir, we would like to see some tutorial on Chatbot using R, Stockprice prediction using LSTM, how to integrate a R model/chatbot to a website.
Thanks for comments! You should be able to find books about dashboards on amazon. But for dashboards using R, probably R documentation is a good resource.
processing file: ca-2.rmd Error in parse_block(g[-1], g[1], params.src, markdown_mode) : Duplicate chunk label 'setup', which has been used for the chunk: library(flexdashboard) library(knitr) library(DT) library(rpivotTable) library(ggplot2) library(plotly) library(dplyr) library(openintro) library(highcharter) library(ggvis) Calls: ... process_file -> split_file -> lapply -> FUN -> parse_block Execution halted what is the sloution
Dear Dr Rai, It is possible to change the color of the frames in the pivottable. For example I want to reflect the color green when the values are positive and red when the values are negative!???
Thank you for the amazing video Dr, Rai, excellent for every level. I'm having issues reproducing your dashboard when knit to fleshdashboard appears error validateCssUnit(sizeInfo$width) ... related to labor cost section gauge function. Any advised? Many thanks!
Dr Rai, Thanks for this amazing tutorial. However, I am not able to render the Plotly plots(it shows all blank) either following your code line by line and even by using the script you shared. Can you help here ? Thanks,
This is an incredible video sir, is it possible for us to take a file upload input to upload any particular file, i have tried every syntax but not able to do it, please help me out
@@bkrai thanks for your reply. It doesn't get displayed ever after I give it time. However, surprisingly, when I open the HTML file everything gets displayed there. Maybe there's someone issue with the settings.
Thank you very much for your great effort! I have one small question. If I want the output to be published to multiple users, is that possible and how? Secondly can I save the the output in the PDF format?
Once you save the output on your computer, you can email to any number of people. It may be easier to put it in google drive or any similar space and then share link. Interactive plots cannot be saved as pdf.
Sir, thank you for the amazing video. I have couple of quick question on first page... 1. I am unable to sum using valueBox function for my data and getting zero as result. 2. colors are not appearing on gaugesectors, plz assist.
Such a great tutorial! Thank you so much, sir. By the way, can I add e-mail to the social list? I mean, not only I can share it via Facebook, Twitter, but also send the file or link to an e-mail address. Thank you in advance!
Excellent tutorial Dr. Rai, thank you - I have a question, though - I am running R 3.6.0 but the highcharter doesn't work, is there any help you can offer? Please and thanks!
great. but i face problem p1% group_by(make)%>% summarise(count=n())%>% plot_ly(x=~make, y=~count, color=rainbow(51), type = 'bar')%>% layout(xaxis=list(title="sada"),yaxis=list(title='Count')) Error: n() should only be called in a data context how can i solve this
Hello Sir, I am trying to make a Sales Forecast Dashboard using R-Shiny. Can you please provide any source from where I can get the basic skeleton of the code
Many thanks for the wonderful tutorial, when I tried to run the first chunk, I got the following message "Error in library(flexdashboard) : there is no package called ‘flexdashboard’", any help?
Thank you so much, Sir. While I am able to create a dashboard with my specifications, the dashboard look itself is raw, with source codes also appearing on the dashboard (even in Browser view as well). Any viable way I can overcome this? I am on R 3.5.1 - Thank you.
Great tutorial, very helpful and awesome. Only problem for me is that when I run the map chunk i get this error "Error in eval(expr, envir, enclos) : object 'usgeojson' not found" kindly help out.
Thank you for all . Just I have some probleme when runing the code: it print this error: argument is not numeric or logical: returning NA. I converted factor to numeric it work in consol but error still persist when i run rmd file. Please need help.
Hi Bharatendra, this is really great video. I have created my first dashboard in R using this. Just want to understand if in data tables and Pivot tables we can have labels as well. I have imported data from SPSS having labels and I want data table output and pivot table output with labels and not values. Please help me with this.
@@bkrai Hi, plz help me in this I am facing big problem as not having labelled data from dashboard but need to share with management with labels. I have uploaded SPSS but its taking only values and not labels. Plz help
hi it's me again i'm trying to plot the map showing the case of each country i have in my dataset, the map is displayed without the cases. I don't know if I made a mistake in the code. I'm new in R , Need help. ```{r} pays % group_by(country_name) %>% summarize(Cases) highchart() %>% hc_title(text = "Cases of COVID-19") %>% hc_subtitle(text = "Source: covid-19.csv") %>% hc_add_series_map(worldgeojson, pays, name = "country_name", value = "Cases", joinBy = c("woename", "country_name")) %>% hc_mapNavigation(enabled = T) ```
Here is a treat.. Thanks. I don't understand why my Rstudio is treating (```) these three symbols as errors and says unexpected token and even after deleting it doesn't understand r setup. Any help sir!
wah is is good,how can i add data filters button where one can toggle for example my data has variable years can i add a button so i can see the car failures by years on the value boxes
I tried to knit to flexdashboard, but keep getting the following error message: "Error in yaml::yaml.load(..., eval.expr = TRUE) : unused argument (eval.expr = TRUE) Calls: ... parse_yaml_front_matter -> yaml_load -> Execution halted" Does anyone know what might be going on? Thanks.
Hie Dr Bharatendra Rai may you pliz assist me to design a dashboard that visualizes the allocation funds ,disbursements and disbursement rate against local authorities
Hie..I need assistance. Was following your tutorial..How do i add another page that upload csv files. I have this code that i want to put on another page using your demo. This is the code. It has both the UI and the server shinyServer(function(input, output) { #This function is repsonsible for loading in the selected file filedata
this tutorial is very helpful for me. i have one doubt how i load my csv files in this code because i couldn't understand . how to write path in this code
Sir I am getting an error,pls any1 guide me to solve the issue Installing package into 'C:/Users/DELL/Documents/R/win-library/3.5' (as 'lib' is unspecified) Quitting from lines 12-40 (Dashboard--2-.Rmd) Error in contrib.url(repos, "source") : trying to use CRAN without setting a mirror Calls: ... withVisible -> eval -> eval -> install.packages -> contrib.url Execution halted
What the heck. Never thought you could create a dashboard in R. What a legend.
Thanks for comments!
Dr Rai, of all the R Shiny tutorials available in the RUclips, this is the best and the most innovative one.Thanks for the amazing work!!
You are welcome!
Instablaster.
This tutorial is awesome. You are the first person to make it. I have been eagerly waiting for your new video and here comes the unique tutorial. Thank you so much Sir, you are great.
Thanks for your comments!
Sir can you send me data set?
I've added link below the video.
where is the link?
It's below the video in description area. I'm copying it below too:
Data File: drive.google.com/open?id=1tHAdr3V1N8BzZShg0A5ZU6eAUN_9kZZf
R Markdown File: drive.google.com/open?id=1S5JE63vij2Mqptl8caCO3ILAFyids8Sj
Thank You, Sir, for this great video.
With the help of this tutorial, I have created a coronavirus analysis dashboard.
Excellent!
Thank you. Really well paced and detailed. I paused-started your video, following your steps using my data. This way I was able to understand a good deal of what this is about
Great to hear!
This is an extremely impressive project. Bravo
Thanks!
Thank you so much for this clear and succinct tutorial, simplified so many concepts I was struggling with as I learn.
You're very welcome!
Very clear, concise and informative tutorial. Flex dashboard seems less restrictive than Shiny dashboard when publishing - particularly for restricted content - and I'm going to rebuild some apps to test. This has been very helpful, thank you.
Thanks for your comments!
GENIUS!!!!!! Thanks you help me a lot with my coding applied to finances class!!!!! And also I’ve learned a lot more for much other things. Thanks!!!! This videos are gold
Great to hear!
Your content is always AWESOME. Thank you Dr Rai
You are very welcome!
Thank you so much for the video, it provided the help that I needed to make a dashboard! Much appreciated!
You're welcome!
Fantastic and lucid explanation @Dr. Bharatendra Rai
Glad you liked it!
Great video. Very informative and easy to follow. Thanks Dr. Rai.
Glad it was helpful!
this is an interesting tutorial, I immediately subscribed to your channel. Hope to getting more videos on R programming. thanks!
Thanks for the sub! You may find this recent series useful:
ruclips.net/video/s23CMIjfwHk/видео.html
Thank you, extremely helpful for an "R" newbie.
You're very welcome!
Very insigthful thank you. Dr. Bharatendra
Thanks for comments!
Dear Sir, this video given better understanding in making Dashboards
Thanks for comments!
Excellent video about dashboards, thank you very much!!
You are welcome!
Amazing explanation, clear, complete and brief.
Thank you for share it!
Thanks for comments!
Excellent Bharatendra... very useful video...
thanks!
Excellent tutorial Mr Rai. I must confess I have learnt a lot from you in my Data Science journey.
Thanks for your comments!
Thank you so much, for the best presentation.
You're very welcome!
Awesome video sir. Really valuable. waiting for more videos from you.
Thanks for comments!
Respected sir, Your videos are very easy to understand. Thanks for making such videos. Sir, we would like to see some tutorial on Chatbot using R, Stockprice prediction using LSTM, how to integrate a R model/chatbot to a website.
Thanks, I've added your suggestion to my list.
Amazing work, thanks a lot for sharing with us.
You're welcome!
Thank you for amazing tutorial!! Brazil
You are very welcome!
Thank you. Amazing tutorial!
You are welcome!
This is awesome! You are a genius!
Thank you! 😊
Thank you for making this, its very informative and a great learning..!!
Glad it was helpful!
simply outstanding..Thanks a lot. Sir plesase let me know if you conduct online class on same.
let me know how to join classes
Always welcome! I'll be teaching a online class at Harvard and another at UMass Dartmouth in Spring 2022.
Thanks, really helpful!
You're welcome!
This is superb, thank you for posting this
Thanks for comments!
Thank you for this. Best so far
Thanks for comments!
Excellent video. Thank you
You are welcome!
What's the R version you were using in this video. Have some syntax incompatibilities with the newest one.
This video is from April 2018, so it is slightly older version of R.
Thank you for amazing tutorial, keep learning from you! You make it so easy to absorbing fast :)
Thanks for your comments and feedback!
Excellent!
Thanks!
Thanks Doc,
You are welcome!
man super helpful. thanks!
You are welcome!
Awesome Sir...this is something extraordinary. Very useful. Is there any Book which one can study all these in details or R documentation is best..
Thanks for comments! You should be able to find books about dashboards on amazon. But for dashboards using R, probably R documentation is a good resource.
Awesome tutorial! Please keep up the good work!
Thanks for your comments!
processing file: ca-2.rmd
Error in parse_block(g[-1], g[1], params.src, markdown_mode) :
Duplicate chunk label 'setup', which has been used for the chunk:
library(flexdashboard)
library(knitr)
library(DT)
library(rpivotTable)
library(ggplot2)
library(plotly)
library(dplyr)
library(openintro)
library(highcharter)
library(ggvis)
Calls: ... process_file -> split_file -> lapply -> FUN -> parse_block
Execution halted what is the sloution
Superrr.....Muchas gracias amigo
Thanks for comments!
Best 😍
Thanks!
Just brilliant sir!
Thanks for comments!
Thank you!
You are welcome!
Hello. I have loaded the DT library but when I use datatable(data then datatable is not getting blue like yours in the video
In my video too the datatable is not blue.
fantastic
Thank you! Cheers!
thank you great lesson
Thanks for comments!
Dear Dr Rai,
It is possible to change the color of the frames in the pivottable. For example I want to reflect the color green when the values are positive and red when the values are negative!???
Hello sir ! In my template flexdashboard option is not available what should I do? Plz help me
You need to install flexdashboard first and then run library(flexdashboard)
Hello sir, I ranyour code but it shows this error "object of type closure is not subsettable"
Thank you for the amazing video Dr, Rai, excellent for every level. I'm having issues reproducing your dashboard when knit to fleshdashboard appears error validateCssUnit(sizeInfo$width) ... related to labor cost section gauge function. Any advised? Many thanks!
If this is for any specific plot, I would suggest replace it with another.
Dr. Rai, In Knit I have HTML, PDF, WORD but no other option to see everything in one page. Do I need to set up something?
Since in this examples many pages are used by design, it will not be possible to see everything on one page.
Hi sir, unable to get the option flex dashboard in New & markdown
Make sure you install the package.
Dear Dr.Rai,
Can you please share sample excel sheet used for building this R Dashboard which will be helpful to understand further
Link is available below video.
Dr Rai,
Thanks for this amazing tutorial. However, I am not able to render the Plotly plots(it shows all blank) either following your code line by line and even by using the script you shared. Can you help here ?
Thanks,
Try restating R and running codes again.
When i run the flexdashboard command, i get an error saying "State" is not identified.
You can review variable names and make sure there are no errors while using the name.
This is an incredible video sir, is it possible for us to take a file upload input to upload any particular file, i have tried every syntax but not able to do it, please help me out
If you are referring to data file, it's better to use csv format
My plots are not getting displayed...I don't get any errors, but nothing is getting displayed either
Probably give more time. If data set is big, it may take more time.
@@bkrai thanks for your reply. It doesn't get displayed ever after I give it time. However, surprisingly, when I open the HTML file everything gets displayed there. Maybe there's someone issue with the settings.
Is the dashboard dynamic ,I mean to say will change dynamically with data
Yes
Thank you very much for your great effort! I have one small question. If I want the output to be published to multiple users, is that possible and how? Secondly can I save the the output in the PDF format?
Once you save the output on your computer, you can email to any number of people. It may be easier to put it in google drive or any similar space and then share link. Interactive plots cannot be saved as pdf.
@@bkrai thank you! So, can I publish the results as a web page?
Running the same script from the download link and still bumping into an error something about validateCssUnit(sizeInfo$width). Great work though
Difficult to say much without looking at code.
Sir, thank you for the amazing video. I have couple of quick question on first page... 1. I am unable to sum using valueBox function for my data and getting zero as result. 2. colors are not appearing on gaugesectors, plz assist.
It will be easier to look at the code and suggest corrections.
Interesting 👍
Thx
Nice!
Thanks!
Thanks,
You're welcome!
woooow.
Thanks! :)
Such a great tutorial! Thank you so much, sir. By the way, can I add e-mail to the social list? I mean, not only I can share it via Facebook, Twitter, but also send the file or link to an e-mail address. Thank you in advance!
You can save it as html file and probably upload on google drive and then share the link.
@@bkrai Sir, In that case will the html file be still interactive?
Excellent tutorial Dr. Rai, thank you - I have a question, though - I am running R 3.6.0 but the highcharter doesn't work, is there any help you can offer? Please and thanks!
I would suggest try again. It should work fine.
Hello Sir, Greetings, Is there any video which explains Shiny app ? I searched your page but couldn’t find. Kindly suggest if there is any link..!!
Not yet.
Dr. Bharatendra Rai thank you for the response sir..!! Great day
Welcome!
great.
but i face problem
p1%
group_by(make)%>%
summarise(count=n())%>%
plot_ly(x=~make,
y=~count,
color=rainbow(51),
type = 'bar')%>%
layout(xaxis=list(title="sada"),yaxis=list(title='Count'))
Error: n() should only be called in a data context
how can i solve this
I do not see any error in code.
Hello Sir, I am trying to make a Sales Forecast Dashboard using R-Shiny. Can you please provide any source from where I can get the basic skeleton of the code
Thanks, I've added shiny to my list of future videos.
Awesome!
Thanks!
Many thanks for the wonderful tutorial, when I tried to run the first chunk, I got the following message "Error in library(flexdashboard) : there is no package called ‘flexdashboard’", any help?
Make sure to install package before running library.
Thank you for the detailed video. In first page interactive plots, all three states are printed inside single box.Pls help.
Try to have separate chunks.
Thank you so much, Sir. While I am able to create a dashboard with my specifications, the dashboard look itself is raw, with source codes also appearing on the dashboard (even in Browser view as well). Any viable way I can overcome this? I am on R 3.5.1 - Thank you.
That has nothing to do with what version of R you use. You can refer to the code that I used.
@@bkrai Thank you so much, Sir. Much appreciated - the code works absolutely fine. The dashboard looks good, thanks to you :)
when I am using the exact query on my system, I am getting the results from the data set however I am not getting the icon colour and icons
Pls help
Difficult to suggest anything without looking at code.
Great tutorial, very helpful and awesome. Only problem for me is that when I run the map chunk i get this error
"Error in eval(expr, envir, enclos) : object 'usgeojson' not found" kindly help out.
Make sure you have run all the libraries from line 12 to 20.
Thx!!!
Welcome!
Thank you for all . Just I have some probleme when runing the code: it print this error: argument is not numeric or logical: returning NA.
I converted factor to numeric it work in consol but error still persist when i run rmd file. Please need help.
You need to covert factor to numeric in rmd file too.
@@bkrai i tried this: ```{r}
data$lc
It's ok now, i saw my mistake thanks.
Thanks for the update!
hmmm. how come I don't have the flex dashboard template
You can first install it before using steps shown in the video.
Hi Bharatendra, this is really great video. I have created my first dashboard in R using this. Just want to understand if in data tables and Pivot tables we can have labels as well. I have imported data from SPSS having labels and I want data table output and pivot table output with labels and not values. Please help me with this.
Please review my link as well: rpubs.com/aastha123/FirstDashboard
Yes, labels are fine.
It looks good!
@@bkrai I just want to ask how to add labels as in my dashboard only values are coming. I need labels, plz help me
@@bkrai Hi, plz help me in this I am facing big problem as not having labelled data from dashboard but need to share with management with labels. I have uploaded SPSS but its taking only values and not labels. Plz help
when assigning values in plot_ly for axis, we use x = ~fm .What does ~ do here
That's how plotly want us to specify a variable for x or y axis.
What is the source of this dataset to expand the features if possible ?
The link to dataset is in description area below video.
hi it's me again i'm trying to plot the map showing the case of each country i have in my dataset, the map is displayed without the cases. I don't know if I made a mistake in the code. I'm new in R , Need help.
```{r}
pays %
group_by(country_name) %>%
summarize(Cases)
highchart() %>%
hc_title(text = "Cases of COVID-19") %>%
hc_subtitle(text = "Source: covid-19.csv") %>%
hc_add_series_map(worldgeojson, pays,
name = "country_name",
value = "Cases",
joinBy = c("woename", "country_name")) %>%
hc_mapNavigation(enabled = T)
```
I would suggest look at str(dataset) and see if country names are as expected.
@@bkrai In joinBy , i replaced "woename" only by "name" and it worked. Thanks!
Here is a treat.. Thanks.
I don't understand why my Rstudio is treating (```) these three symbols as errors and says unexpected token and even after deleting it doesn't understand r setup.
Any help sir!
Make sure to include all necessary code. For example, after ``` we need {r} too.
Thanks sir.
wah is is good,how can i add data filters button where one can toggle
for example my data has variable years can i add a button so i can see the car failures by years on the value boxes
You can choose 'year' variable in the pivot table part or use the radio button in the interactive data table.
Is there a way to publish/share such dashboards with users to view it securely/non-publicly for confidential data?
You can save it on google drive and share the link.
@@bkrai Thanks... Is it possible to open it directly without having R installed on system?
Yes, once you have created a html dashboard, it will open in a browser without need for R.
I tried to knit to flexdashboard, but keep getting the following error message:
"Error in yaml::yaml.load(..., eval.expr = TRUE) :
unused argument (eval.expr = TRUE)
Calls: ... parse_yaml_front_matter -> yaml_load ->
Execution halted"
Does anyone know what might be going on?
Thanks.
Try to run that specific that's casing error before running entire code.
sir please make a video on creating interactive slicers and filters also
Thanks, I've added this to my list.
How do I read in a existing data.frame? If I do this
A
You should read your data directly into 'data'.
Hie Dr Bharatendra Rai may you pliz assist me to design a dashboard that visualizes the allocation funds ,disbursements and disbursement rate against local authorities
Hi, How can i use a different map other than US?
I'll add it to my list of future videos.
Hello! Could you please make a video on R-shiny?
Thanks
Thanks for the suggestion, I've added it to my list.
Awesome tutorial Rai, Please could you send me the data you have used in this
Data file should be available from the link in description area below this video.
Hie..I need assistance. Was following your tutorial..How do i add another page that upload csv files. I have this code that i want to put on another page using your demo. This is the code. It has both the UI and the server
shinyServer(function(input, output) {
#This function is repsonsible for loading in the selected file
filedata
Sir..from where I can learn Markdown?
For Markdown you can use:
ruclips.net/video/YXSp6VfZaUk/видео.html
For Notebook, you can use:
ruclips.net/video/4KfiQRqn_vA/видео.html
this tutorial is very helpful for me. i have one doubt how i load my csv files in this code because i couldn't understand .
how to write path in this code
You can find location of file on your computer using right click.
setwd("file path") is a way to set file path before read.csv
Sir I am getting an error,pls any1 guide me to solve the issue
Installing package into 'C:/Users/DELL/Documents/R/win-library/3.5'
(as 'lib' is unspecified)
Quitting from lines 12-40 (Dashboard--2-.Rmd)
Error in contrib.url(repos, "source") :
trying to use CRAN without setting a mirror
Calls: ... withVisible -> eval -> eval -> install.packages -> contrib.url
Execution halted
Have you installed R and RStudio?
@@bkrai yes sir I am in running in rstudio,my other shiny projects are working here I am getting that error,pls guide sir