Add first report parameterisation & generation in app (for Haridwar site)
Pre-releaseHow to use:
-
Install the R package "aquanes.report" in R(Studio) with:
devtools::install_github("kwb-r/aquanes.report", ref = "v.0.2.0-alpha") -
Check the installation folder of the package in R(Studio) with:
system.file(package = "aquanes.report") -
The app only works if the following two additional files are copied into the package subfolders:
-
Valid ".my.cnf" file to the R package subfolder "\shiny\haridwar" folder
-
Valid EXCEL file named "analytics.xlsx" to the subfolder "\shiny\haridwar\data"
Subsequently the following function needs to be run in R at least once with "use_live_data = TRUE":
aquanes.report::run_app(use_live_data = TRUE)
This downloads the latest operational data from the mySQL database and saves the resulting data frame (which is combined with the analytics data in the package subfolder ("data/haridwar_raw_list.Rds)