UBC-MDS / fifa-potential

Supervised machine learning model to predict potential rating of players in FIFA 22
https://ubc-mds.github.io/fifa-potential/high-potential-fifa-prediction-report.html
Other
0 stars 0 forks source link

downloading zip checks #21

Closed srfrew closed 7 months ago

srfrew commented 7 months ago

This is complete and running with pytest commands. I haven't integrated it into the actual ipynb yet. The cell that downloads the dataset should be replaced with this:

# download dataset
# method adapted from: https://github.com/ttimbers/breast_cancer_predictor_py/tree/0.0.1
url = "https://sports-statistics.com/database/fifa/fifa_2022_datasets.zip"

from src.download_unpack_zip_extract_csv import download_unpack_zip_extract_csv

df_raw = download_unpack_zip_extract_csv(url, "players_22.csv")
df_raw