Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/info370/project-jaakt
Browse files Browse the repository at this point in the history
  • Loading branch information
asrinagesh committed Dec 4, 2017
2 parents 48a8545 + 01ef033 commit bea8a18
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/server.R
Expand Up @@ -10,8 +10,9 @@
# Akash's Working Directory
# setwd("~/School/INFO370/project-jaakt/app/")
# Ari's Working Directory
#setwd("~/Desktop/school/info370/project-jaakt/app/")
setwd("~/Desktop/school/info370/project-jaakt/app/")
# Jill's Working Directory
#setwd("/Users/jillianhonrade/project-jaakt/app/")
# setwd("/Users/jillianhonrade/project-jaakt/app/")


Expand Down Expand Up @@ -51,6 +52,8 @@ shinyServer(function(input, output) {


selectedBreeds <- GetBreeds(userValues, 3)
breedPicDF <- read.csv(file = "../doganalysis/doggo-pictures.csv", stringsAsFactors = FALSE)

cat("Top 3 Breeds: \n")
cat(paste(selectedBreeds[,"Top"], collapse=", "))

Expand All @@ -73,7 +76,8 @@ shinyServer(function(input, output) {

Score <- GenerateScore(userValues)
cat("Should you get a dog? \n")
cat(paste0("Recomendation Score: ", Score,"\n"))
cat(paste0("Recomendation Score * : ", Score,"\n"))
cat(paste0("* This score is based on our analysis of benefits of dog ownership and factors of dog-compatability, while ths score is supported by data, one's experience with dog ownership is subjective and may differ. Our suggested breeds might not actually be the best breeds for you, and breeds we warn against might actually work well for you, depending on the many other personal factors."))
})


Expand Down

0 comments on commit bea8a18

Please sign in to comment.