Dongying
9/27/2020
Project requirements: This peer assessed assignment has two parts. First, you will create a Shiny application and deploy it on Rstudio’s servers. Second, you will use Slidify or Rstudio Presenter to prepare a reproducible pitch presentation about your application.
Background for this shiny app: Presidential elections occur quadrennially with registered voters casting their ballots on Election Day, which since 1845 has been the first Tuesday after November 1. We are going to see the election results on each year by different states. For convenience, we only include the results for democrat and republican. You can:
The ui.R and server.R are the code for the shiny application:
The repository consists of three final files:
Data File:
## Warning: replacing previous import 'vctrs::data_frame' by 'tibble::data_frame'
## when loading 'dplyr'
##
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
##
## filter, lag
## The following objects are masked from 'package:base':
##
## intersect, setdiff, setequal, union