-
Notifications
You must be signed in to change notification settings - Fork 14
/
settings_yaml.yaml
110 lines (109 loc) · 3.22 KB
/
settings_yaml.yaml
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
---
settings:
# path to bigquery credentials
service_account_path: "../../../credentials"
# name of bigquery project
project:
# filter for user for preprocessing
users:
# only users that have such parameters are allowed
filters:
# parameters from BQ table to filter the data
- event_name: welcome_see_screen
event_params_value_string_value: '1'
# filter for preprocessing user events received from BQ
events:
# criterion for users to pass
filters:
- event_name: screen_view
not: true
- event_params_value_string_value: myFlights
duplicate_thr_time: 100
# parameters of sql request
sql:
query_1:
# parameters of sql request for users
user_filters:
# select only users with such events
event_names:
- first_open
# select only users with such app_version
app_version: 7.4.2
# first date of first user appearance
date_start: '2018-10-01'
# last date of first user appearance
date_finish: '2018-10-01'
# select only such events for users
event_filters:
# select only events between those dates
date_start: '2018-10-01'
date_finish: '2018-10-01'
# select only such events
event_names:
- screen_view
- myFlights_add
- myFlights_edit
- myFlights_refresh
- profile_edit_close
- tabbar_select_page
- welcome_see_screen
- feed_widget_present
- welcome_login_google
- welcome_login_tripit
- welcome__loginFailure
- feed_ad_canBePresented
- myFlights_connectEmail
- myFlights_swipe_action
- newFlight_myflights_see
- welcome__chooseLoginType
- welcome_otherLogin__show
- newFlight_awardwallet_see
- welcome_otherLogin__close
- welcome_login_google_cancel
- welcome_privacy_policyShown
- welcome_privacy_policyShown
- welcome_privacy_policyDecline
- welcome_privacy_policyDecline
- welcome_privacy_policyAccepted
- welcome_privacy_policyAccepted
- welcome_privacy_policyTapToPolicy
- feed_widget_aircraft_amenities_saw
- welcome_otherLogin__chooseLoginType
- feed_widget_aircraft_noAircraftImage
- welcome_otherLogin_privacy_policyShown
- welcome_otherLogin_privacy_policyShown
- welcome_otherLogin_privacy_policyDecline
- welcome_otherLogin_privacy_policyDecline
- welcome_otherLogin_privacy_policyAccepted
# number of event which are taking from the table
count_events: 40
# list of columns in bigquery table which are used to drop duplicates
drop_duplicates_events:
- user_pseudo_id
- event_name
- event_params_value_string_value
- event_timestamp
# dataset and table to write received deleted data
destination_table:
dataset: alexk
table: BigGraph4
# parameters to select positive elements group
positive_event:
# group name
name: passed
# filters for events
filters:
# split events by separator "sep" and check if the first part satisfy "values"
match_up_to_separator:
values:
- newFlight
- feed
- tabbar
- myFlights
sep: _
# filters for events that are in full_match
full_match:
- screen_view
negative_event:
# group name
name: lost