Skip to content

corrected url for recovered cases

Louis Gostiaux requested to merge fix_resources into master

On charge deux fois deaths, au lieu de deaths et recovered. On peut tester cela ainsi

import numpy as np
from covid.database import WorldCovidMatcher, CountryCollection                                                                                                             

cm_d = WorldCovidMatcher('deaths')                                                                                                                                           
cm_d.build_database()
cm_r = WorldCovidMatcher('recovered')                                                                                                                         cm_r.build_database()

country_list=['France']
D = cm_d.get_cases(CountryCollection(country_list), normalized=True, cumulative=True)
R = cm_r.get_cases(CountryCollection(country_list), normalized=True, cumulative=True)

print(D['France']-R['France'])

Une fois la typo corrigée on n'a plus D==R

Edited by Louis Gostiaux

Merge request reports

Loading