Shiny apps are written in the R programming language, so you would need to run this on an external R server, and then use another app (I guess) to connect with DHIS2 to the Shiny server.
DHIS2 itself has no capability to run Shiny apps, which must be written in pure HTML and JavaScript and utilize only the native API of DHIS2. If you are using external services, such as Shiny, you would need to take that into account in your DHIS2 facing app.
Shiny apps are written in the R programming language, so you would need to run this on an external R server, and then use another app (I guess) to connect with DHIS2 to the Shiny server.
DHIS2 itself has no capability to run Shiny apps, which must be written in pure HTML and JavaScript and utilize only the native API of DHIS2. If you are using external services, such as Shiny, you would need to take that into account in your DHIS2 facing app.
Hello Team I check the following one ,already open the Shiny apps are written in the R programming language, so How can I connect with DHIS2 to the Shiny server. ths is my challenge .
I would recommend using the {datimutils} to connect to DHIS2; it has several useful functions to get you quickly started with the analytics (the most interesting part), and has support for mutiple users.
Thanks for your unlimited support but still am not solved the problem ,
Could you have an other mechanism to show the steps or if you have any vidio or some thing else .
There are a few different ways to run a shiny app and I wanted to offer a bit more information in addition to my original post above.
Directly from Rstudio- This would only allow you to run the app locally but might be good if you just want to distribute the app to a few colleagues who also have RStudio installed.
Using Rstuido’s shiny server (Shiny Server - Posit) There is an open source version of this available for various operating systems. Rstudio also has several different commercial versions which offer more functionality.
There are also services such as shinyapps.io which allow you to run shiny apps when you do not have (or do not want to manage) your own infrastructure.
I assume that you want to allow others to view your app, so I would probably recommend to start with shinyapp.io . You obviously carefully consider any security issues related to running a shiny app on a third party site. That is probably the easiest way to get started.
If that is not an option for you, there is a lot of information on the Internet about how to install and configure a Shiny server. However, it will require a fair amount of system administrations skills in order to get such a service running and to secure it. The RStudio community and technical support is usually quite helpful, so you can also reach out there if you get stuck.