# NOT RUN {
## Read from data.frame:
itempool_science <- loadItemPool(itempool_science_data)
## Read from file: write to tempdir() for illustration and clean afterwards
f <- file.path(tempdir(), "itempool_science.csv")
write.csv(itempool_science_data, f, row.names = FALSE)
itempool_science <- loadItemPool(f)
file.remove(f)
## TestDesign 1.1.0 - Deprecated arguments
# }
# NOT RUN {
loadItemPool(ipar = "ipar.csv", ipar_se = "se.csv") # is equivalent to
loadItemPool(file = "ipar.csv", se_file = "se.csv") # pre 1.1.0
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab