-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMaster.py
68 lines (39 loc) · 1.33 KB
/
Master.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
59
60
61
62
63
64
65
66
67
# Master PNation File
# last Update : 9.27.19
import GooglePull
from FileManagementTeams import combine_Teams_to_Roster, Rosters_To_Team_Files, Roster_lahman_tag
import GooglePush
from Rankings import PointCycle, points, marcelCalculations
from DraftCalculator import draft_prep
###### Draft Calculator #######
# Pull data from Google, run Draft Calculations, return data to Google
def Draft():
# Step 1: Pull Google Data
GooglePull()
# Step 2: Condense Rosters to FullRoster.csv File
combine_Teams_to_Roster()
# Step 3: Run Draft Calculator to process Draft Calculations
draft_prep()
# Step 4: Send FullRoster Draft results to individual team files
Rosters_To_Team_Files()
# Step 5: Update Google Sheet with Updated
GooglePush()
###### Team Analysis #######
# Pull Data from Google and run Team Analysis
def teamAnalysis():
# Step 1: Pull Google Data
GooglePull()
# Step 2: Condense Rosters to FullRoster.csv File
combine_Teams_to_Roster()
# Step 3:
# Step 4:
###### Point Cycle #######
# Create Files for each Season and add League Totals
def pointCycle():
# Step 1: Pull Google Data
PointCycle()
###### Current Point Rankings #######
# Create Current Year's Point Rankings
def pointRank():
# Step 1: Run Points (change to current year)
points(2019)