updating GA data: 20230129-20230329
This commit is contained in:
@@ -3,6 +3,7 @@ from CompletedBatchcodeColumnAdder import CompletedBatchcodeColumnAdder
|
||||
from BatchcodeCompletion import BatchcodeCompletion
|
||||
from CountriesColumnAdder import CountriesColumnAdder
|
||||
from BatchCodeTableFactory import BatchCodeTableFactory
|
||||
from InternationalVaersCovid19Provider import getInternationalVaersCovid19
|
||||
|
||||
def getCountriesByCompletedBatchcode(internationalVaersCovid19):
|
||||
result = _readExploration('data/Country By Batchcode Search Term.csv', indexName = 'Batchcode Search Term')
|
||||
@@ -31,4 +32,10 @@ def _readExploration(csvFile, indexName):
|
||||
exploration.drop(columns='Totals', inplace=True)
|
||||
for column in exploration.columns:
|
||||
exploration[column] = exploration[column].astype('int64')
|
||||
return exploration
|
||||
return exploration
|
||||
|
||||
def getCountriesByBatchcodeBeforeDeletion():
|
||||
internationalVaersCovid19 = getInternationalVaersCovid19(dataDir = 'VAERSBeforeDeletion', years = [2020, 2021, 2022])
|
||||
batchCodeTable = BatchCodeTableFactory(internationalVaersCovid19).createGlobalBatchCodeTable()
|
||||
countriesByBatchcodeBeforeDeletion = batchCodeTable[['Countries']]
|
||||
return countriesByBatchcodeBeforeDeletion
|
||||
|
||||
Reference in New Issue
Block a user