title: Multiple Shiny apps using same data
body: <p>I would like to develop a bunch of Shiny apps, each of them working (and editing) the same set of data. Is that feasible and if yes, how should the project be structured?</p>
  
  <p><strong>1 Shiny app</strong>  </p>
  
  <p>The way I am used to structure my shiny app is the following:<br>
  <a href="https://i.stack.imgur.com/eLdHg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eLdHg.png" alt="enter image description here"></a></p>
  
  <p><strong>2+ Shiny apps</strong>  </p>
  
  <p>Is there a way to refer to another location for the data, or to store apps within the root folder this way:  </p>
  
  <p><a href="https://i.stack.imgur.com/dF5il.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dF5il.png" alt="enter image description here"></a>,</p>
  
  <p>each app using data located in the data folder.
  For each app, ui.R, server.R and global.R are stored in the 'app_i' folder.</p>
  
  <p>From what I know ui.R, server.R and global.R should always be located at the root of the project, which makes it impossible to work with multiple apps on the same dataset..  </p>
  
  <p>Thank you in advance for your views on this, and for sharing best practices.</p>
  
  <p>Regards</p>