简体   繁体   English

带有更新数据的 Flexdashboard 闪亮部署

[英]Flexdashboard shiny deployment with updating data

I deployed a flexdashboard shiny app to shinyapps.io, which worked fine.我将一个 flexdashboard 闪亮的应用程序部署到了 Shinyapps.io,它运行良好。 However, I want the dashboard to automatically update when the data file on google drive updates.但是,我希望仪表板在 google drive 上的数据文件更新时自动更新。 What are my options for setting this up?我有哪些设置选项? I don't want to continously manually deploy a new version to shinyapps.io.我不想连续手动将新版本部署到 Shinyapps.io。

I was looking for the same, and I found the following :我一直在寻找相同的东西,我发现了以下内容:

option 1 : you can build a script if you app is in linux.选项 1:如果您的应用程序在 linux 中,您可以构建一个脚本。

option 2 : you can work with RStudio Connect选项 2:您可以使用 RStudio Connect

After doing some research, I would go with option 2, because :在做了一些研究之后,我会选择选项 2,因为:

  1. you set up an environment to publish your dashboard.您设置了一个环境来发布您的仪表板。
  2. you have the right environment to maintain, control and update the data.您拥有合适的环境来维护、控制和更新数据。

The following article explains the steps to set up an environment to answer the need以下文章解释了设置环境以满足需求的步骤

source : https://medium.com/rstudio-connect-digest/basic-builds-how-to-update-data-in-a-shiny-app-on-rstudio-connect-48593902b1e2来源: https : //medium.com/rstudio-connect-digest/basic-builds-how-to-update-data-in-a-shiny-app-on-rstudio-connect-48593902b1e2

The following article allows you to understand the difference between shinyio and RStudio connect.下面这篇文章可以让你了解shinyio和RStudio connect的区别。

Initially I pusblished my dashboard in Shinyio, buying a monthly licence, but now I realized RStudio Connect was a better choice.最初我在 Shinyio 上发布了我的仪表板,购买了月度许可证,但现在我意识到 RStudio Connect 是更好的选择。

To understand the difference, I am posting this comparission.为了理解差异,我发布了这个比较。

https://support.rstudio.com/hc/en-us/articles/217240558-What-is-the-difference-between-RStudio-Connect-and-shinyapps-io- https://support.rstudio.com/hc/en-us/articles/217240558-What-is-the-difference-between-RStudio-Connect-and-shinyapps-io-

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM