Algoritma is a data science education center based in Jakarta. We organize workshops and training programs to help working professionals and students gain mastery in various data science sub-fields: data visualization, machine learning, data modeling, statistical inference etc. Visit our website for all upcoming workshops.
We’ll set-up caching for this notebook given how computationally expensive some of the code we will write can get.
options(width=50)
knitr::opts_chunk$set(cache=TRUE,tidy=TRUE)
options(scipen = 9999)
rm(list=ls())You will need to use install.packages() to install any packages that are not already downloaded onto your machine. You then load the package into your workspace using the library() function:
library(dplyr)
library(ggplot2)
library(plotly)
library(reshape2)After having learned and explored appropriate techniques on visualizing data, students are required to deploy an interactive dashboard web application using a shiny server which contain any plotting objects such as ggplot and/or leaflet that display useful insights.
In addition, students are given the freedom to use their own dataset or past datasets from previous classes. Below are the rubrics for assessment and grading:
library(shiny)
# https://github.com/onlyphantom/advisory
runGitHub("advisory", "onlyphantom", subdir = "advisory")https://rstudio.github.io/shinydashboard/
https://shiny.rstudio.com/gallery
Some data source reference:
By default, Shiny limits file uploads to 5MB per file. You can modify this limit by using the shiny.maxRequestSize option. For example, adding this to the top of app.R would increase the limit to 200MB.
options(shiny.maxRequestSize=200*1024^2)
saveRDS()
readRDS()