Hello all!
I was hoping I wouldn't have to post and come across the answers in someone else's request, but alas I failed to do so and am still struggling to properly run the R Code on a Qualtrics .csv file.
# load data from Qualtrics where user id is 'ResponseId', and the CSV is in Q_43'
df = read.csv('/Users/williamvanveen/Desktop/university/Masters Thesis/Data Analysis/Recruiter.csv')
# create list of CSV data frames
csvList = lapply(df[,'IAT.Gender.Career'], function(str) read.csv(text=str,stringsAsFactors = FALSE))
# add id to each data DF
dataPages = mapply(
function(id, df) cbind(id,df),
df[,'ResponseId'],
csvList,
SIMPLIFY = FALSE
)
# concat pages
do.call(rbind,dataPages)
Anyone have thoughts on what I should be doing to correct this? Is there a package that this requires that I might not have installed/loaded?