Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
This blog series follows the development and creation of an R Shiny application. For the purposes of keeping this focused on software development, we’ll be concentrating on Shiny rather than the business use case. As a background story, we’ll be creating an app for the hit TV show, The Office. We’ll assume the following scenario:
NBC hired us to build a tool that will help analysts dive into data. This includes viewer satisfaction, episode ratings, script text mining, personnel involved in filming and costs of advertising.
The major reasons we chose Shiny for this project are:
Customization of the user interface
Simplification of the data processing
Interaction and drill-down capabilities
Efficient algorithmic data analysis
Publication and deployment simplicity
For this particular project, we will be using the golem package to build our Shiny app. The golem framework consists of clean and distinct code that makes an app strong and sound to create scalable development for the future.
The final product will be:
Tested thoroughly
Well documented
Organized
These qualities and features of golem will make our app more resilient than a basic shiny app.
Are you convinced this may be the greatest app ever? Stay tuned for future posts in this series, where we highlight planning, production, testing, pitfalls and more!
“I’m not superstitious, but I am a little stitious.” – Michael Scott
Overview of what we will cover:
Overview (this post)
Data Discovery and Designing the UI
Getting started with golem
Setting your project up for success
Development process and testing
Preparation for CI/CD
Customization of the app
Deployment to the web
We’ll be covering this in a future post, but if you would like to get started..
Open a terminal and run the following:
$ R $ install.packages(“golem”) $ golem::create_golem("theoffice")
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.