Simple shiny app for exploring the live users count from a selection of subreddits.
See it live at https://dbeley.shinyapps.io/subreddit-activity-shiny.
Data extracted with subreddit_tracker.
- Install rstudio.
- Clone/Download the project on your computer.
- Open the .Rproj file with rstudio to load the R project.
- Open the app.R file.
- Click on the run app button.
- Wait for the dependencies to be installed (can take quite some time as the packages are compiled from source).
- The app should launch after that.
In rstudio, run the following code :
options(Ncpus=4)
install.packages('shiny')
library('shiny')
runGitHub('subreddit-activity-shiny', 'dbeley')
- There are quite a number of outliers in the data. This may be due to an error in the data extraction or in the reddit API.
- When there are missing values, the graph draws a long line connecting the two valid points surrounding the missing range.
- Missing values breaks the smoothing.
- Missing values sometimes breaks the summary graphs.
To use the provided docker-compose file with traefik, you will need an .env file with this content.
DEFAULT_NETWORK=traefik-netowrk
DOMAIN=localhost

