forked from dimagi/dimagi-data-platform-R
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aggregate_tables.json
117 lines (116 loc) · 3.71 KB
/
aggregate_tables.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[
{
"table":"aggregate_lifetime_interactions",
"by":[
"domain",
"user_id",
"user_pk"
],
"components":[
{
"table":"visit_detail",
"columns":{
"date_first_visit":"date_first_visit",
"date_last_visit":"date_last_visit",
"nvisits":"nvisits",
"calendar_month_on_cc":"calendar_month_on_cc",
"nforms":"nforms",
"median_visit_duration":"median_visit_duration",
"median_visits_per_day":"median_visits_per_day",
"median_visits_per_month":"median_visits_per_month",
"morning":"morning",
"afternoon":"afternoon",
"evening":"evening",
"night":"night",
"time_using_cc":"time_using_cc",
"nvisits_travel":"nvisits_travel",
"nvisits_travel_batch":"nvisits_travel_batch"
}
},
{
"table":"interactions",
"columns":{
"ninteractions":"ninteractions",
"ncases_registered":"ncases_registered",
"register_followup":"register_followup",
"case_register_followup_rate":"case_register_followup_rate",
"ncases_touched":"ncases_touched",
"nunique_followups":"nunique_followups"
}
},
{
"table":"device_type",
"columns":{
"summary_device_type":"summary_device_type",
"nforms": "nforms",
"active_days":"active_days",
"active_months":"active_months"
}
},
{
"table":"device_log_types_by_user",
"columns":{
"total_logs":"total_logs",
"audio_plays":"audio_plays",
"network_warnings":"network_warnings"
}
}
]
},
{
"table":"aggregate_monthly_interactions",
"by":[
"domain",
"user_id",
"user_pk",
"month.index"
],
"components":[
{
"table":"visit_detail",
"columns":{
"date_first_visit":"date_first_visit",
"date_last_visit":"date_last_visit",
"nvisits":"nvisits",
"median_visit_duration":"median_visit_duration",
"median_visits_per_day":"median_visits_per_day",
"morning":"morning",
"afternoon":"afternoon",
"evening":"evening",
"night":"night",
"numeric_index":"numeric_index",
"time_using_cc":"time_using_cc",
"nvisits_travel":"nvisits_travel",
"nvisits_travel_batch":"nvisits_travel_batch"
}
},
{
"table":"interactions",
"columns":{
"ninteractions":"ninteractions",
"ncases_registered":"ncases_registered",
"register_followup":"register_followup",
"case_register_followup_rate":"case_register_followup_rate",
"ncases_touched":"ncases_touched",
"nunique_followups":"nunique_followups"
}
},
{
"table":"device_type",
"columns":{
"summary_device_type":"summary_device_type",
"nforms": "nforms",
"active_days":"active_days"
}
},
{
"table":"device_log_types_by_user",
"columns":{
"total_logs":"total_logs",
"audio_plays":"audio_plays",
"network_warnings":"network_warnings"
}
}
]
}
]