Beacon Mappingsection of the Participation page. Here you can learn more about the specifics of this page. At the end, our page setting should look like the following image:
Create visualizationbutton. From the list, pick
Timelion. This graph will represent the number of times our participant's Android app has visited the alter's beacon. The related Timelion Expression will be as follow:
beacon, and it should use
record_timeas the time field. The
qparameter allows us to filter the beacon data and only retrieve the ones we need. We query the data using the following fields:
study_id:380only retries the data for our study with ID 380.
user_id:1only retrieves the data reported by Ethica participant ID 1. Note that this ID is not the same as Subject ID we assigned above. This ID is usually 4 digits longs, and assigned to the participant automatically by Ethica when they create their account.
team_id:1allows us to filter the data further and from all beacon data reported by participant #1, report the ones where the Team ID of the observed beacon was 1.
role_id:2further filters the data to those where the role ID of the observed beacon was 2.
Participant 1 -> Alter. Note that the
user_idspecified above refers to the Ethica participant ID which is usually 4 or more digits long, and not the subject ID you have assigned to the user.
Updatebutton to plot the time series. Your final time series visualization should look like the following, although as we have no data collected yet, our graph is flat, but your data will show the record counts assuming it contains data:
Study 380 - Visiting Alter. When done, go back to the Visualization page to create the second graph.
scheduled_timeas the time field. Note that here we are not using
record_time, as we are interested in the time the survey was prompted (
scheduled_time), and not the time the survey was responded by the participant (
scheduled_time. By default, Timelion plots the total number of records available. As Ethica creates a separate record for each question in a given survey, if the prompted survey has for example 8 questions when the participant responds to the survey once, 8 distinct records will be created, all having the identical
scheduled_time. So here we specify the plot should be using cardinality of the
scheduled_time(distinct values of this field).
Study 380 - Survey Meet Alterand go back to the Visualizations tab. Follow the above steps for the other 4 plots as well. The Timelion Expression and the saved name for each plot are included below:
Dashboardicon on the left panel, and then click on
Create a Dashboard. Add each visualization to the dashboard by clicking on
Addfrom the top of the page, and selecting each of the visualizations we created one by one.