data_access.Rmd
Running the included shiny app will allow you to explore individual participants’ response patterns. It offers a way of getting a sense of what the data represents without mucking about with the data files themselves.
You can access an already-deployed version of the shiny app at https://richarddmorey.shinyapps.io/explore/.
The app will let you:
The cleaned data with text responses are made available in the package in the following objects.
Object | Description |
---|---|
christmas_stats_participants |
Summary information about each participant, including text responses |
christmas_stats_samples |
Every individual sample made by each participant |
text_coding |
The categorizations of each participant’s open-ended strategy text responses |
Because the original csv file downloaded from Qualtrics has the timestamped information for each experiment for each participant in it, the file is quite large. It is stored in compressed in a zip file in the subfolder inst/extdata/
to save space. You can load the original file in R using the command:
This will unzip the Qualtrics CSV file and check it against an MD5 hash. It will also do some light cleaning (filtering out non-respondents and rejected mobile users and filtering/renaming columns).
All analysis code is available as package functions, from initial cleaning to figures.
Function | Description |
---|---|
load_complete_dataset() |
Reads original data from csv file and performs initial filtering |
compile_complete_dataset() |
Compile the data, separating out the individual participant experimental samples and performing appropriate re-coding, etc. |
load_clean_dataset() |
Main cleaning of the data set to reduce the sample down to only those that will be analyzed |
load_text_responses() |
Load the text responses separately for convenience |