![]() Today we bring you seven curated examples of R Shiny in government. It’s not rare to find a vast number of dashboards in business-related domains, such as sales and marketing, but the possibilities don’t end there. Step 17: You can now edit the app (or replace the entire code by another of your app), and run the app again by clicking on the Run App button.R Shiny allows developers to write production-ready dashboards in no time, and for any use case. Step 16: After several seconds (depending on the weight of your app), the Shiny app should appear in your internet browser: Step 15: Go back to the window where you can publish your app, choose a title (without space) and click on the Publish button: Your computer is now authorized to deploy applications to your shinyapps.io account. Step 14: Go back to RStudio, paste the code in the console and run it: Step 13: Copy the code and click on the OK button: Step 12: Now the code is complete (nothing is hidden anymore). Step 11: Click on the Show Secret button: Create one by clicking on the Add Token button. Step 10: If this is your first app, there should be no token already created. ![]() Step 9: Click on your name and then on Tokens Step 8: Click on the Dashboard button to log in into your account: ![]() Step 7: Click on the link to your ShinyApps account: ![]() Step 6: Click on the first alternative (ShinyApps.io): Click on “Add New Account” to link the shinyapps.io account you just created: Step 5: If it is your first Shiny app, the box “Publish From Account” should be empty. Run the app by clicking on the Run App button to see the result: Step 3: In the same way as when you open a new R Markdown document, the code for a basic Shiny app is created. ![]() Step 2: Give it a name (without space), choose where to save it and click on the Create button: Step 1: Open RStudio and create a new Shiny app: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |