Shiny Application and Reproducible Pitch

Xueyan Zhang
2020-08-19

This course project contians two things

  1. Shiny Application
  2. Reproducible Pitch

The summary of this Shiny application

  • The application creates an interactive map using plotly and leaflet
  • There are two tabs to choose from in the main panel: County Level and State Level
  • On the side panel, the user can select the state(s) to show up in the State Leve
  • The user can also interact with the map in the County Level tab uing the plotly map tools located on the top of the map

Data Used

 url2<- "https://raw.githubusercontent.com/plotly/datasets/master/fips-unemp-16.csv"
df <- read.csv(url2, colClasses=c(fips="character"))
head(df)
   fips unemp
1 01001   5.3
2 01003   5.4
3 01005   8.6
4 01007   6.6
5 01009   5.5
6 01011   7.2

Data Used

Error in file(file, "rt") : 
  cannot open the connection to 'https://storage.googleapis.com/kagglesdsdata/datasets%2F579969%2F1374720%2Fus_county.csv?GoogleAccessId=gcp-kaggle-com@kaggle-161607.iam.gserviceaccount.com&Expires=1596139521&Signature=easqHBFZ757D%2F7LVyDM%2BF%2FIMU6l2OEY6giqVvIC0l0tSSe%2Fohq6NC%2FLFKbsIV6FdFALmPUqG9vATbg0cuRVVwGQMsoUOjlW%2BZLhTVluxbYh1dDE1MTFzWRpzlSH18ejIwqa61F0ARJ%2Bpq6ryIfJuE7wQQ1rOCEpaVB9m%2FP7QaZm2gBJeHYLXJXcvO8w1p0sEnqRsGAesg2Fgj%2Bv8unPGNtDJekEWuNbl1K9k7CAaZWjG2QQ94LB9tAPvfKqykDWDD7w6yN3YFkcfu7kUmjs0CybnMD6IP%2FM5hvJXuUTIie0MOMTWt5bIua4qcTHxIxR5l918y1H17JA2HHrnKLVY%2BA%3D%3D'