To run the shiny app, open R with the working directory set to the root directory of this repository, and run the following:
library(shiny)
runApp("App")
If it is your first time using online-advice, the app will download on your local directory the last 5 years (2017-2021) of SAG data (around 13 MB) needed to display the ICES advice. This process will take several minutes but after the data is downloaded, the app will run much faster.
All the official scripts and data to run the app are in the App folder. The Shiny folder is used to keep some code in development.
Resources
Source for fish illustrations: Food and Agriculture Organization of the United Nations, Original Scientific Illustrations Archive. Reproduced with permission
Source for placeholder fish icon: Fish icons created by vectorsmarket15 - Flaticon
Source for pdf icon: Pdf icons created by Creative Stall Premium - Flaticon
Source for database icon: Database icons created by srip - Flaticon
Source for fisheries overviews icon: Seafood icons created by iconixar - Flaticon
Source for VISA tool icon: Map icons created by Freepik - Flaticon
Source for info icon: Info icons created by Stockio - Flaticon
Source for calendar icon: Calendar icons created by Freepik - Flaticon
Source for link icon:Link icons created by Uniconlabs - Flaticon
Source for download icon: Download icons created by kosonicon - Flaticon