Skip to content

Commit

Permalink
Merge pull request #16 from lyiris22/master
Browse files Browse the repository at this point in the history
changes due to deploying
  • Loading branch information
rzitomer authored Jan 19, 2019
2 parents 534b17c + 183f76a commit c002836
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/shiny_app.R → crime-data-app/app.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
library(shiny)
library(tidyverse)
library(leaflet)
library(rsconnect)

# load data
dat <- read.csv('data/crime_lat_long.csv')
dat <- read.csv('crime_lat_long.csv')

# set crimes for select box input
crimes_list <- c("Total Crime" = "violent_per_100k",
Expand Down Expand Up @@ -38,6 +40,8 @@ ui <- fluidPage(
tabPanel(title = "Map", leafletOutput("mymap")),
tabPanel(title = "Single City",
plotOutput("line_chart"),
"Comparisions to national average (from the data) of the current year,",
"safety rank out of 67 cities:",
tableOutput("percentage_table"))
)
)
Expand Down
File renamed without changes.
10 changes: 10 additions & 0 deletions crime-data-app/rsconnect/shinyapps.io/lyiris22/crime-data-app.dcf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: crime-data-app
title:
username:
account: lyiris22
server: shinyapps.io
hostUrl: https://api.shinyapps.io/v1
appId: 655040
bundleId: 1823342
url: https://lyiris22.shinyapps.io/crime-data-app/
when: 1547861691.06993

0 comments on commit c002836

Please sign in to comment.