tetratech / baytrendsmap

Shiny app to create maps on-the-fly from output of the baytrends package.
https://tetratech.github.io/baytrendsmap/
MIT License
4 stars 2 forks source link

Data files - auto update pick list and move files out of shiny app folder #54

Closed leppott closed 2 years ago

leppott commented 3 years ago

Is your feature request related to a problem? Please describe.

  1. Make the pick list of files auto update based on a CSV file import (in global.R).
  2. Move files to remote repo.

Describe the solution you'd like Separate the data from the Shiny app so can update the data without modification to the Shiny app.

Describe alternatives you've considered Doesn't matter about the location of the repo at this time.

Additional context image

leppott commented 3 years ago

Rework global.R to reference pick list info from remote repo and the files include the remote URL.

image

leppott commented 3 years ago

Task complete. Review and close.

leppott commented 3 years ago

Plots folder renamed.

leppott commented 3 years ago

pick_files.csv in remote folder (baytrends_files) controls the directory names for plots and whether to use the "no_data" plot or the actual plots of each station.

This should allow for updates to the remote files (plots and data) without the need to update the Shiny app.