Additional guidance and the latest source code required to develop dynamic data visualisations using simple psychological data are listed below. For the complete tutorial, consult Ellis and Merdian (2015). The included examples illustrates the step-by-step development of an interactive visualisation using the Fear of Crime dataset.
The development of dynamic data visualizations can typically be split into four steps:
A: Data preparation
B: Creating static content to guide development
C: Development and testing
D: Deploying an application online
Sample code and datasets are provided below for each step at the bottom of this page:
A: Data preparation
Unprocessed raw data - raw_data
[scripts used to process raw data (requires SPSS)]
Data for visualization (contains key variables only) - processed_data
B: Creating static content to guide development
C: Development and testing
Example 1 - example1
Example 2 - example2
Example 3 (final version) - example3
D: Deploying an application online
Detailed guidelines can be found in our paper or directly from Shiny here
*=software required
R packages
**devtools
**rsconnect - installed from GitHub type the following into your R console devtools::install_github('rstudio/rsconnect')
**=only necessary for online deployment/NO LONGER REQUIRED IF USING R STUDIO