Skip to content

Commit

Permalink
Updated vignette links
Browse files Browse the repository at this point in the history
  • Loading branch information
jdtrat committed Jul 10, 2021
1 parent f4bcb5d commit fa795d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vignettes/get-survey-data.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ When I answer the survey and click submit, the following data frame is printed t

In order to generalize `getSurveyData()`, it has to account for input types that may return multiple values. For example, shiny's `checkboxGroupInput` returns a character vector whose values correspond to the checked boxes. In order to ensure that this, and other custom input extensions,[^3] work with `getSurveyData()`, I collapse responses into a single character vector separated by commas. Consider the following application:

[^3]: If you are unfamiliar with custom input types, please see [my blog post](https://jdtrat.com/blog/extending-shinysurveys/) introducing them or the [documentation](https://shinysurveys.jdtrat.com/articles/custom-input-extensions.html).
[^3]: If you are unfamiliar with custom input types, please see [my blog post](https://www.jdtrat.com/blog/extending-shinysurveys/) introducing them or the [documentation](https://shinysurveys.jdtrat.com/articles/custom-input-extensions.html).

```{r complex-example, eval = FALSE}
# Load packages
Expand Down
2 changes: 1 addition & 1 deletion vignettes/surveying-shinysurveys.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ As of v0.2.0., users can automatically aggergate response data upon submission w

### User Tracking

Built into the survey is the ability to track users based on URL parameters. If you deploy your survey on [shinyapps.io](shinyapps.io), or run it locally in a browser, you can add a URL parameter after the backslash as follows: `?user_id=12345`. A live demo can be found here: <https://jdtrat-apps.shinyapps.io/shinysurveys_user_tracking/?user_id=hadley>
Built into the survey is the ability to track users based on URL parameters. If you deploy your survey on [shinyapps.io](https://www.shinyapps.io/), or run it locally in a browser, you can add a URL parameter after the backslash as follows: `?user_id=12345`. A live demo can be found here: <https://jdtrat-apps.shinyapps.io/shinysurveys_user_tracking/?user_id=hadley>

# Conclusion

Expand Down

0 comments on commit fa795d0

Please sign in to comment.