Skip to content

Commit

Permalink
Merge pull request #708 from KingArthur0205/main
Browse files Browse the repository at this point in the history
PPSRS_Caliciuri_2024.r
  • Loading branch information
ben-domingue authored Nov 26, 2024
2 parents 0243d33 + bd7ed42 commit 90b4435
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions data/PPSRS_Caliciuri_2024.r
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Poster: https://www.researchgate.net/profile/Rossella-Caliciuri/publication/382182050_Psychometric_Properties_of_the_Scientific_Reasoning_Scale/links/6690f2a1b15ba55907539c5a/Psychometric-Properties-of-the-Scientific-Reasoning-Scale.pdf
# Data: https://osf.io/jk9dp/
library(haven)
library(dplyr)
library(tidyr)
library(openxlsx)

df <- read_sav("3. CFA&IRT_SRS (n=337).sav")
df <- df |>
select(ID, starts_with("SRS")) |>
rename(id=ID)
df <- pivot_longer(df, cols=-id, names_to = "item", values_to="resp")

save(df, file="PPSRS_Caliciuri_2024.Rdata")
write.csv(df, "PPSRS_Caliciuri_2024.csv", row.names=FALSE)

0 comments on commit 90b4435

Please sign in to comment.