R Shiny Dashboard Portfolio Project | 1973 USArrests Dashboard | R Shiny Tutorial for Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • R Shiny Dashboard Portfolio Project | 1973 USArrests Dashboard | R Shiny Tutorial for Beginners
    R Shiny Dashboard Project
    1973 USArrests Dashboard for beginners
    Key features -
    Shinydashboard layout
    Multiple sidebar menuitems
    conditional select input widgets
    visualizations in multi tabPanel layout
    3 file app structure (ui.r, server.r, global.r)
    Link to Shiny App:
    aagarw30.shiny...
    Link to Github code:
    github.com/aag...

ความคิดเห็น • 38

  • @meenamurmu7605
    @meenamurmu7605 5 หลายเดือนก่อน +1

    Thanks so much. I have watched 100 times and it has literally helped me to develop an app.

    • @abhinavagrawal6317
      @abhinavagrawal6317  5 หลายเดือนก่อน

      Thanks for commenting. I am glad this was of help. Ty Abi

  • @ChrisEllison-m7w
    @ChrisEllison-m7w 11 หลายเดือนก่อน +1

    For the "object 'input' not found" error when replacing "Rape" with input$var1 between 21:50 and 23:33, the following seems to work: when you copy the visualization section from global.R to server.R, you need to delete the lines from global.R (when he returns to global.R at 23:35, you can see that portion of code has been removed). I don't think commands in global can access Shiny's input object, thus the error.

    • @abhinavagrawal6317
      @abhinavagrawal6317  11 หลายเดือนก่อน

      Hello, your observation on code from global.r is correct. What I coded in for visualisation part in global.r was to demonstrate how a visualisation piece of code can be made dynamic and then used that in server.r.
      Pls use clean copy of code files from my GitHub in case of any errors.
      To your point, variables/objects used in global.r is accessible to both ui and server components. Retain only those pieces here which needs to be global/common or expected to be accessed by either of ui or server side components. Ty Abi

  • @Silvestercheptumo
    @Silvestercheptumo ปีที่แล้ว

    Amazing tutorial., This series on shiny apps has really helped me in my internship journey. Continue making more tutorials like this one. Cheers

    • @abhinavagrawal6317
      @abhinavagrawal6317  ปีที่แล้ว

      Thanks, will do! Have some pipeline and ideas. If anything specific, pls feel free to shoot me an email or comment here. ty Abi.

  • @harialmakky
    @harialmakky 8 หลายเดือนก่อน

    thank you so much brother. best tutorial.

  • @TheSOMSUBHRA
    @TheSOMSUBHRA 7 หลายเดือนก่อน

    I am just starting to use this app and following this tutorial. It is running for me till
    dashboardPage(
    dashboardHeader(title = "Welcome", titleWidth = "2000"),
    dashboardSidebar(),
    dashboardBody(),
    )
    But whenever I am trying to introduce my sidebar tabs like dashboardPage(
    dashboardHeader(title = "Welcome", titleWidth = "2000"),
    dashboardSidebar(
    sidebarMenu(id = "sidebar",
    menuItem("Dataset", tabName = "Data"),
    )
    ),
    dashboardBody(),
    )
    I have an error Error in sidebarMenu: argument is missing, with no default. Any idea how to resolve this?

    • @abhinavagrawal6317
      @abhinavagrawal6317  7 หลายเดือนก่อน

      Hello, thanks for watching and commenting. Sure can help. Reason for error is addition comma (,) you have in code after the menu item. Either remove that and run or add another menu item underneath. It should run fine after these changes. Hope this would help. If still running issues, pls reach out to me. Ty Abi

  • @aishaalqahtani536
    @aishaalqahtani536 ปีที่แล้ว

    Thank you so much for this amazing tutorial 👍🏽

  • @francisowino6985
    @francisowino6985 2 ปีที่แล้ว

    Thank you for the tutorial. I have learnt a lot

  • @tubihemukamamethodius6952
    @tubihemukamamethodius6952 ปีที่แล้ว +2

    Thank you, I get an error object input not found when I change rape to input$var1

    • @winfrednyankpani4617
      @winfrednyankpani4617 ปีที่แล้ว

      Me too. How did you resolve it?

    • @alfredgagariga1286
      @alfredgagariga1286 ปีที่แล้ว

      Any headway on this question. I've been stuck here for some time. Any help would be appreciated.

    • @abhinavagrawal6317
      @abhinavagrawal6317  ปีที่แล้ว

      I need to see the code snippet to reproduce and debug the error you are facing. ty Abi.

  • @rahulsamaddar7275
    @rahulsamaddar7275 ปีที่แล้ว

    When i follow the steps till 23:33 and then execute I am getting an error Error in layout.plotly(., xaxis = list(title = input$var1)) :
    object 'input' not found. Can you kindly help me with the rectification of the same please?

    • @abhinavagrawal6317
      @abhinavagrawal6317  ปีที่แล้ว

      Hello Rahul, sure. Did you try running the code from GitHub or you coded in Rstudio local instance? If it is GitHub version then I will re run and test it for error to help you else you will have share code with me to troubleshoot so I can reproduce. Thanks for watching and commenting.

  • @arunrajesh5137
    @arunrajesh5137 2 ปีที่แล้ว +2

    Thank you

  • @alfredgagariga1286
    @alfredgagariga1286 ปีที่แล้ว

    Everything goes fine i until i have to replace the "Rape" with "input$varl", then it returns "error, object "input not found". What am I missing?

    • @abhinavagrawal6317
      @abhinavagrawal6317  ปีที่แล้ว

      Difficult to diagnose without seeing what code changes done. If there is any small reproducible which I can use to debug, happy to help. Ty Abi

    • @alfredgagariga1286
      @alfredgagariga1286 ปีที่แล้ว

      Do you have an email address so I send a copy of my code so you can debug as I am unable to send files or code here

    • @abhinavagrawal6317
      @abhinavagrawal6317  ปีที่แล้ว

      @@alfredgagariga1286 gmail at aagarw30

    • @alfredgagariga1286
      @alfredgagariga1286 ปีที่แล้ว

      ​@@abhinavagrawal6317 I sent an email to you regarding the issue I complained about. A response would be greatly appreciated. Thanks

    • @abhinavagrawal6317
      @abhinavagrawal6317  ปีที่แล้ว

      @@alfredgagariga1286 let me double check. Don’t remember receiving it. Ty Abi

  • @eliyas8915
    @eliyas8915 2 ปีที่แล้ว +1

    Can you pls make a video how to use javascript in shiny application from the www folder

  • @afrikaniz3d
    @afrikaniz3d 2 ปีที่แล้ว

    Thanks for sharing

    • @abhinavagrawal6317
      @abhinavagrawal6317  2 ปีที่แล้ว +2

      You are very welcome! If this was helpful, please share with others so they can benefit. ty Abi.

  • @mat_czer9677
    @mat_czer9677 ปีที่แล้ว +1

    Pure chaos

  • @richardbennett4365
    @richardbennett4365 ปีที่แล้ว

    "On the right, we've got A few . . .". It is 100% INCORRECT to say, "on the right we've got few social media. . . ."
    It's is incorrect English to leave out the article "a" in this sentence at 0:33. So many south Asians whose first language is on the Hindustani continuum make this mistake over and over and over.

  • @aishaalqahtani536
    @aishaalqahtani536 ปีที่แล้ว

    Could you please send me the dataset? 🙏🏽

    • @abhinavagrawal6317
      @abhinavagrawal6317  ปีที่แล้ว

      Hello, this dataset in inbuilt and comes along with R

  • @carlitos4505
    @carlitos4505 2 ปีที่แล้ว +1

    What a dark project. Lol

  • @maryjanebenjamin9179
    @maryjanebenjamin9179 2 ปีที่แล้ว

    😊 PЯӨMӨƧM