Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201839

Import csv files to google sheets from shiny apps.io download

$
0
0

I have built a shiny apps.io server that takes csv files from the shiny apps project folder and renders them as simple tables with a download handler for each.

My department want to display / manipulate these tables in Tableau (don't ask why). This is a little tricky as they do not play well together. As a middle-ground, I have attempted to use google sheets. The workflow therefore is:

  1. shiny app.io publishes tables
  2. google sheet reads url of download handler (ie right click - copy link address)
  3. Tableau reads in table from google sheets

The issue is that the url of the download button is unique based on each session, usually in the format:

https://shinyapps.io/app/session/session_id/download/downloadPlot

Meaning google sheets cannot be pointed to it as every visits url is unique.

Is there a way to keep the download csv url static? Perhaps by changing the arguments passed to the download handler or using a different widget?

I have attempted to use embedded html using tags$a but the issues remains the same.


Viewing all articles
Browse latest Browse all 201839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>