How to save the results in one file?


Author
Message
gabriela.bulka
gabriela.bulka
Associate Member (50 reputation)Associate Member (50 reputation)Associate Member (50 reputation)Associate Member (50 reputation)Associate Member (50 reputation)Associate Member (50 reputation)Associate Member (50 reputation)Associate Member (50 reputation)Associate Member (50 reputation)
Group: Forum Members
Posts: 4, Visits: 23
Hi,
I would be really grateful for your help!
My study in Inquisit 5 consists of 3 parts: a demographic survey, IAT and three final questions. I would like the results to be saved in one file, because currently from each part of the survey are saved separately. This is data and summarydate that are in my code:


<data>
/ columns = (build, computer.platform, date, time, group, subject, blockcode, blocknum, trialcode, trialnum, response, correct, latency,
stimulusnumber, stimulusitem, expressions.da, expressions.db, expressions.d, expressions.percentcorrect)
/ separatefiles = true
</data>

<summarydata>
/ columns = (script.startdate, script.starttime, script.subjectid, script.groupid, script.elapsedtime, computer.platform, values.completed,
expressions.da, expressions.db, expressions.d, expressions.percentcorrect)
/ separatefiles = true
</summarydata>

That is the demographic survey:

<parameters>
/demographicpageinstructions = "Proszę odpowiedzieć na pytania dotyczące danych demograficznych."
/quitinstructions = "Aby w dowolnym momencie opuścić badanie, naciśnij klawisze Alt+E."
</parameters>

<radiobuttons gender>
/caption = "Płeć:"
/ options = ("Kobieta",
"Mężczyzna",
"Inna",
"Osoba niebinarna",
"Wolę nie odpowiadać")
/required = true
/orientation = vertical
</radiobuttons>

<textbox age>
/ caption = "Wiek (tylko liczba w latach np. 25):"
/ mask = positiveinteger
/ range = (18, 90)
/required = true
</textbox>

<radiobuttons education>
/caption = "Wykształcenie:"
/ options = ( 
"Podstawowe",
"Zawodowe",
"Średnie",
"Wyższe niepełne (w trakcie studiów)",
"Wyższe")
/required = true
/orientation = vertical
</radiobuttons>

<radiobuttons residence>
/caption = "Miejsce zamieszkania:"
/options = (
"Miasto powyżej 500 tys. mieszkańców",
"Miasto od 150 tys. do 500 tys. mieszkańców",
"Miasto od 50 tys. do 150 tys. mieszkańców",
"Miasto do 50 tys. mieszkańców",
"Wieś")
/required = true
</radiobuttons>


<surveypage Demographics1>
/caption ="<%parameters.demographicpageinstructions%>"
/questions = [1 = gender, age]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

<surveypage Demographics2>
/caption ="<%parameters.demographicpageinstructions%>"
/questions = [1 = education, residence]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>


<survey Demographics>
/pages = [
    1 = Demographics1;
    2 = Demographics2
]
/onblockend = [values.completed = 1]
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1)
/ navigationbuttonfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ navigationbuttonsize = (15%, 5%)
/ nextbuttonposition = (70%, 90%)
/ finishlabel = "Dalej"
/ nextlabel = "Dalej"
/ showbackbutton = false

</survey>

<expt>
/blocks = [1 = Consent; 2 = Demographics]
</expt>

and final questions:
<radiobuttons productFrequency>
/caption = "Jak często kupujesz produkty menstruacyjne?"
/options = ("Nigdy",
    "Rzadziej niż raz na kilka miesięcy",
    "Raz na kilka miesięcy",
    "Raz w miesiącu",
    "Częściej niż raz w miesiącu")
/required = true
/orientation = vertical
</radiobuttons>

<checkboxes menstruationProducts>
/caption = "Z jakich produktów menstruacyjnych korzystasz?"
/options = ("Podpaski jednorazowe",
"Podpaski wielorazowe",
    "Tampony",
    "Kubeczki menstruacyjne",
    "Majtki menstruacyjne",
    "Wkładki higieniczne",
            "Gąbki menstruacyjne",
            "Podpaski wielorazowe",
            "Inne",
            "Nie korzystam")
/required = true
/orientation = vertical
</checkboxes>

<radiobuttons samopoczucie>
/caption = "Jak oceniasz swoje samopoczucie?"
/options = ("Bardzo źle", "Źle", "Średnio", "Dobrze", "Bardzo dobrze")
/required = true
/orientation = vertical
</radiobuttons>

<surveypage ClientStatusPage>
/caption = "Proszę zaznaczyć odpowiedzi:"
/questions = [1 = productFrequency; 2 = menstruationProducts]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

<surveypage SamopoczuciePage>
/questions = [1 = samopoczucie]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>


<surveypage ThankYouPage>
/ caption = "Bardzo dziękuję za udział w badaniu!
Kontakt: gbulka@st.swps.edu.pl"
/ txcolor = green
/ showpagenumbers = false
/ showquestionnumbers = false
</surveypage>

<survey ClientStatusSurvey>
/pages = [
    1 = ClientStatusPage;
    2 = SamopoczuciePage;
    3 = ThankYouPage
]
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ itemfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1)
/ navigationbuttonfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ navigationbuttonsize = (15%, 5%)
/ nextbuttonposition = (70%, 90%)
/ finishlabel = "Zakończ"
/ nextlabel = "Dalej"
/ showbackbutton = false
</survey>

Is it possible to integrate these parts to be in one file? Plus in a format for SPSS? Thanks!
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
gabriela.bulka - 10/25/2024
Hi,
I would be really grateful for your help!
My study in Inquisit 5 consists of 3 parts: a demographic survey, IAT and three final questions. I would like the results to be saved in one file, because currently from each part of the survey are saved separately. This is data and summarydate that are in my code:


<data>
/ columns = (build, computer.platform, date, time, group, subject, blockcode, blocknum, trialcode, trialnum, response, correct, latency,
stimulusnumber, stimulusitem, expressions.da, expressions.db, expressions.d, expressions.percentcorrect)
/ separatefiles = true
</data>

<summarydata>
/ columns = (script.startdate, script.starttime, script.subjectid, script.groupid, script.elapsedtime, computer.platform, values.completed,
expressions.da, expressions.db, expressions.d, expressions.percentcorrect)
/ separatefiles = true
</summarydata>

That is the demographic survey:

<parameters>
/demographicpageinstructions = "Proszę odpowiedzieć na pytania dotyczące danych demograficznych."
/quitinstructions = "Aby w dowolnym momencie opuścić badanie, naciśnij klawisze Alt+E."
</parameters>

<radiobuttons gender>
/caption = "Płeć:"
/ options = ("Kobieta",
"Mężczyzna",
"Inna",
"Osoba niebinarna",
"Wolę nie odpowiadać")
/required = true
/orientation = vertical
</radiobuttons>

<textbox age>
/ caption = "Wiek (tylko liczba w latach np. 25):"
/ mask = positiveinteger
/ range = (18, 90)
/required = true
</textbox>

<radiobuttons education>
/caption = "Wykształcenie:"
/ options = ( 
"Podstawowe",
"Zawodowe",
"Średnie",
"Wyższe niepełne (w trakcie studiów)",
"Wyższe")
/required = true
/orientation = vertical
</radiobuttons>

<radiobuttons residence>
/caption = "Miejsce zamieszkania:"
/options = (
"Miasto powyżej 500 tys. mieszkańców",
"Miasto od 150 tys. do 500 tys. mieszkańców",
"Miasto od 50 tys. do 150 tys. mieszkańców",
"Miasto do 50 tys. mieszkańców",
"Wieś")
/required = true
</radiobuttons>


<surveypage Demographics1>
/caption ="<%parameters.demographicpageinstructions%>"
/questions = [1 = gender, age]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

<surveypage Demographics2>
/caption ="<%parameters.demographicpageinstructions%>"
/questions = [1 = education, residence]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>


<survey Demographics>
/pages = [
    1 = Demographics1;
    2 = Demographics2
]
/onblockend = [values.completed = 1]
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1)
/ navigationbuttonfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ navigationbuttonsize = (15%, 5%)
/ nextbuttonposition = (70%, 90%)
/ finishlabel = "Dalej"
/ nextlabel = "Dalej"
/ showbackbutton = false

</survey>

<expt>
/blocks = [1 = Consent; 2 = Demographics]
</expt>

and final questions:
<radiobuttons productFrequency>
/caption = "Jak często kupujesz produkty menstruacyjne?"
/options = ("Nigdy",
    "Rzadziej niż raz na kilka miesięcy",
    "Raz na kilka miesięcy",
    "Raz w miesiącu",
    "Częściej niż raz w miesiącu")
/required = true
/orientation = vertical
</radiobuttons>

<checkboxes menstruationProducts>
/caption = "Z jakich produktów menstruacyjnych korzystasz?"
/options = ("Podpaski jednorazowe",
"Podpaski wielorazowe",
    "Tampony",
    "Kubeczki menstruacyjne",
    "Majtki menstruacyjne",
    "Wkładki higieniczne",
            "Gąbki menstruacyjne",
            "Podpaski wielorazowe",
            "Inne",
            "Nie korzystam")
/required = true
/orientation = vertical
</checkboxes>

<radiobuttons samopoczucie>
/caption = "Jak oceniasz swoje samopoczucie?"
/options = ("Bardzo źle", "Źle", "Średnio", "Dobrze", "Bardzo dobrze")
/required = true
/orientation = vertical
</radiobuttons>

<surveypage ClientStatusPage>
/caption = "Proszę zaznaczyć odpowiedzi:"
/questions = [1 = productFrequency; 2 = menstruationProducts]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

<surveypage SamopoczuciePage>
/questions = [1 = samopoczucie]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>


<surveypage ThankYouPage>
/ caption = "Bardzo dziękuję za udział w badaniu!
Kontakt: gbulka@st.swps.edu.pl"
/ txcolor = green
/ showpagenumbers = false
/ showquestionnumbers = false
</surveypage>

<survey ClientStatusSurvey>
/pages = [
    1 = ClientStatusPage;
    2 = SamopoczuciePage;
    3 = ThankYouPage
]
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ itemfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1)
/ navigationbuttonfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ navigationbuttonsize = (15%, 5%)
/ nextbuttonposition = (70%, 90%)
/ finishlabel = "Zakończ"
/ nextlabel = "Dalej"
/ showbackbutton = false
</survey>

Is it possible to integrate these parts to be in one file? Plus in a format for SPSS? Thanks!

<survey> elements *always* go into their own data files, for the simple reason that the data format -- a single row, columsn for each question -- is different than for <block>s -- multiple rows, one per trial.

If you don't want that, run your surveypages via <block> elements. A <surveypage> is a special type of <trial>, just like a <survey> is a special type of <block>.

For summary data, simply add the properties you're interested in to the <summarydata> element's /columns. E.g. if you want to log the response to the gender question logged to summary data, add radiobuttons.gender.response

gabriela.bulka
gabriela.bulka
Associate Member (50 reputation)Associate Member (50 reputation)Associate Member (50 reputation)Associate Member (50 reputation)Associate Member (50 reputation)Associate Member (50 reputation)Associate Member (50 reputation)Associate Member (50 reputation)Associate Member (50 reputation)
Group: Forum Members
Posts: 4, Visits: 23
Dave - 10/25/2024
gabriela.bulka - 10/25/2024
Hi,
I would be really grateful for your help!
My study in Inquisit 5 consists of 3 parts: a demographic survey, IAT and three final questions. I would like the results to be saved in one file, because currently from each part of the survey are saved separately. This is data and summarydate that are in my code:


<data>
/ columns = (build, computer.platform, date, time, group, subject, blockcode, blocknum, trialcode, trialnum, response, correct, latency,
stimulusnumber, stimulusitem, expressions.da, expressions.db, expressions.d, expressions.percentcorrect)
/ separatefiles = true
</data>

<summarydata>
/ columns = (script.startdate, script.starttime, script.subjectid, script.groupid, script.elapsedtime, computer.platform, values.completed,
expressions.da, expressions.db, expressions.d, expressions.percentcorrect)
/ separatefiles = true
</summarydata>

That is the demographic survey:

<parameters>
/demographicpageinstructions = "Proszę odpowiedzieć na pytania dotyczące danych demograficznych."
/quitinstructions = "Aby w dowolnym momencie opuścić badanie, naciśnij klawisze Alt+E."
</parameters>

<radiobuttons gender>
/caption = "Płeć:"
/ options = ("Kobieta",
"Mężczyzna",
"Inna",
"Osoba niebinarna",
"Wolę nie odpowiadać")
/required = true
/orientation = vertical
</radiobuttons>

<textbox age>
/ caption = "Wiek (tylko liczba w latach np. 25):"
/ mask = positiveinteger
/ range = (18, 90)
/required = true
</textbox>

<radiobuttons education>
/caption = "Wykształcenie:"
/ options = ( 
"Podstawowe",
"Zawodowe",
"Średnie",
"Wyższe niepełne (w trakcie studiów)",
"Wyższe")
/required = true
/orientation = vertical
</radiobuttons>

<radiobuttons residence>
/caption = "Miejsce zamieszkania:"
/options = (
"Miasto powyżej 500 tys. mieszkańców",
"Miasto od 150 tys. do 500 tys. mieszkańców",
"Miasto od 50 tys. do 150 tys. mieszkańców",
"Miasto do 50 tys. mieszkańców",
"Wieś")
/required = true
</radiobuttons>


<surveypage Demographics1>
/caption ="<%parameters.demographicpageinstructions%>"
/questions = [1 = gender, age]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

<surveypage Demographics2>
/caption ="<%parameters.demographicpageinstructions%>"
/questions = [1 = education, residence]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>


<survey Demographics>
/pages = [
    1 = Demographics1;
    2 = Demographics2
]
/onblockend = [values.completed = 1]
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1)
/ navigationbuttonfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ navigationbuttonsize = (15%, 5%)
/ nextbuttonposition = (70%, 90%)
/ finishlabel = "Dalej"
/ nextlabel = "Dalej"
/ showbackbutton = false

</survey>

<expt>
/blocks = [1 = Consent; 2 = Demographics]
</expt>

and final questions:
<radiobuttons productFrequency>
/caption = "Jak często kupujesz produkty menstruacyjne?"
/options = ("Nigdy",
    "Rzadziej niż raz na kilka miesięcy",
    "Raz na kilka miesięcy",
    "Raz w miesiącu",
    "Częściej niż raz w miesiącu")
/required = true
/orientation = vertical
</radiobuttons>

<checkboxes menstruationProducts>
/caption = "Z jakich produktów menstruacyjnych korzystasz?"
/options = ("Podpaski jednorazowe",
"Podpaski wielorazowe",
    "Tampony",
    "Kubeczki menstruacyjne",
    "Majtki menstruacyjne",
    "Wkładki higieniczne",
            "Gąbki menstruacyjne",
            "Podpaski wielorazowe",
            "Inne",
            "Nie korzystam")
/required = true
/orientation = vertical
</checkboxes>

<radiobuttons samopoczucie>
/caption = "Jak oceniasz swoje samopoczucie?"
/options = ("Bardzo źle", "Źle", "Średnio", "Dobrze", "Bardzo dobrze")
/required = true
/orientation = vertical
</radiobuttons>

<surveypage ClientStatusPage>
/caption = "Proszę zaznaczyć odpowiedzi:"
/questions = [1 = productFrequency; 2 = menstruationProducts]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

<surveypage SamopoczuciePage>
/questions = [1 = samopoczucie]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>


<surveypage ThankYouPage>
/ caption = "Bardzo dziękuję za udział w badaniu!
Kontakt: gbulka@st.swps.edu.pl"
/ txcolor = green
/ showpagenumbers = false
/ showquestionnumbers = false
</surveypage>

<survey ClientStatusSurvey>
/pages = [
    1 = ClientStatusPage;
    2 = SamopoczuciePage;
    3 = ThankYouPage
]
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ itemfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1)
/ navigationbuttonfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ navigationbuttonsize = (15%, 5%)
/ nextbuttonposition = (70%, 90%)
/ finishlabel = "Zakończ"
/ nextlabel = "Dalej"
/ showbackbutton = false
</survey>

Is it possible to integrate these parts to be in one file? Plus in a format for SPSS? Thanks!

<survey> elements *always* go into their own data files, for the simple reason that the data format -- a single row, columsn for each question -- is different than for <block>s -- multiple rows, one per trial.

If you don't want that, run your surveypages via <block> elements. A <surveypage> is a special type of <trial>, just like a <survey> is a special type of <block>.

For summary data, simply add the properties you're interested in to the <summarydata> element's /columns. E.g. if you want to log the response to the gender question logged to summary data, add radiobuttons.gender.response

Thank you very much!!! and what next if I have several summary date response files how do I combine that and upload it to SPSS?
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
gabriela.bulka - 10/25/2024
Dave - 10/25/2024
gabriela.bulka - 10/25/2024
Hi,
I would be really grateful for your help!
My study in Inquisit 5 consists of 3 parts: a demographic survey, IAT and three final questions. I would like the results to be saved in one file, because currently from each part of the survey are saved separately. This is data and summarydate that are in my code:


<data>
/ columns = (build, computer.platform, date, time, group, subject, blockcode, blocknum, trialcode, trialnum, response, correct, latency,
stimulusnumber, stimulusitem, expressions.da, expressions.db, expressions.d, expressions.percentcorrect)
/ separatefiles = true
</data>

<summarydata>
/ columns = (script.startdate, script.starttime, script.subjectid, script.groupid, script.elapsedtime, computer.platform, values.completed,
expressions.da, expressions.db, expressions.d, expressions.percentcorrect)
/ separatefiles = true
</summarydata>

That is the demographic survey:

<parameters>
/demographicpageinstructions = "Proszę odpowiedzieć na pytania dotyczące danych demograficznych."
/quitinstructions = "Aby w dowolnym momencie opuścić badanie, naciśnij klawisze Alt+E."
</parameters>

<radiobuttons gender>
/caption = "Płeć:"
/ options = ("Kobieta",
"Mężczyzna",
"Inna",
"Osoba niebinarna",
"Wolę nie odpowiadać")
/required = true
/orientation = vertical
</radiobuttons>

<textbox age>
/ caption = "Wiek (tylko liczba w latach np. 25):"
/ mask = positiveinteger
/ range = (18, 90)
/required = true
</textbox>

<radiobuttons education>
/caption = "Wykształcenie:"
/ options = ( 
"Podstawowe",
"Zawodowe",
"Średnie",
"Wyższe niepełne (w trakcie studiów)",
"Wyższe")
/required = true
/orientation = vertical
</radiobuttons>

<radiobuttons residence>
/caption = "Miejsce zamieszkania:"
/options = (
"Miasto powyżej 500 tys. mieszkańców",
"Miasto od 150 tys. do 500 tys. mieszkańców",
"Miasto od 50 tys. do 150 tys. mieszkańców",
"Miasto do 50 tys. mieszkańców",
"Wieś")
/required = true
</radiobuttons>


<surveypage Demographics1>
/caption ="<%parameters.demographicpageinstructions%>"
/questions = [1 = gender, age]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

<surveypage Demographics2>
/caption ="<%parameters.demographicpageinstructions%>"
/questions = [1 = education, residence]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>


<survey Demographics>
/pages = [
    1 = Demographics1;
    2 = Demographics2
]
/onblockend = [values.completed = 1]
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1)
/ navigationbuttonfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ navigationbuttonsize = (15%, 5%)
/ nextbuttonposition = (70%, 90%)
/ finishlabel = "Dalej"
/ nextlabel = "Dalej"
/ showbackbutton = false

</survey>

<expt>
/blocks = [1 = Consent; 2 = Demographics]
</expt>

and final questions:
<radiobuttons productFrequency>
/caption = "Jak często kupujesz produkty menstruacyjne?"
/options = ("Nigdy",
    "Rzadziej niż raz na kilka miesięcy",
    "Raz na kilka miesięcy",
    "Raz w miesiącu",
    "Częściej niż raz w miesiącu")
/required = true
/orientation = vertical
</radiobuttons>

<checkboxes menstruationProducts>
/caption = "Z jakich produktów menstruacyjnych korzystasz?"
/options = ("Podpaski jednorazowe",
"Podpaski wielorazowe",
    "Tampony",
    "Kubeczki menstruacyjne",
    "Majtki menstruacyjne",
    "Wkładki higieniczne",
            "Gąbki menstruacyjne",
            "Podpaski wielorazowe",
            "Inne",
            "Nie korzystam")
/required = true
/orientation = vertical
</checkboxes>

<radiobuttons samopoczucie>
/caption = "Jak oceniasz swoje samopoczucie?"
/options = ("Bardzo źle", "Źle", "Średnio", "Dobrze", "Bardzo dobrze")
/required = true
/orientation = vertical
</radiobuttons>

<surveypage ClientStatusPage>
/caption = "Proszę zaznaczyć odpowiedzi:"
/questions = [1 = productFrequency; 2 = menstruationProducts]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

<surveypage SamopoczuciePage>
/questions = [1 = samopoczucie]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>


<surveypage ThankYouPage>
/ caption = "Bardzo dziękuję za udział w badaniu!
Kontakt: gbulka@st.swps.edu.pl"
/ txcolor = green
/ showpagenumbers = false
/ showquestionnumbers = false
</surveypage>

<survey ClientStatusSurvey>
/pages = [
    1 = ClientStatusPage;
    2 = SamopoczuciePage;
    3 = ThankYouPage
]
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ itemfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1)
/ navigationbuttonfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ navigationbuttonsize = (15%, 5%)
/ nextbuttonposition = (70%, 90%)
/ finishlabel = "Zakończ"
/ nextlabel = "Dalej"
/ showbackbutton = false
</survey>

Is it possible to integrate these parts to be in one file? Plus in a format for SPSS? Thanks!

<survey> elements *always* go into their own data files, for the simple reason that the data format -- a single row, columsn for each question -- is different than for <block>s -- multiple rows, one per trial.

If you don't want that, run your surveypages via <block> elements. A <surveypage> is a special type of <trial>, just like a <survey> is a special type of <block>.

For summary data, simply add the properties you're interested in to the <summarydata> element's /columns. E.g. if you want to log the response to the gender question logged to summary data, add radiobuttons.gender.response

Thank you very much!!! and what next if I have several summary date response files how do I combine that and upload it to SPSS?

https://www.millisecond.com/support/docs/v5/html/howto/howtocombinedata.htm

IQDAT files are simple, tab-delimited text files. Any spreadsheet or statistical analysis application can import them easily. Refer to the SPSS documentation regarding importing data from text files.
gabriela.bulka
gabriela.bulka
Associate Member (50 reputation)Associate Member (50 reputation)Associate Member (50 reputation)Associate Member (50 reputation)Associate Member (50 reputation)Associate Member (50 reputation)Associate Member (50 reputation)Associate Member (50 reputation)Associate Member (50 reputation)
Group: Forum Members
Posts: 4, Visits: 23
Dave - 10/25/2024
gabriela.bulka - 10/25/2024
Dave - 10/25/2024
gabriela.bulka - 10/25/2024
Hi,
I would be really grateful for your help!
My study in Inquisit 5 consists of 3 parts: a demographic survey, IAT and three final questions. I would like the results to be saved in one file, because currently from each part of the survey are saved separately. This is data and summarydate that are in my code:


<data>
/ columns = (build, computer.platform, date, time, group, subject, blockcode, blocknum, trialcode, trialnum, response, correct, latency,
stimulusnumber, stimulusitem, expressions.da, expressions.db, expressions.d, expressions.percentcorrect)
/ separatefiles = true
</data>

<summarydata>
/ columns = (script.startdate, script.starttime, script.subjectid, script.groupid, script.elapsedtime, computer.platform, values.completed,
expressions.da, expressions.db, expressions.d, expressions.percentcorrect)
/ separatefiles = true
</summarydata>

That is the demographic survey:

<parameters>
/demographicpageinstructions = "Proszę odpowiedzieć na pytania dotyczące danych demograficznych."
/quitinstructions = "Aby w dowolnym momencie opuścić badanie, naciśnij klawisze Alt+E."
</parameters>

<radiobuttons gender>
/caption = "Płeć:"
/ options = ("Kobieta",
"Mężczyzna",
"Inna",
"Osoba niebinarna",
"Wolę nie odpowiadać")
/required = true
/orientation = vertical
</radiobuttons>

<textbox age>
/ caption = "Wiek (tylko liczba w latach np. 25):"
/ mask = positiveinteger
/ range = (18, 90)
/required = true
</textbox>

<radiobuttons education>
/caption = "Wykształcenie:"
/ options = ( 
"Podstawowe",
"Zawodowe",
"Średnie",
"Wyższe niepełne (w trakcie studiów)",
"Wyższe")
/required = true
/orientation = vertical
</radiobuttons>

<radiobuttons residence>
/caption = "Miejsce zamieszkania:"
/options = (
"Miasto powyżej 500 tys. mieszkańców",
"Miasto od 150 tys. do 500 tys. mieszkańców",
"Miasto od 50 tys. do 150 tys. mieszkańców",
"Miasto do 50 tys. mieszkańców",
"Wieś")
/required = true
</radiobuttons>


<surveypage Demographics1>
/caption ="<%parameters.demographicpageinstructions%>"
/questions = [1 = gender, age]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

<surveypage Demographics2>
/caption ="<%parameters.demographicpageinstructions%>"
/questions = [1 = education, residence]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>


<survey Demographics>
/pages = [
    1 = Demographics1;
    2 = Demographics2
]
/onblockend = [values.completed = 1]
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1)
/ navigationbuttonfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ navigationbuttonsize = (15%, 5%)
/ nextbuttonposition = (70%, 90%)
/ finishlabel = "Dalej"
/ nextlabel = "Dalej"
/ showbackbutton = false

</survey>

<expt>
/blocks = [1 = Consent; 2 = Demographics]
</expt>

and final questions:
<radiobuttons productFrequency>
/caption = "Jak często kupujesz produkty menstruacyjne?"
/options = ("Nigdy",
    "Rzadziej niż raz na kilka miesięcy",
    "Raz na kilka miesięcy",
    "Raz w miesiącu",
    "Częściej niż raz w miesiącu")
/required = true
/orientation = vertical
</radiobuttons>

<checkboxes menstruationProducts>
/caption = "Z jakich produktów menstruacyjnych korzystasz?"
/options = ("Podpaski jednorazowe",
"Podpaski wielorazowe",
    "Tampony",
    "Kubeczki menstruacyjne",
    "Majtki menstruacyjne",
    "Wkładki higieniczne",
            "Gąbki menstruacyjne",
            "Podpaski wielorazowe",
            "Inne",
            "Nie korzystam")
/required = true
/orientation = vertical
</checkboxes>

<radiobuttons samopoczucie>
/caption = "Jak oceniasz swoje samopoczucie?"
/options = ("Bardzo źle", "Źle", "Średnio", "Dobrze", "Bardzo dobrze")
/required = true
/orientation = vertical
</radiobuttons>

<surveypage ClientStatusPage>
/caption = "Proszę zaznaczyć odpowiedzi:"
/questions = [1 = productFrequency; 2 = menstruationProducts]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

<surveypage SamopoczuciePage>
/questions = [1 = samopoczucie]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>


<surveypage ThankYouPage>
/ caption = "Bardzo dziękuję za udział w badaniu!
Kontakt: gbulka@st.swps.edu.pl"
/ txcolor = green
/ showpagenumbers = false
/ showquestionnumbers = false
</surveypage>

<survey ClientStatusSurvey>
/pages = [
    1 = ClientStatusPage;
    2 = SamopoczuciePage;
    3 = ThankYouPage
]
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ itemfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1)
/ navigationbuttonfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ navigationbuttonsize = (15%, 5%)
/ nextbuttonposition = (70%, 90%)
/ finishlabel = "Zakończ"
/ nextlabel = "Dalej"
/ showbackbutton = false
</survey>

Is it possible to integrate these parts to be in one file? Plus in a format for SPSS? Thanks!

<survey> elements *always* go into their own data files, for the simple reason that the data format -- a single row, columsn for each question -- is different than for <block>s -- multiple rows, one per trial.

If you don't want that, run your surveypages via <block> elements. A <surveypage> is a special type of <trial>, just like a <survey> is a special type of <block>.

For summary data, simply add the properties you're interested in to the <summarydata> element's /columns. E.g. if you want to log the response to the gender question logged to summary data, add radiobuttons.gender.response

Thank you very much!!! and what next if I have several summary date response files how do I combine that and upload it to SPSS?

https://www.millisecond.com/support/docs/v5/html/howto/howtocombinedata.htm

IQDAT files are simple, tab-delimited text files. Any spreadsheet or statistical analysis application can import them easily. Refer to the SPSS documentation regarding importing data from text files.

Thank you, I really appreciate. I have the last quesion. I would like to assign numerical values to the answers.  For example, if someone indicates the gender female I would like the number 1 in the summary date instead.
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
gabriela.bulka - 10/25/2024
Dave - 10/25/2024
gabriela.bulka - 10/25/2024
Dave - 10/25/2024
gabriela.bulka - 10/25/2024
Hi,
I would be really grateful for your help!
My study in Inquisit 5 consists of 3 parts: a demographic survey, IAT and three final questions. I would like the results to be saved in one file, because currently from each part of the survey are saved separately. This is data and summarydate that are in my code:


<data>
/ columns = (build, computer.platform, date, time, group, subject, blockcode, blocknum, trialcode, trialnum, response, correct, latency,
stimulusnumber, stimulusitem, expressions.da, expressions.db, expressions.d, expressions.percentcorrect)
/ separatefiles = true
</data>

<summarydata>
/ columns = (script.startdate, script.starttime, script.subjectid, script.groupid, script.elapsedtime, computer.platform, values.completed,
expressions.da, expressions.db, expressions.d, expressions.percentcorrect)
/ separatefiles = true
</summarydata>

That is the demographic survey:

<parameters>
/demographicpageinstructions = "Proszę odpowiedzieć na pytania dotyczące danych demograficznych."
/quitinstructions = "Aby w dowolnym momencie opuścić badanie, naciśnij klawisze Alt+E."
</parameters>

<radiobuttons gender>
/caption = "Płeć:"
/ options = ("Kobieta",
"Mężczyzna",
"Inna",
"Osoba niebinarna",
"Wolę nie odpowiadać")
/required = true
/orientation = vertical
</radiobuttons>

<textbox age>
/ caption = "Wiek (tylko liczba w latach np. 25):"
/ mask = positiveinteger
/ range = (18, 90)
/required = true
</textbox>

<radiobuttons education>
/caption = "Wykształcenie:"
/ options = ( 
"Podstawowe",
"Zawodowe",
"Średnie",
"Wyższe niepełne (w trakcie studiów)",
"Wyższe")
/required = true
/orientation = vertical
</radiobuttons>

<radiobuttons residence>
/caption = "Miejsce zamieszkania:"
/options = (
"Miasto powyżej 500 tys. mieszkańców",
"Miasto od 150 tys. do 500 tys. mieszkańców",
"Miasto od 50 tys. do 150 tys. mieszkańców",
"Miasto do 50 tys. mieszkańców",
"Wieś")
/required = true
</radiobuttons>


<surveypage Demographics1>
/caption ="<%parameters.demographicpageinstructions%>"
/questions = [1 = gender, age]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

<surveypage Demographics2>
/caption ="<%parameters.demographicpageinstructions%>"
/questions = [1 = education, residence]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>


<survey Demographics>
/pages = [
    1 = Demographics1;
    2 = Demographics2
]
/onblockend = [values.completed = 1]
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1)
/ navigationbuttonfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ navigationbuttonsize = (15%, 5%)
/ nextbuttonposition = (70%, 90%)
/ finishlabel = "Dalej"
/ nextlabel = "Dalej"
/ showbackbutton = false

</survey>

<expt>
/blocks = [1 = Consent; 2 = Demographics]
</expt>

and final questions:
<radiobuttons productFrequency>
/caption = "Jak często kupujesz produkty menstruacyjne?"
/options = ("Nigdy",
    "Rzadziej niż raz na kilka miesięcy",
    "Raz na kilka miesięcy",
    "Raz w miesiącu",
    "Częściej niż raz w miesiącu")
/required = true
/orientation = vertical
</radiobuttons>

<checkboxes menstruationProducts>
/caption = "Z jakich produktów menstruacyjnych korzystasz?"
/options = ("Podpaski jednorazowe",
"Podpaski wielorazowe",
    "Tampony",
    "Kubeczki menstruacyjne",
    "Majtki menstruacyjne",
    "Wkładki higieniczne",
            "Gąbki menstruacyjne",
            "Podpaski wielorazowe",
            "Inne",
            "Nie korzystam")
/required = true
/orientation = vertical
</checkboxes>

<radiobuttons samopoczucie>
/caption = "Jak oceniasz swoje samopoczucie?"
/options = ("Bardzo źle", "Źle", "Średnio", "Dobrze", "Bardzo dobrze")
/required = true
/orientation = vertical
</radiobuttons>

<surveypage ClientStatusPage>
/caption = "Proszę zaznaczyć odpowiedzi:"
/questions = [1 = productFrequency; 2 = menstruationProducts]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>

<surveypage SamopoczuciePage>
/questions = [1 = samopoczucie]
/showpagenumbers = false
/showquestionnumbers = false
</surveypage>


<surveypage ThankYouPage>
/ caption = "Bardzo dziękuję za udział w badaniu!
Kontakt: gbulka@st.swps.edu.pl"
/ txcolor = green
/ showpagenumbers = false
/ showquestionnumbers = false
</surveypage>

<survey ClientStatusSurvey>
/pages = [
    1 = ClientStatusPage;
    2 = SamopoczuciePage;
    3 = ThankYouPage
]
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ itemfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 1)
/ navigationbuttonfontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ navigationbuttonsize = (15%, 5%)
/ nextbuttonposition = (70%, 90%)
/ finishlabel = "Zakończ"
/ nextlabel = "Dalej"
/ showbackbutton = false
</survey>

Is it possible to integrate these parts to be in one file? Plus in a format for SPSS? Thanks!

<survey> elements *always* go into their own data files, for the simple reason that the data format -- a single row, columsn for each question -- is different than for <block>s -- multiple rows, one per trial.

If you don't want that, run your surveypages via <block> elements. A <surveypage> is a special type of <trial>, just like a <survey> is a special type of <block>.

For summary data, simply add the properties you're interested in to the <summarydata> element's /columns. E.g. if you want to log the response to the gender question logged to summary data, add radiobuttons.gender.response

Thank you very much!!! and what next if I have several summary date response files how do I combine that and upload it to SPSS?

https://www.millisecond.com/support/docs/v5/html/howto/howtocombinedata.htm

IQDAT files are simple, tab-delimited text files. Any spreadsheet or statistical analysis application can import them easily. Refer to the SPSS documentation regarding importing data from text files.

Thank you, I really appreciate. I have the last quesion. I would like to assign numerical values to the answers.  For example, if someone indicates the gender female I would like the number 1 in the summary date instead.

https://www.millisecond.com/support/docs/v5/html/language/attributes/optionvalues.htm
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search