-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
17 lines (15 loc) · 789 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from src.extract_cb_data import get_schedule_cb, get_commentary_cb
from src.extract_iplt20_data import get_schedule_iplt20, get_commentary_iplt20
from src.extract_results import get_results_info
from src.transform_data import extract_data_from_commentary
if __name__ =='__main__':
# Extract schedule and commentary data from iplt20.com to save it
df_schedule_ipl, abandoned_matches = get_schedule_iplt20()
get_commentary_iplt20(df_schedule_ipl, abandoned_matches)
# Extract schedule and commentary data from cricbuzz.com to save it
df_schedule_cb = get_schedule_cb()
get_commentary_cb(df_schedule_cb)
# Extract results data
get_results_info()
# Transformations of data to extract additional iformation and statistics
extract_data_from_commentary()