You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -236,7 +236,7 @@ Note that creating the `summary` reactive isn't strictly necessary here, as it's
236
236
But it's good practice to keep computing and plotting separate as it makes the flow of the app easier to understand, and will make it easier to generalise in the future.
237
237
238
238
A screenshot of the resulting app is shown in Figure \@ref(fig:prototype).
239
-
You can find the source code at <https://github.com/hadley/mastering-shiny/tree/master/neiss/prototype.R> and try out a live version of the app at <https://hadley.shinyapps.io/ms-prototype/>.
239
+
You can find the source code at <https://github.com/hadley/mastering-shiny/tree/main/neiss/prototype.R> and try out a live version of the app at <https://hadley.shinyapps.io/ms-prototype/>.
@@ -272,7 +272,7 @@ I made one other change to improve the aesthetics of the app: I forced all table
272
272
This makes the output more aesthetically pleasing because it reduces the amount of incidental variation.
273
273
274
274
A screenshot of the resulting app is shown in Figure \@ref(fig:polish-tables).
275
-
You can find the source code at <https://github.com/hadley/mastering-shiny/tree/master/neiss/polish-tables.R> and try out a live version of the app at <https://hadley.shinyapps.io/ms-polish-tables>.
275
+
You can find the source code at <https://github.com/hadley/mastering-shiny/tree/main/neiss/polish-tables.R> and try out a live version of the app at <https://hadley.shinyapps.io/ms-polish-tables>.
276
276
277
277
```{r polish-tables, echo = FALSE, out.width = "100%", fig.cap="The second iteration of the app improves the display by only showing the most frequent rows in the summary tables"}
278
278
case_study_screenshot("polish-tables")
@@ -295,7 +295,7 @@ Then I condition on that input when generating the plot:
295
295
```
296
296
297
297
A screenshot of the resulting app is shown in Figure \@ref(fig:rate-vs-count).
298
-
You can find the source code at <https://github.com/hadley/mastering-shiny/tree/master/neiss/rate-vs-count.R> and try out a live version of the app at <https://hadley.shinyapps.io/ms-rate-vs-count>.
298
+
You can find the source code at <https://github.com/hadley/mastering-shiny/tree/main/neiss/rate-vs-count.R> and try out a live version of the app at <https://hadley.shinyapps.io/ms-rate-vs-count>.
299
299
300
300
```{r rate-vs-count, echo = FALSE, out.width = "100%", fig.cap = "In this iteration, we give the user the ability to switch between displaying the count or the population standardised rate on the y-axis."}
301
301
case_study_screenshot("rate-vs-count")
@@ -319,7 +319,7 @@ I then use `eventReactive()` to create a reactive that only updates when the but
319
319
```
320
320
321
321
A screenshot of the resulting app is shown in Figure \@ref(fig:narrative).
322
-
You can find the source code at <https://github.com/hadley/mastering-shiny/tree/master/neiss/narrative.R> and try out a live version of the app at <https://hadley.shinyapps.io/ms-narrative>.
322
+
You can find the source code at <https://github.com/hadley/mastering-shiny/tree/main/neiss/narrative.R> and try out a live version of the app at <https://hadley.shinyapps.io/ms-narrative>.
323
323
324
324
```{r narrative, echo = FALSE, out.width = "100%", fig.cap = "The final iteration adds the ability to pull out a random narrative from the selected rows"}
0 commit comments