gadenbuie / tweet-conf-dash

A shiny twitter conference dashboard
https://apps.garrickadenbuie.com/rstudioconf-2019/
MIT License
122 stars 75 forks source link

Permission to deploy on R Studio cloud? #1

Closed jrosen48 closed 5 years ago

jrosen48 commented 5 years ago

Hi, and thanks for a great app! I am trying to deploy a version of the app for a conference I'm at, #AERA19, via R Studio Cloud, but receive this message: Sorry, you do not have access. I tried to deploy other apps which received awards for the 1st Shiny Competition and was able; I left a comment on RStudio's blog asking about this, too (see here. Thanks!

gadenbuie commented 5 years ago

Hey @jrosen48, I thought I had set it up for this but apparently I missed something. I’m AFK this weekend but will fix it on Monday. Thanks for letting me know!

gadenbuie commented 5 years ago

Hi @jrosen48, I followed up with RStudio today and the issue is that I created the project inside a workspace. The workspace is open to everyone though, so you can join the workspace at this link, at which point when you open the project you'll have a temporary copy that you should be able to save into your account.

You're going to run into another issue, though, which is that the app itself doesn't handle the tweet collecting directly. You'll need to set up a separate process for collecting tweets about the conference, I recommend using rtweet but I also created a command line wrapper around rtweet that eliminates much of the boilerplate code for using rtweet to collect tweets, called gathertweet. The search terms that are used in the Twitter search need to be aligned with the topic settings here and there are a number of other metadata settings to change as well in 00_settings.R.

The reason this functionality is separated from the app code is because 1) collecting Twitter data requires API tokens and credentials that were out of scope of the app contest and 2) Shiny apps on shinyapps.io run on demand making the Shiny app itself a poor fit for repeated and long-term tweet gathering. I plan to write up the set-up process more fully soon.

gadenbuie commented 5 years ago

I moved the project so that it's no longer necessary to join a workspace in order to clone it: https://rstudio.cloud/project/258314