3  Data

We created the shiny-app to pre-process the raw data (which is tabular but also contains columns with JSON formatted data to describe the participant\(\times\)post-level observations).

The shiny-app requires you to upload your raw DICE data and transforms its wide to a long format. It then provides a download-button. Below, we briefly describe the raw data before we turn our attention to the output of the shiny-app, that is, the processed data. In both sections, we use the data collected in Case Study 1 and anonymize the Prolific IDs (called participant labels).

3.1 Raw Data

While creating an experimental session, the DICE web app returns session code such as r5fbdbr1, for instance. It will also create a url containing that session code (e.g., https://ibt-hsg.herokuapp.com/SessionStartLinks/r5fbdbr1) directing you to you oTree interface, where you can monitor the session or download the data. After clicking on the Data tab, you can download the raw data by clicking on the Plain button in the bottom right of her screen. This will generate a csv file called all_apps_wide_YYYY-MM-DD.csv.

This data follows oTree’s conventions as displayed in Table 3.1.1

Table 3.1: Excerpt of Raw Data Analyzed in Case Study 1
participant.id_in_session participant.code participant.label participant._is_bot participant._index_in_pages participant._max_page_index participant._current_app_name participant._current_page_name participant.time_started_utc participant.visited participant.mturk_worker_id participant.mturk_assignment_id participant.payoff participant.finished session.code session.label session.mturk_HITId session.mturk_HITGroupId session.comment session.is_demo session.config.study_name session.config.name session.config.dwell_threshold session.config.eMail session.config.channel_type session.config.data_path session.config.show_cta session.config.search_term session.config.participation_fee session.config.sort_by session.config.copy_text session.config.condition_col session.config.delimiter session.config.full_name session.config.url_param session.config.briefing session.config.cta_text session.config.real_world_currency_per_point session.config.topics session.config.title session.config.survey_link session.prolific_completion_url session.completion_code DICE.1.player.id_in_group DICE.1.player.role DICE.1.player.payoff DICE.1.player.feed_condition DICE.1.player.sequence DICE.1.player.scroll_sequence DICE.1.player.viewport_data DICE.1.player.rowheight_data DICE.1.player.likes_data DICE.1.player.replies_data DICE.1.player.promoted_post_clicks DICE.1.player.touch_capability DICE.1.player.device_type DICE.1.player.screen_resolution DICE.1.group.id_in_subsession DICE.1.subsession.round_number DICE.1.subsession.feed_conditions DICE.1.subsession.FEED
5 jyri7zu8 …37e56 0 4 5 DICE D_Redirect 2024-10-15 14:44:20 1 NA NA 0 1 z2q0bsds NA NA NA NA 0 Social Media Study Twitter 50 hauke.roggenkamp@unisg.ch Twitter https://raw.githubusercontent.com/Howquez/DICE/refs/heads/main/studies/meme_feed/stimuli/9gag.csv 0 (9GAG?) 0 sequence NA condition ; Hauke Roggenkamp PROLIFIC_PID NA 1 1 Mr. https://unisg.qualtrics.com/jfe/form/SV_3OwkoxA4EbDFxxI https://app.prolific.com/submissions/complete?cc=CJ2MHZVY CJ2MHZVY 5 NA 0 A 20, 36, 34, 26, 16, 13, 4, 3, 5, 15, 39, 2, 32, 1, 24, 6, 22, 11, 37, 29, 18, 35, 31, 9, 21, 14, 28, 19, 25, 27, 33, 30, 10, 23, 17, 8, 7, 12, 40, 38 is-i36-i34-i34-i34-i3-i3-i2-i29-i37-i37-i18-i29-i29-i29-i29-i18-i35-i35-i18-i18-i18-i29-i37-i37-i11-i11-i22-i22-i22-i22-i22-i22-i22-i22-i22-i6-i1-i1-i15-i3-i3-i13-i31-i21-i21-i21-i14-i14-i28-i28-i19-i19-i25-i25-i25-i30-i23-i10-i10-i10-i10-i10-i10-i23-i17-i17-i17-i12-i12-i40-i40-i40-i38 [{““doc_id”“:20,”“duration”“:4.128},{”“doc_id”“:36,”“duration”“:5.162},{”“doc_id”“:34,”“duration”“:12.631},{”“doc_id”“:26,”“duration”“:12.14},{”“doc_id”“:16,”“duration”“:0.733},{”“doc_id”“:13,”“duration”“:0.703},{”“doc_id”“:4,”“duration”“:14.542},{”“doc_id”“:3,”“duration”“:14.575},{”“doc_id”“:5,”“duration”“:0.733},{”“doc_id”“:15,”“duration”“:0.667},{”“doc_id”“:39,”“duration”“:2.119},{”“doc_id”“:32,”“duration”“:0.4},{”“doc_id”“:39,”“duration”“:0.15},{”“doc_id”“:2,”“duration”“:2.584},{”“doc_id”“:32,”“duration”“:0.183},{”“doc_id”“:1,”“duration”“:0.2},{”“doc_id”“:24,”“duration”“:0.317},{”“doc_id”“:6,”“duration”“:0.334},{”“doc_id”“:22,”“duration”“:0.233},{”“doc_id”“:11,”“duration”“:0.216},{”“doc_id”“:37,”“duration”“:1.234},{”“doc_id”“:18,”“duration”“:4.135},{”“doc_id”“:29,”“duration”“:5.637},{”“doc_id”“:11,”“duration”“:2.369},{”“doc_id”“:11,”“duration”“:1.617},{”“doc_id”“:37,”“duration”“:5.537},{”“doc_id”“:29,”“duration”“:14.926},{”“doc_id”“:35,”“duration”“:4.419},{”“doc_id”“:18,”“duration”“:17.993},{”“doc_id”“:29,”“duration”“:2.236},{”“doc_id”“:37,”“duration”“:2.285},{”“doc_id”“:22,”“duration”“:0.836},{”“doc_id”“:37,”“duration”“:0.367},{”“doc_id”“:11,”“duration”“:5.11},{”“doc_id”“:22,”“duration”“:12.223},{”“doc_id”“:6,”“duration”“:12.023},{”“doc_id”“:24,”“duration”“:4.911},{”“doc_id”“:1,”“duration”“:4.603},{”“doc_id”“:32,”“duration”“:2.609},{”“doc_id”“:39,”“duration”“:0.167},{”“doc_id”“:32,”“duration”“:1.634},{”“doc_id”“:2,”“duration”“:3.235},{”“doc_id”“:39,”“duration”“:2.201},{”“doc_id”“:15,”“duration”“:3.569},{”“doc_id”“:5,”“duration”“:7.454},{”“doc_id”“:3,”“duration”“:7.671},{”“doc_id”“:4,”“duration”“:4.09},{”“doc_id”“:13,”“duration”“:2.185},{”“doc_id”“:4,”“duration”“:0.18},{”“doc_id”“:3,”“duration”“:0.2},{”“doc_id”“:5,”“duration”“:0.267},{”“doc_id”“:15,”“duration”“:0.333},{”“doc_id”“:39,”“duration”“:0.266},{”“doc_id”“:2,”“duration”“:0.2},{”“doc_id”“:32,”“duration”“:0.234},{”“doc_id”“:1,”“duration”“:0.317},{”“doc_id”“:24,”“duration”“:0.283},{”“doc_id”“:6,”“duration”“:0.2},{”“doc_id”“:22,”“duration”“:0.234},{”“doc_id”“:11,”“duration”“:0.384},{”“doc_id”“:37,”“duration”“:0.316},{”“doc_id”“:29,”“duration”“:0.133},{”“doc_id”“:18,”“duration”“:0.151},{”“doc_id”“:35,”“duration”“:3.569},{”“doc_id”“:31,”“duration”“:3.735},{”“doc_id”“:9,”“duration”“:3.552},{”“doc_id”“:21,”“duration”“:6.288},{”“doc_id”“:14,”“duration”“:5.72},{”“doc_id”“:28,”“duration”“:4.636},{”“doc_id”“:19,”“duration”“:5.502},{”“doc_id”“:27,”“duration”“:1.034},{”“doc_id”“:19,”“duration”“:1.497},{”“doc_id”“:25,”“duration”“:6.421},{”“doc_id”“:27,”“duration”“:2.288},{”“doc_id”“:33,”“duration”“:4.618},{”“doc_id”“:30,”“duration”“:2.819},{”“doc_id”“:10,”“duration”“:8.222},{”“doc_id”“:23,”“duration”“:11.123},{”“doc_id”“:17,”“duration”“:3.368},{”“doc_id”“:8,”“duration”“:2.417},{”“doc_id”“:7,”“duration”“:4.411},{”“doc_id”“:12,”“duration”“:5.179},{”“doc_id”“:40,”“duration”“:2.402},{”“doc_id”“:38,”“duration”“:1.968}] [{““doc_id”“:20,”“height”“:468},{”“doc_id”“:36,”“height”“:530},{”“doc_id”“:34,”“height”“:462},{”“doc_id”“:26,”“height”“:360},{”“doc_id”“:16,”“height”“:471},{”“doc_id”“:13,”“height”“:476},{”“doc_id”“:4,”“height”“:440},{”“doc_id”“:3,”“height”“:530},{”“doc_id”“:5,”“height”“:434},{”“doc_id”“:15,”“height”“:530},{”“doc_id”“:39,”“height”“:379},{”“doc_id”“:2,”“height”“:479},{”“doc_id”“:32,”“height”“:434},{”“doc_id”“:1,”“height”“:458},{”“doc_id”“:24,”“height”“:436},{”“doc_id”“:6,”“height”“:438},{”“doc_id”“:22,”“height”“:467},{”“doc_id”“:11,”“height”“:467},{”“doc_id”“:37,”“height”“:578},{”“doc_id”“:29,”“height”“:468},{”“doc_id”“:18,”“height”“:472},{”“doc_id”“:35,”“height”“:426},{”“doc_id”“:31,”“height”“:478},{”“doc_id”“:9,”“height”“:470},{”“doc_id”“:21,”“height”“:530},{”“doc_id”“:14,”“height”“:435},{”“doc_id”“:28,”“height”“:530},{”“doc_id”“:19,”“height”“:442},{”“doc_id”“:25,”“height”“:457},{”“doc_id”“:27,”“height”“:479},{”“doc_id”“:33,”“height”“:457},{”“doc_id”“:30,”“height”“:477},{”“doc_id”“:10,”“height”“:445},{”“doc_id”“:23,”“height”“:457},{”“doc_id”“:17,”“height”“:479},{”“doc_id”“:8,”“height”“:456},{”“doc_id”“:7,”“height”“:519},{”“doc_id”“:12,”“height”“:454},{”“doc_id”“:40,”“height”“:578},{”“doc_id”“:38,”“height”“:578},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297},{”“doc_id”“:null,”“height”“:297}] [{““doc_id”“:20,”“liked”“:false},{”“doc_id”“:36,”“liked”“:false},{”“doc_id”“:34,”“liked”“:false},{”“doc_id”“:26,”“liked”“:false},{”“doc_id”“:16,”“liked”“:false},{”“doc_id”“:13,”“liked”“:false},{”“doc_id”“:4,”“liked”“:false},{”“doc_id”“:3,”“liked”“:false},{”“doc_id”“:5,”“liked”“:false},{”“doc_id”“:15,”“liked”“:false},{”“doc_id”“:39,”“liked”“:false},{”“doc_id”“:2,”“liked”“:false},{”“doc_id”“:32,”“liked”“:false},{”“doc_id”“:1,”“liked”“:false},{”“doc_id”“:24,”“liked”“:false},{”“doc_id”“:6,”“liked”“:false},{”“doc_id”“:22,”“liked”“:true},{”“doc_id”“:11,”“liked”“:false},{”“doc_id”“:37,”“liked”“:false},{”“doc_id”“:29,”“liked”“:false},{”“doc_id”“:18,”“liked”“:true},{”“doc_id”“:35,”“liked”“:false},{”“doc_id”“:31,”“liked”“:false},{”“doc_id”“:9,”“liked”“:false},{”“doc_id”“:21,”“liked”“:false},{”“doc_id”“:14,”“liked”“:false},{”“doc_id”“:28,”“liked”“:false},{”“doc_id”“:19,”“liked”“:false},{”“doc_id”“:25,”“liked”“:false},{”“doc_id”“:27,”“liked”“:false},{”“doc_id”“:33,”“liked”“:false},{”“doc_id”“:30,”“liked”“:false},{”“doc_id”“:10,”“liked”“:true},{”“doc_id”“:23,”“liked”“:false},{”“doc_id”“:17,”“liked”“:false},{”“doc_id”“:8,”“liked”“:false},{”“doc_id”“:7,”“liked”“:false},{”“doc_id”“:12,”“liked”“:false},{”“doc_id”“:40,”“liked”“:false},{”“doc_id”“:38,”“liked”“:false}] [{““doc_id”“:20,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:36,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:34,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:26,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:16,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:13,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:4,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:3,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:5,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:15,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:39,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:2,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:32,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:1,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:24,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:6,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:22,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:11,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:37,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:29,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:18,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:35,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:31,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:9,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:21,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:14,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:28,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:19,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:25,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:27,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:33,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:30,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:10,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:23,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:17,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:8,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:7,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:12,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:40,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:38,”“reply”“:”“““,”“hasReply”“:false}] [{““doc_id”“:36,”“clicked”“:false},{”“doc_id”“:39,”“clicked”“:false},{”“doc_id”“:37,”“clicked”“:false},{”“doc_id”“:40,”“clicked”“:false},{”“doc_id”“:38,”“clicked”“:false}] 1 Tablet 1024x1366 1 1 <itertools.cycle object at 0x7fb118acf880> DICE/T_Feed_Twitter.html
6 2oudny1t …4d647 0 4 5 DICE D_Redirect 2024-10-15 14:47:58 1 NA NA 0 1 z2q0bsds NA NA NA NA 0 Social Media Study Twitter 50 hauke.roggenkamp@unisg.ch Twitter https://raw.githubusercontent.com/Howquez/DICE/refs/heads/main/studies/meme_feed/stimuli/9gag.csv 0 (9GAG?) 0 sequence NA condition ; Hauke Roggenkamp PROLIFIC_PID NA 1 1 Mr. https://unisg.qualtrics.com/jfe/form/SV_3OwkoxA4EbDFxxI https://app.prolific.com/submissions/complete?cc=CJ2MHZVY CJ2MHZVY 6 NA 0 A 10, 34, 24, 22, 39, 17, 15, 21, 9, 31, 14, 38, 12, 5, 35, 11, 40, 23, 28, 32, 36, 2, 8, 20, 33, 7, 27, 16, 1, 13, 30, 19, 25, 26, 18, 3, 4, 37, 29, 6 is-i10-i10-i10-i10-i10-i10-i10-i34-i10-i34-i34-i34-i34-i24-i24-i22-i22-i39-i39-i17-i15-i21-i21-i9-i9-i31-i31-i31-i14-i14-i38-i12-i12-i5-i5-i35-i11-i40-i23-i28-i32-i36-i2-i2-i8-i20-i20-i33-i7-i27-i6 [{““doc_id”“:10,”“duration”“:3.746},{”“doc_id”“:24,”“duration”“:0.782},{”“doc_id”“:34,”“duration”“:13.087},{”“doc_id”“:24,”“duration”“:4.58},{”“doc_id”“:22,”“duration”“:6.845},{”“doc_id”“:39,”“duration”“:3.642},{”“doc_id”“:17,”“duration”“:3.585},{”“doc_id”“:15,”“duration”“:3.627},{”“doc_id”“:21,”“duration”“:2.679},{”“doc_id”“:9,”“duration”“:2.88},{”“doc_id”“:31,”“duration”“:6.342},{”“doc_id”“:14,”“duration”“:7.54},{”“doc_id”“:38,”“duration”“:2.53},{”“doc_id”“:12,”“duration”“:2.848},{”“doc_id”“:5,”“duration”“:7.087},{”“doc_id”“:35,”“duration”“:6.876},{”“doc_id”“:11,”“duration”“:3.129},{”“doc_id”“:40,”“duration”“:2.355},{”“doc_id”“:23,”“duration”“:4.995},{”“doc_id”“:28,”“duration”“:6.311},{”“doc_id”“:32,”“duration”“:7.059},{”“doc_id”“:36,”“duration”“:2.086},{”“doc_id”“:2,”“duration”“:6.01},{”“doc_id”“:8,”“duration”“:5.556},{”“doc_id”“:20,”“duration”“:7.127},{”“doc_id”“:33,”“duration”“:5.93},{”“doc_id”“:7,”“duration”“:3.831},{”“doc_id”“:27,”“duration”“:1.169},{”“doc_id”“:16,”“duration”“:0.63},{”“doc_id”“:1,”“duration”“:0.783},{”“doc_id”“:13,”“duration”“:0.633},{”“doc_id”“:30,”“duration”“:0.232},{”“doc_id”“:19,”“duration”“:0.484},{”“doc_id”“:25,”“duration”“:0.317},{”“doc_id”“:26,”“duration”“:0.1},{”“doc_id”“:18,”“duration”“:0.132},{”“doc_id”“:3,”“duration”“:0.148},{”“doc_id”“:4,”“duration”“:0.2},{”“doc_id”“:37,”“duration”“:0.232},{”“doc_id”“:29,”“duration”“:0.152},{”“doc_id”“:6,”“duration”“:3.221}] [{““doc_id”“:10,”“height”“:530},{”“doc_id”“:34,”“height”“:169},{”“doc_id”“:24,”“height”“:520},{”“doc_id”“:22,”“height”“:553},{”“doc_id”“:39,”“height”“:440},{”“doc_id”“:17,”“height”“:538},{”“doc_id”“:15,”“height”“:639},{”“doc_id”“:21,”“height”“:639},{”“doc_id”“:9,”“height”“:533},{”“doc_id”“:31,”“height”“:536},{”“doc_id”“:14,”“height”“:519},{”“doc_id”“:38,”“height”“:663},{”“doc_id”“:12,”“height”“:537},{”“doc_id”“:5,”“height”“:518},{”“doc_id”“:35,”“height”“:501},{”“doc_id”“:11,”“height”“:560},{”“doc_id”“:40,”“height”“:663},{”“doc_id”“:23,”“height”“:516},{”“doc_id”“:28,”“height”“:639},{”“doc_id”“:32,”“height”“:517},{”“doc_id”“:36,”“height”“:639},{”“doc_id”“:2,”“height”“:544},{”“doc_id”“:8,”“height”“:539},{”“doc_id”“:20,”“height”“:554},{”“doc_id”“:33,”“height”“:517},{”“doc_id”“:7,”“height”“:626},{”“doc_id”“:27,”“height”“:575},{”“doc_id”“:16,”“height”“:558},{”“doc_id”“:1,”“height”“:541},{”“doc_id”“:13,”“height”“:564},{”“doc_id”“:30,”“height”“:535},{”“doc_id”“:19,”“height”“:528},{”“doc_id”“:25,”“height”“:546},{”“doc_id”“:26,”“height”“:423},{”“doc_id”“:18,”“height”“:559},{”“doc_id”“:3,”“height”“:639},{”“doc_id”“:4,”“height”“:525},{”“doc_id”“:37,”“height”“:663},{”“doc_id”“:29,”“height”“:554},{”“doc_id”“:6,”“height”“:516},{”“doc_id”“:null,”“height”“:298}] [{““doc_id”“:10,”“liked”“:false},{”“doc_id”“:34,”“liked”“:false},{”“doc_id”“:24,”“liked”“:false},{”“doc_id”“:22,”“liked”“:false},{”“doc_id”“:39,”“liked”“:false},{”“doc_id”“:17,”“liked”“:false},{”“doc_id”“:15,”“liked”“:false},{”“doc_id”“:21,”“liked”“:false},{”“doc_id”“:9,”“liked”“:false},{”“doc_id”“:31,”“liked”“:false},{”“doc_id”“:14,”“liked”“:false},{”“doc_id”“:38,”“liked”“:false},{”“doc_id”“:12,”“liked”“:false},{”“doc_id”“:5,”“liked”“:false},{”“doc_id”“:35,”“liked”“:false},{”“doc_id”“:11,”“liked”“:false},{”“doc_id”“:40,”“liked”“:false},{”“doc_id”“:23,”“liked”“:false},{”“doc_id”“:28,”“liked”“:false},{”“doc_id”“:32,”“liked”“:false},{”“doc_id”“:36,”“liked”“:false},{”“doc_id”“:2,”“liked”“:false},{”“doc_id”“:8,”“liked”“:false},{”“doc_id”“:20,”“liked”“:false},{”“doc_id”“:33,”“liked”“:false},{”“doc_id”“:7,”“liked”“:false},{”“doc_id”“:27,”“liked”“:false},{”“doc_id”“:16,”“liked”“:false},{”“doc_id”“:1,”“liked”“:false},{”“doc_id”“:13,”“liked”“:false},{”“doc_id”“:30,”“liked”“:false},{”“doc_id”“:19,”“liked”“:false},{”“doc_id”“:25,”“liked”“:false},{”“doc_id”“:26,”“liked”“:false},{”“doc_id”“:18,”“liked”“:false},{”“doc_id”“:3,”“liked”“:false},{”“doc_id”“:4,”“liked”“:false},{”“doc_id”“:37,”“liked”“:false},{”“doc_id”“:29,”“liked”“:false},{”“doc_id”“:6,”“liked”“:false}] [{““doc_id”“:10,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:34,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:24,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:22,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:39,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:17,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:15,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:21,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:9,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:31,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:14,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:38,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:12,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:5,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:35,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:11,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:40,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:23,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:28,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:32,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:36,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:2,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:8,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:20,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:33,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:7,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:27,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:16,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:1,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:13,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:30,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:19,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:25,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:26,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:18,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:3,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:4,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:37,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:29,”“reply”“:”“““,”“hasReply”“:false},{”“doc_id”“:6,”“reply”“:”“““,”“hasReply”“:false}] [{““doc_id”“:39,”“clicked”“:false},{”“doc_id”“:38,”“clicked”“:false},{”“doc_id”“:40,”“clicked”“:false},{”“doc_id”“:36,”“clicked”“:false},{”“doc_id”“:37,”“clicked”“:false}] 0 Desktop 1920x1080 1 1 <itertools.cycle object at 0x7fb118acf880> DICE/T_Feed_Twitter.html

3.2 Processed Data

The data we show below has a nested structure as it shows observations on the participant\(\times\)post-level.

session_code participant_code participant_label participant_time_started_utc touch_capability device_type condition doc_id displayed_sequence seconds_in_viewport scroll_sequence liked reply hasReply height
z2q0bsds jyri7zu8 …37e56 2024-10-15 14:44:20 TRUE Tablet A 17 35 3.368 79 FALSE FALSE 479
z2q0bsds jyri7zu8 …37e56 2024-10-15 14:44:20 TRUE Tablet A 8 36 2.417 80 FALSE FALSE 456
z2q0bsds jyri7zu8 …37e56 2024-10-15 14:44:20 TRUE Tablet A 7 37 4.411 81 FALSE FALSE 519
z2q0bsds jyri7zu8 …37e56 2024-10-15 14:44:20 TRUE Tablet A 12 38 5.179 82 FALSE FALSE 454
z2q0bsds jyri7zu8 …37e56 2024-10-15 14:44:20 TRUE Tablet A 40 39 2.402 83 FALSE FALSE 578
z2q0bsds jyri7zu8 …37e56 2024-10-15 14:44:20 TRUE Tablet A 38 40 1.968 84 FALSE FALSE 578
z2q0bsds 2oudny1t …4d647 2024-10-15 14:47:58 FALSE Desktop A 10 1 3.746 1 FALSE FALSE 530
z2q0bsds 2oudny1t …4d647 2024-10-15 14:47:58 FALSE Desktop A 34 2 13.087 3 FALSE FALSE 169
z2q0bsds 2oudny1t …4d647 2024-10-15 14:47:58 FALSE Desktop A 24 3 5.362 2,4 FALSE FALSE 520
z2q0bsds 2oudny1t …4d647 2024-10-15 14:47:58 FALSE Desktop A 22 4 6.845 5 FALSE FALSE 553
z2q0bsds 2oudny1t …4d647 2024-10-15 14:47:58 FALSE Desktop A 39 5 3.642 6 FALSE FALSE 440

Table 3.2 presents a code-book that describes the variables presented above.

Table 3.2: Codebook of Processed Data
Scope Variable Type Example Description
Session session_code text z2q0bsds Unique session identifier.
Participant participant_code text jyri7zu8 Unique participant identifier generated by oTree.
Participant participant_label text 4d647 Unique participant identifier passed from Prolific (PID).
Participant participant_time_started_utc text 2024-10-15 14:47:58 Date and time the participant started the study.
Participant touch_capability boolean FALSE Describes whether the participant’s device was recognized as a touch device.
Participant device_type boolean Desktop Describes whether the participant’s device was recognized as a Desktop/Tablet/Mobile device.
Participant condition text A Condition name the researcher created in her stimuli csv file.
Post doc_id text 34 Unique social media post identifier the researcher specified in her stimuli file.
Participant x Post displayed_sequence numeric 2 The position in which a feed was displayed within the feed.
Participant x Post seconds_in_viewport numeric 13.087
Participant x Post scroll_sequence text 2, 4 Describes the sequence in which a participant browsed through the social media post. May contain multiple integers if a participant browsed back and forth.
Participant x Post liked boolean TRUE Describes wheter a participant liked a social media post.
Participant x Post reply text This is a comment. Describes what a participant commented on a social media post. NA if nothing.
Participant x Post hasReply boolean TRUE Describes wheter a participant commented on a social media post.
Participant x Post height numeric 520 Describes the vertical resolution (height measured in pixel) in which a post was rendered on the participant’s screen.

3.3 Additional Processing

Importantly, none of the two datasets presented here contains any self-reports. To generate you final dataset which includes behavioral measures, the stimuli, as well as self-reports, we advise you to merge the processed data with two other data sources. First, merge the shiny app’s output with your survey data using the participant_label as a key. Because the DICE app passes that ID to your survey tool, both datasets have these information. Second, merge that data with you stimuli csv (see Chapter 1) based on the doc_id and condition, if applicable.

Using R and the {data.table} package, this process looks as follows:

output <- data.table::merge.data.table(x = dice,
                                       y = qualtrics,
                                       by = "participant_label")

final <- data.table::merge.data.table(x = output,
                          y = stimuli,
                          by = c("doc_id", "condition"))

setorder(final, participant_code, displayed_sequence)

  1. In Table 3.1, we removed a column called participant.tweets as it reports all the information displayed in the feed for every participant. We would advise you to delete that column too as it decreases the file size considerably (if you work with long feeds).↩︎