library(conquestr)
library(tidyverse)
mydir <- "C:\\Users\\Mark\\Downloads"
myitanal <- cq_itanal(paste0(mydir, "\\Num_Y3.itn"))
myshow <- cq_show(paste0(mydir, "\\Num_Y3.shw"), fit = FALSE)
write_csv(myshow, paste0(mydir, "\\show.csv"))
myitanal %>%
select(-c(data, resp_stat)) %>%
write_csv(paste0(mydir, "\\itanal.csv"))
myitanal %>%
select(item_index, resp_stat) %>%
unnest() %>%
write_csv(paste0(mydir, "\\itanal_resp_stat.csv"))
Created on 2018-05-11 by the reprex package (v0.2.0).