Join 15,000 to Learn Advanced Data Analytics Skills. Through step by step lectures, complete with downloadable code examples and student support. R Tidyverse Reporting and Analytics for Excel Users Level up your advanced data analytic skills. Learn one of the fastest easiest ways to work with large datasets. www.udemy.com/course/r-tidyverse-reporting-and-analytics-for-excel-users/?referralCode=E6333F435381F1A83CCD R Shiny Flex Dashboards and Interactive Data Visualizations The fastest, easiest way to get up to speed with R Shiny to transform your analysis into data driven applications. www.udemy.com/course/r-shiny-flexdashboards/?referralCode=15405DCD94D9E80B5440 Easy Excel Dashboards, Models, Visualizations with Power Query Better than VBA. A no code way to easily transform data and build automated reports with Microsoft Excel www.udemy.com/course/easy-excel-dashboards-models-visualizations-power-query/?referralCode=331E9DFAE5A544402066 What do you want to know about advanced analytics and data science? Leave a comment below.
Hi, thanks a lot for sharing this knowledge... I am from Colombia and here in my city the people is already learning this kind of topics.... Can you please share the CODE that you show in the video? I am using the link in the description, but it doesn't load, it shows an error. Thanks again.
Thanks for the question. fds is a custom snippet the video, shows you how to set it up. It doesn't work out of the box. It can be quite handy to reuse for different projects to get something setup nice and quickly.
@@JonathanNg Thank you. That was my bad for not watching all the way through. I got stuck trying to figure out what fds is and went on a tangent. Thank you again for the quick response. I'll have to check out your Udemy course.
@JonathanNg Wanted to follow-up. Thank you so much for this video! I used the code on a custom dataset and it worked like a charm! This is amazing. Definitely going to take your Udemy course!! I want to see what other tricks you can teach me.
Hi Jonathan! For shiny! I can't get the script with the functions displayed, how do I do this? when I do "fds", I don't see "TAB" on my computer, then I have a macOS. Thank you in advance for your reply
@@JonathanNg Yeah, I really like working with markdown as well. R just went so much cooler these couple of years. I was a really light user for about 4 years now, but never had a reason to dive into it. So now I am trying to learn tidyverse properly and get a hang of the new stuff regarding ML and interactive visualizations. I just found a tibbletime package, which is great for timeseries data I am working with. My dashboard will be rather big and nested. Forgive me the silly question - do you think it is better to split such an application into several parts, or would it be better ok to write it as one big R file/application? Thanks.
That's awesome. I agree R has progressed massively over the last couple of years. The tidyverse eco system is awesome. I'm looking to create some more videos on this. Btw great question regarding split vs 1 big file. I'm not sure if you've seen any of my courses at www.DataStrategyWithJonathan.com . The Flexdashboard course which is part of my data school covers quite a bit of how I structure my code. Even if you don't do the course though the gist of it is that it's a good idea to split your applications. Notebooks have been great in terms of documenting and showing the steps for reproducible research but it has also lead to some coding practices which are less than ideal. Splitting your code into functions instead of a single large file has several benefits. 1. Easier to reuse code across multiple applications 2. Easier to test individual functions for bugs 3. Code is easier to read as the dashboard only needs a single function call to a much larger piece of logic 4. Separating the presentation from the business logic allows you to create more flexible, easier to maintain apps 5. Often data prep and loading functions can be run in a batch at a separate time to your app loading. This improves performance and load times if you say only need to do the data prep once and then use that prepared and loaded data for all of your subsequent analysis and user application requests I tend not to show functions on my RUclips videos as it requires some background knowledge that viewers may not have. It is definitely the best practice though. Starting without functions is faster and easier when you're starting from zero. Once you've written a bit of code you'll want to make everything functions as it will save you so much time as you just call the functions that you've already written. Actually placing your functions into separate files from your Markdown documents will further facilitate this.
@@JonathanNg Wow, can't thank you enough for such complete the answer. I think it is a pointer in the right direction. I will get your udemy course & think about gettin' your other courses if I have still some budget next year :D .
@Jonathan Ng Thanks, great stuff - very useful! But was not able to create the snippet. Followed your explanation, it is enabled (as other snippets work well) but "fds" doesn't. Restarted R already but the issue remains... Any thoughts why am having trouble? Cheers
Hi Jorge, Thanks for your question. I'm assuming you've downloaded the code and added it to your templates. Check for indentation and what file type you're adding the template under. In this video I add the template code to the R Scripts even though it's a R Markdown file. I do this because the default new file type is a regular R script. This just makes the whole workflow role off your fingers really fast. The templates are only available to matching file types so if you pre-save this as a RMarkdown file it won't work.
Add this line, repos = "cran.us.r-project.org" of code into your function calling the package such as: install.packages("weatherData", repos = "cran.us.r-project.org") It should work after this!
@@TheMetalhead1311 Thanks for helping with this question. You should also be able to go to the global options in R Studio > Packages and set the primary cran repository.
Thanks for your comment. I've just added a new section to the course here that goes over the most common errors. Please let me know if you continue to have any issues datastrategywithjonathan.com/p/flex-dashboard-template
Can you help me how do i add a break a new line character in R and flexdashboard. I heard it was but this did not work - stackoverflow.com/questions/33191744/how-to-add-new-line-in-markdown-presentation
Perhaps you could be a little more constructive. This demonstrates how to make highly reusable dashboard templates that can be tweaked with a relatively small amount of code. What doesn't make sense about that?
@@JonathanNg, can you record a video Sir using Rshiny? Step by Step process for a beginner. Im willing to share and use your video in my classes soon. Thank You and Keep Safe Sir.
Join 15,000 to Learn Advanced Data Analytics Skills. Through step by step lectures, complete with downloadable code examples and student support.
R Tidyverse Reporting and Analytics for Excel Users
Level up your advanced data analytic skills. Learn one of the fastest easiest ways to work with large datasets.
www.udemy.com/course/r-tidyverse-reporting-and-analytics-for-excel-users/?referralCode=E6333F435381F1A83CCD
R Shiny Flex Dashboards and Interactive Data Visualizations
The fastest, easiest way to get up to speed with R Shiny to transform your analysis into data driven applications.
www.udemy.com/course/r-shiny-flexdashboards/?referralCode=15405DCD94D9E80B5440
Easy Excel Dashboards, Models, Visualizations with Power Query
Better than VBA. A no code way to easily transform data and build automated reports with Microsoft Excel
www.udemy.com/course/easy-excel-dashboards-models-visualizations-power-query/?referralCode=331E9DFAE5A544402066
What do you want to know about advanced analytics and data science? Leave a comment below.
Hi, thanks a lot for sharing this knowledge... I am from Colombia and here in my city the people is already learning this kind of topics.... Can you please share the CODE that you show in the video? I am using the link in the description, but it doesn't load, it shows an error. Thanks again.
fds + tab doesn't work. Just installed the latest version of R. Is there a specific library I need to use?
Thanks for the question. fds is a custom snippet the video, shows you how to set it up. It doesn't work out of the box. It can be quite handy to reuse for different projects to get something setup nice and quickly.
@@JonathanNg Thank you. That was my bad for not watching all the way through. I got stuck trying to figure out what fds is and went on a tangent. Thank you again for the quick response. I'll have to check out your Udemy course.
@JonathanNg Wanted to follow-up. Thank you so much for this video! I used the code on a custom dataset and it worked like a charm! This is amazing. Definitely going to take your Udemy course!! I want to see what other tricks you can teach me.
@@jorgeguiragossian8488 thanks so much for that feedback. It really means a lot. I hope you enjoy the course. Do reach out if you have any questions.
Hi Jonathan! For shiny! I can't get the script with the functions displayed, how do I do this? when I do "fds", I don't see "TAB" on my computer, then I have a macOS. Thank you in advance for your reply
fds tab doesn't work Jonathan
Super cool & handy for me. Just working on the online dashboard. Wasn't sure whether to go dash or shiny, at first but I am goin' shiny.
Flexdashboards are awesome. They are like Shiny version 3. Dash is great for Python users but it's kind of like Shiny version 1.
@@JonathanNg Yeah, I really like working with markdown as well. R just went so much cooler these couple of years. I was a really light user for about 4 years now, but never had a reason to dive into it. So now I am trying to learn tidyverse properly and get a hang of the new stuff regarding ML and interactive visualizations. I just found a tibbletime package, which is great for timeseries data I am working with. My dashboard will be rather big and nested. Forgive me the silly question - do you think it is better to split such an application into several parts, or would it be better ok to write it as one big R file/application? Thanks.
That's awesome. I agree R has progressed massively over the last couple of years. The tidyverse eco system is awesome. I'm looking to create some more videos on this.
Btw great question regarding split vs 1 big file.
I'm not sure if you've seen any of my courses at www.DataStrategyWithJonathan.com . The Flexdashboard course which is part of my data school covers quite a bit of how I structure my code. Even if you don't do the course though the gist of it is that it's a good idea to split your applications. Notebooks have been great in terms of documenting and showing the steps for reproducible research but it has also lead to some coding practices which are less than ideal. Splitting your code into functions instead of a single large file has several benefits.
1. Easier to reuse code across multiple applications
2. Easier to test individual functions for bugs
3. Code is easier to read as the dashboard only needs a single function call to a much larger piece of logic
4. Separating the presentation from the business logic allows you to create more flexible, easier to maintain apps
5. Often data prep and loading functions can be run in a batch at a separate time to your app loading. This improves performance and load times if you say only need to do the data prep once and then use that prepared and loaded data for all of your subsequent analysis and user application requests
I tend not to show functions on my RUclips videos as it requires some background knowledge that viewers may not have. It is definitely the best practice though. Starting without functions is faster and easier when you're starting from zero. Once you've written a bit of code you'll want to make everything functions as it will save you so much time as you just call the functions that you've already written. Actually placing your functions into separate files from your Markdown documents will further facilitate this.
@@JonathanNg Wow, can't thank you enough for such complete the answer. I think it is a pointer in the right direction. I will get your udemy course & think about gettin' your other courses if I have still some budget next year :D .
Cool. Are you on my mailing list? There will be some discounts coming out soon.
@Jonathan Ng Thanks, great stuff - very useful!
But was not able to create the snippet. Followed your explanation, it is enabled (as other snippets work well) but "fds" doesn't. Restarted R already but the issue remains... Any thoughts why am having trouble? Cheers
Hi Jorge, Thanks for your question. I'm assuming you've downloaded the code and added it to your templates. Check for indentation and what file type you're adding the template under. In this video I add the template code to the R Scripts even though it's a R Markdown file. I do this because the default new file type is a regular R script. This just makes the whole workflow role off your fingers really fast. The templates are only available to matching file types so if you pre-save this as a RMarkdown file it won't work.
is there a way to use this to make a dashboard that has a live feed of data, stock prices for example?
Hi, How can I change the default color of the tickets on the dashboards from blue to other colors when you hover your mouse over it?
thanks in advance
Hello sir, I am getting Error: path for html_dependency not provided
Sir I am getting an error "trying to use CRAN without setting a mirror",pls guide me how to solve this
Add this line, repos = "cran.us.r-project.org" of code into your function calling the package such as: install.packages("weatherData", repos = "cran.us.r-project.org")
It should work after this!
@@TheMetalhead1311 Thanks for helping with this question. You should also be able to go to the global options in R Studio > Packages and set the primary cran repository.
I am getting an error, Error: path for html_dependency not provided
buen trabajo, donde puedo ver el código de snippet?
Thanks, good job.
Thanks so much!
You're welcome. I hope you find it useful. Do you have some ideas of what you'd like to use this for? Let me know if you have any questions.
Coord_flip() that graph
I wouldnt say this is under 10s but other than that nj
hey, Jonathan, the code is show execution error please help me
Thanks for your comment. I've just added a new section to the course here that goes over the most common errors. Please let me know if you continue to have any issues datastrategywithjonathan.com/p/flex-dashboard-template
Thank you!
Can you help me how do i add a break a new line character in R and flexdashboard. I heard it was but this did not work - stackoverflow.com/questions/33191744/how-to-add-new-line-in-markdown-presentation
this video makes no sense and neither does the course
Perhaps you could be a little more constructive. This demonstrates how to make highly reusable dashboard templates that can be tweaked with a relatively small amount of code. What doesn't make sense about that?
Thank You.Good Job
Thank you. Glad you liked it. What else would you like to see?
@@JonathanNg, can you record a video Sir using Rshiny? Step by Step process for a beginner. Im willing to share and use your video in my classes soon. Thank You and Keep Safe Sir.