▶︎ The app can be run in 3 alternative ways:
- in your web browser – just go to https://shiny-r.dev/eurodata_codegen or https://alekr.shinyapps.io/eurodata_codegen
- run locally in R with
source('https://raw.githubusercontent.com/alekrutkowski/eurodata_codegen/main/app.R')
(or withsource('app.R')
if the app.R file is downloaded to your current working directory) - put the app.R file in the appropriate sub-directory (sub-folder) of your Shiny server's root directory, e.g. in
/srv/shiny-server/eurodata_codegen
⚠︎ If running on your Shiny server or locally in your R, there are some prerequisites/dependencies. Install them, if they are not yet installed:
needed_pkgs <-
c('magrittr','eurodata','data.table','shiny','shinybusy',
'rclipboard','xml2','prismjs','shinyalert','memoise')
installed_pkgs <-
row.names(installed.packages())
for (n in needed_pkgs)
if (!(n %in% installed_pkgs))
install.packages(n)
💡︎ BTW, you can also search Eurostat datasets at https://shiny-r.tk/find_estat or https://alekr.shinyapps.io/find_estat
A screenshot of the eurodata_codegen
app: