Skip to content

Commit 75063ad

Browse files
author
=
committed
updated readme fixed bugs
1 parent 75304a0 commit 75063ad

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
1-
### UBC STAT 545B - Assignment B3
1+
### UBC STAT 545B - Assignment B3 & B4
22
##### Author: Joel Campbell
33

44
#### Description
55

6-
This github repository is for STAT 545B assignment b3.
6+
This github repository is for STAT 545B assignment b3 and b4.
77

88
This assignment consists of the creation of a shiny app that provides a quick and convenient method for the exploration of a UBC curated fungi dataset. This includes the ability to filter and sort the data, and an auto-updating count of the total number of results based on the filters chosen.
99

1010
The shiny app can be found at the following link: https://joelkcamp.shinyapps.io/UBCFungi/
1111

12+
#### Release 1.1
13+
14+
For assignment b4 I have added a multitude of features, including:
15+
- a separate tab for data visualization
16+
- two visualization methods (word cloud and bar chart)
17+
- the capability to download the visualizations as png files
18+
- an updated theme using a .css file
19+
- a small image in the title row
20+
1221

1322
#### Data
1423

app/app.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
library(shiny)
22
library(dplyr)
33
library(ggplot2)
4-
library(webshot)
4+
library(webshot2)
55
library(htmlwidgets)
66
library(wordcloud2)
77

@@ -275,7 +275,7 @@ server <- function(input, output) {
275275
temp_file <- tempfile(fileext = ".html")
276276
data <- filter_data()
277277
saveWidget(generate_word_cloud(data, input$visual_column), file = temp_file, selfcontained = TRUE)
278-
webshot(temp_file, file = file, vwidth = 800, vheight = 600, cliprect = "viewport")
278+
webshot2::webshot(temp_file, file = file, vwidth = 800, vheight = 600)
279279

280280
} else if (input$viz_type == "Bar Chart") {
281281

0 commit comments

Comments
 (0)