Skip to content

Commit

Permalink
Add new signature event types
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesdring committed Oct 10, 2023
1 parent be41157 commit 921b755
Show file tree
Hide file tree
Showing 40 changed files with 5,673 additions and 511 deletions.
27 changes: 24 additions & 3 deletions data/metrics/events/master/all.csv

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions data/metrics/events/tickets/orders.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4819,3 +4819,10 @@ created_at,event_id,event_date,number_of_tickets,ward_code
2023-10-09 19:58:46,ev_3013872,2023-10-19,1,E05011414
2023-10-09 20:28:18,ev_2994132,2023-12-28,1,E05011389
2023-10-09 21:06:48,ev_3013871,2023-10-18,2,E05011404
2023-10-10 08:21:15,ev_3052033,2023-12-01,1,E05012648
2023-10-10 09:21:25,ev_2994150,2023-12-31,3,E05011410
2023-10-10 09:22:34,ev_3024028,2023-10-10,1,E05013831
2023-10-10 10:06:39,ev_2912459,2023-11-04,1,E05013503
2023-10-10 10:36:26,ev_3052122,2023-11-17,1,E05012647
2023-10-10 10:38:46,ev_3052129,2023-12-19,1,E05013830
2023-10-10 10:42:15,ev_3052125,2023-12-02,1,E05011399
12 changes: 12 additions & 0 deletions docs/metrics/events/childrens-day/_data/events/by_month.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
month_ending,events,audience,cumulative_events,cumulative_audience
2022-09-30,4,33,4,33
2022-10-31,3,31,7,64
2022-11-30,5,48,12,112
2022-12-31,2,10,14,122
2023-01-31,2,8,16,130
2023-02-28,0,0,16,130
2023-03-31,2,17,18,147
2023-04-30,17,717,35,864
2023-05-31,2,17,37,881
2023-06-30,1,10,38,891
2023-07-31,1,1050,39,1941
3 changes: 3 additions & 0 deletions docs/metrics/events/childrens-day/_data/events/by_ward.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ward_code,events,audience
E05011399,16,155.0
E05011411,1,1050.0
45 changes: 45 additions & 0 deletions docs/metrics/events/childrens-day/_data/events/by_week.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
week_ending,events,audience,cumulative_events,cumulative_audience
2022-09-16,1,14,1,14
2022-09-23,1,9,2,23
2022-09-30,2,10,4,33
2022-10-07,1,11,5,44
2022-10-14,1,11,6,55
2022-10-21,1,9,7,64
2022-10-28,0,0,7,64
2022-11-04,1,9,8,73
2022-11-11,1,10,9,83
2022-11-18,1,9,10,92
2022-11-25,1,10,11,102
2022-12-02,1,10,12,112
2022-12-09,1,10,13,122
2022-12-16,1,0,14,122
2022-12-23,0,0,14,122
2022-12-30,0,0,14,122
2023-01-06,1,0,15,122
2023-01-13,0,0,15,122
2023-01-20,0,0,15,122
2023-01-27,0,0,15,122
2023-02-03,1,8,16,130
2023-02-10,0,0,16,130
2023-02-17,0,0,16,130
2023-02-24,0,0,16,130
2023-03-03,0,0,16,130
2023-03-10,0,0,16,130
2023-03-17,0,0,16,130
2023-03-24,1,9,17,139
2023-03-31,1,8,18,147
2023-04-07,0,0,18,147
2023-04-14,0,0,18,147
2023-04-21,16,709,34,856
2023-04-28,1,8,35,864
2023-05-05,1,8,36,872
2023-05-12,0,0,36,872
2023-05-19,0,0,36,872
2023-05-26,0,0,36,872
2023-06-02,1,9,37,881
2023-06-09,1,10,38,891
2023-06-16,0,0,38,891
2023-06-23,0,0,38,891
2023-06-30,0,0,38,891
2023-07-07,0,0,38,891
2023-07-14,1,1050,39,1941
7 changes: 7 additions & 0 deletions docs/metrics/events/childrens-day/_data/events/headlines.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"total_events":39,
"total_audience":1941,
"ward_count":2,
"earliest_date":"2022-09-13T00:00:00.000",
"latest_date":"2023-07-14T00:00:00.000"
}
8 changes: 4 additions & 4 deletions docs/metrics/events/my-leeds-2023/_data/events/by_month.csv
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ month_ending,events,audience,cumulative_events,cumulative_audience
2023-03-31,0,0,11,0
2023-04-30,0,0,11,0
2023-05-31,0,0,11,0
2023-06-30,8,7600,19,7600
2023-07-31,19,12898,38,20498
2023-08-31,12,7225,50,27723
2023-09-30,2,660,52,28383
2023-06-30,8,9100,19,9100
2023-07-31,19,13198,38,22298
2023-08-31,12,8225,50,30523
2023-09-30,2,660,52,31183
6 changes: 3 additions & 3 deletions docs/metrics/events/my-leeds-2023/_data/events/by_ward.csv
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ E05011395,1,300.0
E05011396,1,275.0
E05011397,1,450.0
E05011399,2,1000.0
E05011400,1,0.0
E05011400,1,1000.0
E05011401,1,300.0
E05011402,1,600.0
E05011403,1,400.0
E05011404,1,375.0
E05011405,1,0.0
E05011405,1,1500.0
E05011406,1,300.0
E05011407,1,0.0
E05011407,1,300.0
E05011409,2,350.0
E05011410,2,660.0
E05011411,3,2500.0
Expand Down
26 changes: 13 additions & 13 deletions docs/metrics/events/my-leeds-2023/_data/events/by_week.csv
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ week_ending,events,audience,cumulative_events,cumulative_audience
2023-06-09,0,0,11,0
2023-06-16,1,600,12,600
2023-06-23,4,3000,16,3600
2023-06-30,3,4000,19,7600
2023-07-07,6,6554,25,14154
2023-07-14,5,1418,30,15572
2023-07-21,1,3000,31,18572
2023-07-28,6,1426,37,19998
2023-08-04,1,500,38,20498
2023-08-11,4,1275,42,21773
2023-08-18,3,950,45,22723
2023-08-25,2,2700,47,25423
2023-09-01,3,2300,50,27723
2023-09-08,0,0,50,27723
2023-09-15,1,660,51,28383
2023-09-22,1,0,52,28383
2023-06-30,3,5500,19,9100
2023-07-07,6,6554,25,15654
2023-07-14,5,1418,30,17072
2023-07-21,1,3000,31,20072
2023-07-28,6,1726,37,21798
2023-08-04,1,500,38,22298
2023-08-11,4,1275,42,23573
2023-08-18,3,1950,45,25523
2023-08-25,2,2700,47,28223
2023-09-01,3,2300,50,30523
2023-09-08,0,0,50,30523
2023-09-15,1,660,51,31183
2023-09-22,1,0,52,31183
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"total_events":52,
"total_audience":28383,
"total_audience":31183,
"ward_count":33,
"earliest_date":"2023-02-13T00:00:00.000",
"latest_date":"2023-09-21T00:00:00.000"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
month_ending,events,audience,cumulative_events,cumulative_audience
2023-06-30,6,7600,6,7600
2023-07-31,18,12898,24,20498
2023-08-31,10,7225,34,27723
2023-09-30,1,660,35,28383
2023-06-30,6,9100,6,9100
2023-07-31,18,13198,24,22298
2023-08-31,10,8225,34,30523
2023-09-30,1,660,35,31183
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ E05011395,1,300.0
E05011396,1,275.0
E05011397,1,450.0
E05011399,2,1000.0
E05011400,1,0.0
E05011400,1,1000.0
E05011401,1,300.0
E05011402,1,600.0
E05011403,1,400.0
E05011404,1,375.0
E05011405,1,0.0
E05011405,1,1500.0
E05011406,1,300.0
E05011407,1,0.0
E05011407,1,300.0
E05011409,1,350.0
E05011410,1,660.0
E05011411,1,2500.0
Expand Down
24 changes: 12 additions & 12 deletions docs/metrics/events/my-leeds-2023/_data/events/summer/by_week.csv
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
week_ending,events,audience,cumulative_events,cumulative_audience
2023-06-16,1,600,1,600
2023-06-23,2,3000,3,3600
2023-06-30,3,4000,6,7600
2023-07-07,6,6554,12,14154
2023-07-14,4,1418,16,15572
2023-07-21,1,3000,17,18572
2023-07-28,6,1426,23,19998
2023-08-04,1,500,24,20498
2023-08-11,3,1275,27,21773
2023-08-18,3,950,30,22723
2023-08-25,2,2700,32,25423
2023-09-01,2,2300,34,27723
2023-09-08,0,0,34,27723
2023-09-15,1,660,35,28383
2023-06-30,3,5500,6,9100
2023-07-07,6,6554,12,15654
2023-07-14,4,1418,16,17072
2023-07-21,1,3000,17,20072
2023-07-28,6,1726,23,21798
2023-08-04,1,500,24,22298
2023-08-11,3,1275,27,23573
2023-08-18,3,1950,30,25523
2023-08-25,2,2700,32,28223
2023-09-01,2,2300,34,30523
2023-09-08,0,0,34,30523
2023-09-15,1,660,35,31183
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"total_events":35,
"total_audience":28383,
"total_audience":31183,
"ward_count":33,
"earliest_date":"2023-06-11T00:00:00.000",
"latest_date":"2023-09-09T00:00:00.000"
Expand Down
2 changes: 2 additions & 0 deletions docs/metrics/events/nest/_data/events/by_month.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
month_ending,events,audience,cumulative_events,cumulative_audience
2023-09-30,1,1338,1,1338
2 changes: 2 additions & 0 deletions docs/metrics/events/nest/_data/events/by_ward.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ward_code,events,audience
E05013830,1,1338.0
2 changes: 2 additions & 0 deletions docs/metrics/events/nest/_data/events/by_week.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
week_ending,events,audience,cumulative_events,cumulative_audience
2023-09-08,1,1338,1,1338
7 changes: 7 additions & 0 deletions docs/metrics/events/nest/_data/events/headlines.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"total_events":1,
"total_audience":1338,
"ward_count":1,
"earliest_date":"2023-09-05T00:00:00.000",
"latest_date":"2023-09-05T00:00:00.000"
}
4 changes: 2 additions & 2 deletions docs/metrics/events/signature/_data/headlines.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"total_attendances":8,
"first_event":1672963200000,
"latest_event":1696550400000,
"total_ticket_orders_for_events_to_date":4586,
"total_tickets_sold_for_events_to_date":10081
"total_ticket_orders_for_events_to_date":4587,
"total_tickets_sold_for_events_to_date":10082
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ event_date,orders,tickets
2023-07-31,958,3559
2023-08-31,103,192
2023-09-30,1214,2249
2023-10-31,87,92
2023-10-31,88,93
2 changes: 1 addition & 1 deletion docs/metrics/events/signature/_data/tickets_by_ward.csv
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ E05013789,1,1
E05013812,2,2
E05013828,1,2
E05013830,103,219
E05013831,97,268
E05013831,98,269
E05013866,2,4
E05013884,1,1
E05013943,1,2
Expand Down
10 changes: 10 additions & 0 deletions docs/metrics/events/smeaton-300/_data/events/by_month.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
month_ending,events,audience,cumulative_events,cumulative_audience
2023-02-28,1,0,1,0
2023-03-31,1,0,2,0
2023-04-30,0,0,2,0
2023-05-31,1,0,3,0
2023-06-30,2,0,5,0
2023-07-31,0,0,5,0
2023-08-31,9,444,14,444
2023-09-30,13,51,27,495
2023-10-31,3,360,30,855
6 changes: 6 additions & 0 deletions docs/metrics/events/smeaton-300/_data/events/by_ward.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ward_code,events,audience
E05011394,4,236.0
E05011399,4,48.0
E05011400,1,142.0
E05011406,1,0.0
E05012842,6,17.0
37 changes: 37 additions & 0 deletions docs/metrics/events/smeaton-300/_data/events/by_week.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
week_ending,events,audience,cumulative_events,cumulative_audience
2023-02-10,1,0,1,0
2023-02-17,0,0,1,0
2023-02-24,0,0,1,0
2023-03-03,1,0,2,0
2023-03-10,0,0,2,0
2023-03-17,0,0,2,0
2023-03-24,0,0,2,0
2023-03-31,0,0,2,0
2023-04-07,0,0,2,0
2023-04-14,0,0,2,0
2023-04-21,0,0,2,0
2023-04-28,0,0,2,0
2023-05-05,1,0,3,0
2023-05-12,0,0,3,0
2023-05-19,0,0,3,0
2023-05-26,0,0,3,0
2023-06-02,0,0,3,0
2023-06-09,2,0,5,0
2023-06-16,0,0,5,0
2023-06-23,0,0,5,0
2023-06-30,0,0,5,0
2023-07-07,0,0,5,0
2023-07-14,0,0,5,0
2023-07-21,0,0,5,0
2023-07-28,0,0,5,0
2023-08-04,2,236,7,236
2023-08-11,3,48,10,284
2023-08-18,2,160,12,444
2023-08-25,2,0,14,444
2023-09-01,0,0,14,444
2023-09-08,2,0,16,444
2023-09-15,3,34,19,478
2023-09-22,0,0,19,478
2023-09-29,1,0,20,478
2023-10-06,9,377,29,855
2023-10-13,1,0,30,855
7 changes: 7 additions & 0 deletions docs/metrics/events/smeaton-300/_data/events/headlines.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"total_events":30,
"total_audience":855,
"ward_count":5,
"earliest_date":"2023-02-06T00:00:00.000",
"latest_date":"2023-10-10T00:00:00.000"
}
18 changes: 9 additions & 9 deletions scripts/metrics/events/scheduled/dvc.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,29 @@ stages:
outs:
- path: working/metrics/events/all.csv
hash: md5
md5: 00d7b06c116a13a3725a44190043db76
size: 352416
md5: f9cb49fa9127503b7dcd220476480e47
size: 353572
transform:
cmd: PYTHONPATH=. python3 scripts/metrics/events/scheduled/transform.py
deps:
- path: lib/util/
hash: md5
md5: 1716a8255a4563e6111e07666ced83f0.dir
size: 2040
nfiles: 2
md5: c29f173f8ef9871a71c87e431c14f4e5.dir
size: 5093
nfiles: 4
- path: scripts/metrics/events/scheduled/transform.py
hash: md5
md5: 524e279ace334758487c53542086d809
size: 676
- path: working/metrics/events/all.csv
hash: md5
md5: 00d7b06c116a13a3725a44190043db76
size: 352416
md5: f9cb49fa9127503b7dcd220476480e47
size: 353572
outs:
- path: data/metrics/events/master/all.csv
hash: md5
md5: 692a1490875e402d281a1b042cbefe49
size: 279795
md5: 02162cf50e492d421c8602f61e961588
size: 281269
prepare:
cmd: PYTHONPATH=. python3 scripts/metrics/events/scheduled/prepare.py
deps:
Expand Down
Loading

0 comments on commit 921b755

Please sign in to comment.