mirror of
https://github.com/kidwellj/re_connect_survey.git
synced 2025-01-09 14:42:21 +00:00
Analyses Prep/Data Cleaning
Created R Markdown with RH Tasks to begin to have consolidated file for graphs and plots code. Duplicated .xlsx data file in order to clean and upload to R for analyses and graph creation - replaced Likert questions with numerical equivalents for later analysis (higher score indicates more agreement)
This commit is contained in:
parent
9dcae35489
commit
00b7d5afb3
74
Connect Project R Markdown.Rmd
Normal file
74
Connect Project R Markdown.Rmd
Normal file
|
@ -0,0 +1,74 @@
|
|||
---
|
||||
title: "Connect Project"
|
||||
output: html_document
|
||||
---
|
||||
|
||||
```{r setup, include=FALSE}
|
||||
knitr::opts_chunk$set(echo = TRUE)
|
||||
```
|
||||
|
||||
## R Markdown
|
||||
|
||||
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>.
|
||||
|
||||
When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
|
||||
|
||||
```{r cars}
|
||||
summary(cars)
|
||||
```
|
||||
|
||||
## Including Plots
|
||||
|
||||
You can also embed plots, for example:
|
||||
|
||||
```{r pressure, echo=FALSE}
|
||||
plot(pressure)
|
||||
```
|
||||
|
||||
Note that the `echo = FALSE` parameter was added to the code chunk to prevent printing of the R code that generated the plot.
|
||||
|
||||
### To Do List
|
||||
|
||||
## Summary of Data
|
||||
Data summary/visualisation with subsetting:
|
||||
- RH: display simple summary of data (bar/pie chart) to Q25/26, Q3
|
||||
|
||||
#Frequencies#
|
||||
|
||||
```{r Q25 bar/pie}
|
||||
```
|
||||
|
||||
```{r Q26 bar/pie}
|
||||
```
|
||||
|
||||
```{r Q3 bar/pie}
|
||||
```
|
||||
|
||||
- RH: display summaries of responses to key questions for Q22 (syllabus evaluation), Q23, Q24, Q25, Q26, Q27, with subsetting by:
|
||||
- Q8 (school type)
|
||||
- Q9 (school size)
|
||||
- Q10 (school location)
|
||||
- Q1 (grade level) + Q35 (teaching role) + +Q5 (teaching proportion) Q2 (tenure) + and Q3 (subjects taught), + Q6/Q7 (management)
|
||||
- Q12-14 (school's official religion) / Q15-16 (school's informal religion)
|
||||
- Q21 (respondent personal religious background)
|
||||
- Q4 (teacher's degree subject)
|
||||
- Q18 (respondent gender)
|
||||
- Q19 (respondent ethnic self-desc)
|
||||
|
||||
```{r Plots}
|
||||
# Q22
|
||||
|
||||
# Q23
|
||||
|
||||
# Q24
|
||||
|
||||
# Q25
|
||||
|
||||
# Q26
|
||||
|
||||
# Q27
|
||||
```
|
||||
|
||||
Correlation testing:
|
||||
- RH: test for correlation between "social issue" box ticked on Q20 and responses to ??
|
||||
- RH: test for correlation between responses to religion questions: Q12-14, Q15-16 and Q21 and responses to Q22, Q23, Q24, Q25, Q27, Q30
|
BIN
data/.DS_Store
vendored
BIN
data/.DS_Store
vendored
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue