Need to replace the Bentley OD references in the fbref_scrape.py file. There is only one variable dir used, but that needs to be replaced. Not sure if I should use repo_dir = os.path.dirname(os.path.abspath(__file__)) per the league_merge.py file. Either way, I never included dynamic folder paths for the make_xl function in python, so need to add that into the iteration so that the league-season level dataframes are sent to the Github folder fbref-data and its corresponding subfolders (league-level).
[x] Fix the dir variable to reflect the Github workspace, not Bentley OD.
[x] Make a dynamic export folder path in the iteration to send each league-season level dataframe to the right folder, instead of just sending them into the current workspace withour organization.
Need to replace the Bentley OD references in the fbref_scrape.py file. There is only one variable
dir
used, but that needs to be replaced. Not sure if I should userepo_dir = os.path.dirname(os.path.abspath(__file__))
per the league_merge.py file. Either way, I never included dynamic folder paths for themake_xl
function in python, so need to add that into the iteration so that the league-season level dataframes are sent to the Github folder fbref-data and its corresponding subfolders (league-level).dir
variable to reflect the Github workspace, not Bentley OD.