-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmetadata.py
58 lines (52 loc) · 2.64 KB
/
metadata.py
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
academy_teams = ['Bröndby IF U19', 'Midtjylland U19', 'Copenhagen U19',
'Nordsjaell. U19', 'Aalborg BK U19', 'SönderjyskE U19',
'Odense BK U19', 'Vejle BK U19', 'Viborg FF U19',
'Silkeborg U19', 'Aarhus GF U19', 'Randers FC Yth.',
'AC Horsens U19', 'Horsens Youth', 'Right to Dream',
'Lyngby BK U19', 'Lyngby BK Youth', 'Esbjerg fB U19',
'Esbjerg fB Youth', 'HB Köge U19', 'HB Köge Youth',
'FC Vestsjaelland U19', 'Hobro IK U19']
scandinavian = ['Sweden', 'Norway', 'Iceland', 'Finland',
'Faroe Islands']
east_europe = ['Russia', 'Turkey', 'Croatia', 'Cyprus', 'Slovakia',
'Greece', 'Kazakhstan', 'Moldova', 'Romania',
'Georgia', 'Poland', 'Israel', 'Lithuania',
'Czech Republic', 'Slovenia', 'North Macedonia',
'Ukraine', 'Serbia', 'Bulgaria', 'Hungary',
'Bosnia-Herzegovina', 'Armenia']
asia_ocean_uae = ['Malaysia', 'Hongkong', 'Australia', 'Thailand',
'China', 'India', 'United Arab Emirates', 'Azerbaijan',
'Japan', 'Saudi Arabia', 'Maldives']
europe = ['Italy', 'Germany', 'England', 'Spain', 'France',
'Scotland', 'Portugal', 'Austria', 'Switzerland',
'Netherlands', 'Belgium', 'Malta']
americas = ['Brazil', 'United States', 'Costa Rica', 'Paraguay',
'Peru', 'Mexico', 'Argentina']
africa = ['South Africa', 'Zimbabwe', 'Tanzania',
'Cameroon', "Cote d'Ivoire", 'Burkina Faso',
'The Gambia', 'Ghana', 'Nigeria']
others = ['South Africa', 'Zimbabwe', 'Tanzania',
'Cameroon', "Cote d'Ivoire", 'Burkina Faso',
'The Gambia', 'Ghana', 'Nigeria', 'Brazil',
'United States', 'Costa Rica', 'Paraguay',
'Peru', 'Mexico', 'Argentina','Malaysia',
'Hongkong', 'Australia', 'Thailand',
'China', 'India', 'United Arab Emirates', 'Azerbaijan',
'Japan', 'Saudi Arabia', 'Maldives', 'No country']
# matplotlib utils
background_color = '#181818'
blue = '#015a9a'
red = '#f24b4b'
yellow = '#feb701'
green = '#228B22'
# plot utils for bar plots
bar_colors_type = [blue, red, yellow, 'w']
bar_title_type = ['Akademi', 'Købt', 'Fri Transfer', 'Leje']
bar_colors_area = [red, yellow, blue, 'w', green]
bar_title_area = ['Danmark', 'Østeuropa', 'Europa', 'Andre', 'Skandinavien']
# seasons
seasons_str = ['2010', '2011', '2012', '2013', '2014', '2015',
'2016', '2017', '2018', '2019', '2020', '2021']
# Get transfer summary
seasons_int = [2010, 2016, 2011, 2017, 2012, 2018,
2013, 2019, 2014, 2020, 2015, 2021]