remove Git LFS and change data file URL

* removes the Excel file stored in Git LFS and disable LFS
* replaces the local Excel file with an URL to download the file from a
  static website
This commit is contained in:
Nicola Tarocco 2023-06-07 11:39:56 +02:00
parent 3355792bd4
commit a9ce6d9c8d
No known key found for this signature in database
GPG key ID: A08DEF00BA54E806
3 changed files with 4 additions and 8 deletions

1
.gitattributes vendored
View file

@ -1 +0,0 @@
*.xlsx filter=lfs diff=lfs merge=lfs -text

View file

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2aef0605c3668b4884b815f71c0eae93eaaa7b88d6b6c17ff97f6a86a38674a5
size 76179581

View file

@ -3,12 +3,12 @@ from tabulate import tabulate
'''
Script file to generate the vaccine effectiveness values.
To generate the primary vaccine effectiveness values, uncoment lines 16-21.
To generate the booster effectiveness values, uncoment lines 26-56.
To generate the primary vaccine effectiveness values, uncomment lines 16-21.
To generate the booster effectiveness values, uncomment lines 26-56.
'''
# Data from 08 Sep. 2022
file_loc = "./WeeklySummary_COVID19_VE_Studies_08Sep2022_adapted.xlsx"
file_loc = "https://caimira-resources.web.cern.ch/WeeklySummary_COVID19_VE_Studies_08Sep2022_adapted.xlsx"
# ------- PRIMARY VACCINATION ------ #
@ -43,7 +43,7 @@ file_loc = "./WeeklySummary_COVID19_VE_Studies_08Sep2022_adapted.xlsx"
# new_rows_with_or.at[index, 'primary series vaccine'] = row['primary series vaccine'].split(' or ')[1]
# rows_to_add.loc[len(rows_indexes)+index] = new_rows_with_or.loc[index]
# # merge the dataframe without the ' or ' with the new dataframe that has the rows divided in two
# # merge the dataframe without the ' or ' with the new dataframe that has the rows divided in two
# final_df = pd.concat([df_without_or, rows_to_add]).reset_index().drop(columns=['index'])
# # calculate the VE value