Build a Dashboard in 10 Seconds with R Shiny Flexdashboard

Поделиться
HTML-код
  • Опубликовано: 10 янв 2025

Комментарии • 45

  • @JonathanNg
    @JonathanNg  3 года назад

    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.

  • @oiDATA
    @oiDATA 2 года назад +7

    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.

  • @jorgeguiragossian8488
    @jorgeguiragossian8488 Год назад +2

    fds + tab doesn't work. Just installed the latest version of R. Is there a specific library I need to use?

    • @JonathanNg
      @JonathanNg  Год назад +1

      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.

    • @jorgeguiragossian8488
      @jorgeguiragossian8488 Год назад

      @@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.

    • @jorgeguiragossian8488
      @jorgeguiragossian8488 Год назад +1

      @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.

    • @JonathanNg
      @JonathanNg  Год назад

      @@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.

  • @botaga9879
    @botaga9879 4 года назад +5

    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

  • @enocharthur1955
    @enocharthur1955 3 года назад +2

    fds tab doesn't work Jonathan

  • @ayasugihada
    @ayasugihada 6 лет назад +1

    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.

    • @JonathanNg
      @JonathanNg  6 лет назад +2

      Flexdashboards are awesome. They are like Shiny version 3. Dash is great for Python users but it's kind of like Shiny version 1.

    • @ayasugihada
      @ayasugihada 6 лет назад +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.

    • @JonathanNg
      @JonathanNg  6 лет назад +1

      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.

    • @ayasugihada
      @ayasugihada 6 лет назад +1

      @@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 .

    • @JonathanNg
      @JonathanNg  6 лет назад +1

      Cool. Are you on my mailing list? There will be some discounts coming out soon.

  • @jorgemefgf
    @jorgemefgf 6 лет назад +1

    @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

    • @JonathanNg
      @JonathanNg  6 лет назад

      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.

  • @lennyh2968
    @lennyh2968 3 года назад

    is there a way to use this to make a dashboard that has a live feed of data, stock prices for example?

  • @giulioverdi1767
    @giulioverdi1767 4 года назад

    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

  • @mojaffaransari8768
    @mojaffaransari8768 4 года назад

    Hello sir, I am getting Error: path for html_dependency not provided

  • @anantkulkarni367
    @anantkulkarni367 5 лет назад +1

    Sir I am getting an error "trying to use CRAN without setting a mirror",pls guide me how to solve this

    • @TheMetalhead1311
      @TheMetalhead1311 5 лет назад +2

      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!

    • @JonathanNg
      @JonathanNg  5 лет назад +1

      @@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.

    • @mojaffaransari8768
      @mojaffaransari8768 4 года назад

      I am getting an error, Error: path for html_dependency not provided

  • @isaigalarza6478
    @isaigalarza6478 4 года назад

    buen trabajo, donde puedo ver el código de snippet?

  • @hendrikfeddersen6768
    @hendrikfeddersen6768 6 лет назад +1

    Thanks, good job.

  • @bobbydeng4932
    @bobbydeng4932 5 лет назад +1

    Thanks so much!

    • @JonathanNg
      @JonathanNg  5 лет назад

      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.

  • @prod.kashkari3075
    @prod.kashkari3075 3 года назад

    Coord_flip() that graph

  • @aj7820
    @aj7820 Год назад

    I wouldnt say this is under 10s but other than that nj

  • @aman_mashetty5185
    @aman_mashetty5185 5 лет назад +1

    hey, Jonathan, the code is show execution error please help me

    • @JonathanNg
      @JonathanNg  5 лет назад

      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

  • @kelvinsonmwangi8359
    @kelvinsonmwangi8359 4 года назад

    Thank you!

  • @duncanfirth3344
    @duncanfirth3344 5 лет назад

    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

  • @chase2879
    @chase2879 3 года назад

    this video makes no sense and neither does the course

    • @JonathanNg
      @JonathanNg  3 года назад

      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?

  • @PINOYNEWS3
    @PINOYNEWS3 4 года назад +1

    Thank You.Good Job

    • @JonathanNg
      @JonathanNg  4 года назад +1

      Thank you. Glad you liked it. What else would you like to see?

    • @PINOYNEWS3
      @PINOYNEWS3 4 года назад

      @@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.