Exemple #1
0
 def __init__(self):
     GithubRepo.__init__(
         self,
         output_dir=get_overseas_dir() / 'ca' / 'Covid19Canada',
         github_url='https://github.com/ishaberry/Covid19Canada')
     self.sdpf = StrictDataPointsFactory(mode=MODE_STRICT)
     self.update()
Exemple #2
0
 def __init__(self):
     GithubRepo.__init__(
         self,
         output_dir=get_overseas_dir() / 'jp' / 'covid19' / 'data',
         github_url='https://github.com/kaz-ogiwara/covid19')
     self.sdpf = StrictDataPointsFactory(mode=MODE_STRICT)
     self.update()
 def __init__(self):
     GithubRepo.__init__(
         self,
         output_dir=get_overseas_dir() / 'de' / 'covid-19-germany-gae',
         github_url='https://github.com/jgehrcke/covid-19-germany-gae')
     self.sdpf = StrictDataPointsFactory(mode=MODE_STRICT)
     self.update()
 def __init__(self):
     # Only raw_data4.json is currently being updated,
     # so won't download the others every day
     GithubRepo.__init__(self,
                         output_dir=get_overseas_dir() / 'id' / 'INACOVID',
                         github_url='https://github.com/erlange/INACOVID')
     self.update()
 def __init__(self):
     GithubRepo.__init__(
         self,
         output_dir=get_overseas_dir() / 'uk' / 'covid-19-uk-data' / 'data',
         github_url='https://github.com/tomwhite/covid-19-uk-data')
     self.sdpf = StrictDataPointsFactory(mode=MODE_STRICT)
     self.update()
Exemple #6
0
 def __init__(self):
     GithubRepo.__init__(
         self,
         output_dir=get_overseas_dir() / 'au' / 'AU_COVID19',
         github_url='https://github.com/pappubahry/AU_COVID19')
     self.sdpf = StrictDataPointsFactory(region_mappings={},
                                         mode=MODE_STRICT)
     self.update()
 def __init__(self):
     GithubRepo.__init__(self,
                         output_dir=get_overseas_dir() / 'it' / 'COVID-19',
                         github_url='https://github.com/pcm-dpc/COVID-19')
     self.sdpf = StrictDataPointsFactory(region_mappings={
         ('it_province', 'friuli venezia giulia', 'it-ud')
     },
                                         mode=MODE_STRICT)
     self.update()
Exemple #8
0
 def __init__(self, do_update=True):
     GithubRepo.__init__(self,
                         output_dir=get_overseas_dir() / 'world_owid' /
                         'covid-19-data',
                         github_url='https://github.com/owid/covid-19-data')
     self.spdf = StrictDataPointsFactory(region_mappings=world_jhu_mappings,
                                         mode=MODE_STRICT)
     if do_update:
         self.update()
Exemple #9
0
 def __init__(self):
     GithubRepo.__init__(
         self,
         output_dir=get_overseas_dir() / 'es' / 'datasets',
         github_url='https://github.com/datadista/datasets/')
     self.sdpf = StrictDataPointsFactory(region_mappings={
         ('admin_1', 'es', 'es-cn'): None,
     },
                                         mode=MODE_DEV)
     self.update()
Exemple #10
0
 def __init__(self, do_update=True):
     GithubRepo.__init__(self,
                         output_dir=get_overseas_dir() / 'world_jhu' / 'COVID-19',
                         github_url='https://github.com/CSSEGISandData/COVID-19')
     self.spdf = StrictDataPointsFactory(
         region_mappings=world_jhu_mappings,
         mode=MODE_STRICT
     )
     if do_update:
         self.update()
Exemple #11
0
    def __init__(self):
        GithubRepo.__init__(self,
                            output_dir=get_overseas_dir() / 'world_bing' / 'Bing-COVID-19-Data',
                            github_url='https://github.com/microsoft/Bing-COVID-19-Data')

        self.sdpf = StrictDataPointsFactory(
            region_mappings=world_bing_mappings,
            mode=MODE_STRICT
        )
        self.update()
Exemple #12
0
 def __init__(self):
     GithubRepo.__init__(self,
                         output_dir=get_overseas_dir() / 'ch' / 'covid_19',
                         github_url='https://github.com/openZH/covid_19')
     self.sdpf = StrictDataPointsFactory(region_mappings={
         ('admin_1', 'ch', 'geneva'):
         None,
         ('admin_1', 'ch', 'graubünden; grisons'):
         None,
         ('admin_1', 'ch', 'principality of liechtenstein'):
         None,
     },
                                         mode=MODE_STRICT)
     self.update()
 def __init__(self):
     GithubRepo.__init__(
         self,
         output_dir=get_overseas_dir() / 'cu' / 'covid19cubadata.github.io',
         github_url=
         'https://github.com/covid19cubadata/covid19cubadata.github.io/tree/master/data'
     )
     self.sdpf = StrictDataPointsFactory(region_mappings={
         ('admin_1', 'cu', 'trinidad'): ('MERGE', 'admin_1', 'cu', 'cu-07'),
         ('cu_municipality', 'cu', 'trinidad'):
         ('MERGE', 'cu_municipality', 'cu-07', 'trinidad'),
     },
                                         mode=MODE_STRICT)
     self.ltrc = LabelsToRegionChild()
     self.update()
Exemple #14
0
 def __init__(self):
     GithubRepo.__init__(self,
                         output_dir=get_overseas_dir() / 'nz' / 'nz-covid19-data',
                         github_url='https://github.com/philiprenich/nz-covid19-data')
     self.sdpf = StrictDataPointsFactory()
     self.update()
 def __init__(self):
     GithubRepo.__init__(
         self,
         output_dir=get_overseas_dir() / 'my' / 'covid-19-malaysia',
         github_url='https://github.com/ynshung/covid-19-malaysia')
     self.sdpf = StrictDataPointsFactory(region_mappings={
         ('admin_0', '', 'malaysia'): ('admin_0', '', 'my'),
         ('admin_0', '', 'my'): ('admin_0', '', 'my'),
         ('admin_1', 'malaysia', 'johor'): ('admin_1', 'my', 'my-01'),
         ('admin_1', 'malaysia', 'kedah'): ('admin_1', 'my', 'my-02'),
         ('admin_1', 'malaysia', 'kelantan'): ('admin_1', 'my', 'my-03'),
         ('admin_1', 'malaysia', 'melaka'): ('admin_1', 'my', 'my-04'),
         ('admin_1', 'malaysia', 'negeri-sembilan'):
         None,
         ('admin_1', 'malaysia', 'pahang'): ('admin_1', 'my', 'my-06'),
         ('admin_1', 'malaysia', 'perak'): ('admin_1', 'my', 'my-08'),
         ('admin_1', 'malaysia', 'perlis'): ('admin_1', 'my', 'my-09'),
         ('admin_1', 'malaysia', 'pulau-pinang'):
         None,
         ('admin_1', 'malaysia', 'sabah'): ('admin_1', 'my', 'my-12'),
         ('admin_1', 'malaysia', 'sarawak'): ('admin_1', 'my', 'my-13'),
         ('admin_1', 'malaysia', 'selangor'): ('admin_1', 'my', 'my-10'),
         ('admin_1', 'malaysia', 'terengganu'): ('admin_1', 'my', 'my-11'),
         ('admin_1', 'malaysia', 'wp-kuala-lumpur'):
         None,
         ('admin_1', 'malaysia', 'wp-labuan'):
         None,
         ('admin_1', 'malaysia', 'wp-putrajaya'):
         None,
         ('admin_1', 'my', 'my-01'): ('admin_1', 'my', 'my-01'),
         ('admin_1', 'my', 'my-02'): ('admin_1', 'my', 'my-02'),
         ('admin_1', 'my', 'my-03'): ('admin_1', 'my', 'my-03'),
         ('admin_1', 'my', 'my-04'): ('admin_1', 'my', 'my-04'),
         ('admin_1', 'my', 'my-06'): ('admin_1', 'my', 'my-06'),
         ('admin_1', 'my', 'my-08'): ('admin_1', 'my', 'my-08'),
         ('admin_1', 'my', 'my-09'): ('admin_1', 'my', 'my-09'),
         ('admin_1', 'my', 'my-10'): ('admin_1', 'my', 'my-10'),
         ('admin_1', 'my', 'my-11'): ('admin_1', 'my', 'my-11'),
         ('admin_1', 'my', 'my-12'): ('admin_1', 'my', 'my-12'),
         ('admin_1', 'my', 'my-13'): ('admin_1', 'my', 'my-13'),
         ('my_district', 'my', 'alor-gajah'):
         None,
         ('my_district', 'my', 'asajaya'): ('my_district', 'my', 'asajaya'),
         ('my_district', 'my', 'bachok'): ('my_district', 'my', 'bachok'),
         ('my_district', 'my', 'baling'): ('my_district', 'my', 'baling'),
         ('my_district', 'my', 'bandar-bahru'):
         None,
         ('my_district', 'my', 'barat-daya'):
         None,
         ('my_district', 'my', 'batang-padang'):
         None,
         ('my_district', 'my', 'batu-pahat'):
         None,
         ('my_district', 'my', 'bau'): ('my_district', 'my', 'bau'),
         ('my_district', 'my', 'beaufort'):
         ('my_district', 'my', 'beaufort'),
         ('my_district', 'my', 'belaga'): ('my_district', 'my', 'belaga'),
         ('my_district', 'my', 'beluran'): ('my_district', 'my', 'beluran'),
         ('my_district', 'my', 'beluru'):
         None,
         ('my_district', 'my', 'bentong'): ('my_district', 'my', 'bentong'),
         ('my_district', 'my', 'bera'): ('my_district', 'my', 'bera'),
         ('my_district', 'my', 'besut'): ('my_district', 'my', 'besut'),
         ('my_district', 'my', 'betong'): ('my_district', 'my', 'betong'),
         ('my_district', 'my', 'bintulu'): ('my_district', 'my', 'bintulu'),
         ('my_district', 'my', 'bukit-mabong'):
         None,
         ('my_district', 'my', 'cameron'):
         None,
         ('my_district', 'my', 'cheras'):
         None,
         ('my_district', 'my', 'dalat'): ('my_district', 'my', 'dalat'),
         ('my_district', 'my', 'daro'): ('my_district', 'my', 'daro'),
         ('my_district', 'my', 'dungun'): ('my_district', 'my', 'dungun'),
         ('my_district', 'my', 'gombak'): ('my_district', 'my', 'gombak'),
         ('my_district', 'my', 'gua-musang'):
         None,
         ('my_district', 'my', 'hillir-perak'):
         None,
         ('my_district', 'my', 'hulu-langat'):
         None,
         ('my_district', 'my', 'hulu-perak'):
         None,
         ('my_district', 'my', 'hulu-selangor'):
         None,
         ('my_district', 'my', 'hulu-terengganu'):
         None,
         ('my_district', 'my', 'jasin'): ('my_district', 'my', 'jasin'),
         ('my_district', 'my', 'jelebu'): ('my_district', 'my', 'jelebu'),
         ('my_district', 'my', 'jeli'): ('my_district', 'my', 'jeli'),
         ('my_district', 'my', 'jempol'): ('my_district', 'my', 'jempol'),
         ('my_district', 'my', 'jerantut'):
         ('my_district', 'my', 'jerantut'),
         ('my_district', 'my', 'johor-bahru'):
         None,
         ('my_district', 'my', 'julau'): ('my_district', 'my', 'julau'),
         ('my_district', 'my', 'kabong'):
         None,
         ('my_district', 'my', 'kampar'): ('my_district', 'my', 'kampar'),
         ('my_district', 'my', 'kanowit'): ('my_district', 'my', 'kanowit'),
         ('my_district', 'my', 'kapit'): ('my_district', 'my', 'kapit'),
         ('my_district', 'my', 'kemaman'): ('my_district', 'my', 'kemaman'),
         ('my_district', 'my', 'keningau'):
         ('my_district', 'my', 'keningau'),
         ('my_district', 'my', 'kepong'):
         None,
         ('my_district', 'my', 'kerian'): ('my_district', 'my', 'kerian'),
         ('my_district', 'my', 'kinabatangan'):
         ('my_district', 'my', 'kinabatangan'),
         ('my_district', 'my', 'kinta'): ('my_district', 'my', 'kinta'),
         ('my_district', 'my', 'klang'): ('my_district', 'my', 'klang'),
         ('my_district', 'my', 'kluang'): ('my_district', 'my', 'kluang'),
         ('my_district', 'my', 'kota-belud'):
         None,
         ('my_district', 'my', 'kota-bharu'):
         None,
         ('my_district', 'my', 'kota-kinabalu'):
         None,
         ('my_district', 'my', 'kota-marudu'):
         None,
         ('my_district', 'my', 'kota-samarahan'):
         None,
         ('my_district', 'my', 'kota-setar'):
         None,
         ('my_district', 'my', 'kota-tinggi'):
         None,
         ('my_district', 'my', 'kuala-kangsar'):
         None,
         ('my_district', 'my', 'kuala-krai'):
         None,
         ('my_district', 'my', 'kuala-langat'):
         None,
         ('my_district', 'my', 'kuala-muda'):
         None,
         ('my_district', 'my', 'kuala-nerus'):
         None,
         ('my_district', 'my', 'kuala-penyu'):
         None,
         ('my_district', 'my', 'kuala-pilah'):
         None,
         ('my_district', 'my', 'kuala-selangor'):
         None,
         ('my_district', 'my', 'kuala-terengganu'):
         None,
         ('my_district', 'my', 'kuantan'): ('my_district', 'my', 'kuantan'),
         ('my_district', 'my', 'kubang-pasu'):
         None,
         ('my_district', 'my', 'kuching'): ('my_district', 'my', 'kuching'),
         ('my_district', 'my', 'kudat'): ('my_district', 'my', 'kudat'),
         ('my_district', 'my', 'kulai'):
         None,
         ('my_district', 'my', 'kulim'): ('my_district', 'my', 'kulim'),
         ('my_district', 'my', 'kunak'): ('my_district', 'my', 'kunak'),
         ('my_district', 'my', 'lahad-datu'):
         None,
         ('my_district', 'my', 'langkawi'): ('my_district', 'my',
                                             'langkawi'),
         ('my_district', 'my', 'larut-matang-selama'):
         None,
         ('my_district', 'my', 'lawas'): ('my_district', 'my', 'lawas'),
         ('my_district', 'my', 'lembah-pantai'):
         None,
         ('my_district', 'my', 'limbang'): ('my_district', 'my', 'limbang'),
         ('my_district', 'my', 'lipis'): ('my_district', 'my', 'lipis'),
         ('my_district', 'my', 'lubok-antu'):
         None,
         ('my_district', 'my', 'lundu'): ('my_district', 'my', 'lundu'),
         ('my_district', 'my', 'machang'): ('my_district', 'my', 'machang'),
         ('my_district', 'my', 'manjung'):
         None,
         ('my_district', 'my', 'maran'): ('my_district', 'my', 'maran'),
         ('my_district', 'my', 'marang'): ('my_district', 'my', 'marang'),
         ('my_district', 'my', 'marudi'): ('my_district', 'my', 'marudi'),
         ('my_district', 'my', 'matu'): ('my_district', 'my', 'matu'),
         ('my_district', 'my', 'melaka-tengah'):
         None,
         ('my_district', 'my', 'meradong'): ('my_district', 'my',
                                             'meradong'),
         ('my_district', 'my', 'mersing'): ('my_district', 'my', 'mersing'),
         ('my_district', 'my', 'miri'): ('my_district', 'my', 'miri'),
         ('my_district', 'my', 'muallim'):
         None,
         ('my_district', 'my', 'muar'): ('my_district', 'my', 'muar'),
         ('my_district', 'my', 'mukah'): ('my_district', 'my', 'mukah'),
         ('my_district', 'my', 'nabawan'): ('my_district', 'my', 'nabawan'),
         ('my_district', 'my', 'padang-terap'):
         None,
         ('my_district', 'my', 'pakan'): ('my_district', 'my', 'pakan'),
         ('my_district', 'my', 'papar'): ('my_district', 'my', 'papar'),
         ('my_district', 'my', 'pasir-mas'):
         None,
         ('my_district', 'my', 'pasir-putih'):
         None,
         ('my_district', 'my', 'pekan'): ('my_district', 'my', 'pekan'),
         ('my_district', 'my', 'penampang'): ('my_district', 'my',
                                              'penampang'),
         ('my_district', 'my', 'pendang'): ('my_district', 'my', 'pendang'),
         ('my_district', 'my', 'perak-tengah'):
         None,
         ('my_district', 'my', 'petaling'): ('my_district', 'my',
                                             'petaling'),
         ('my_district', 'my', 'pitas'): ('my_district', 'my', 'pitas'),
         ('my_district', 'my', 'pontian'): ('my_district', 'my', 'pontian'),
         ('my_district', 'my', 'port-dickson'):
         None,
         ('my_district', 'my', 'pusa'):
         None,
         ('my_district', 'my', 'putatan'): ('my_district', 'my', 'putatan'),
         ('my_district', 'my', 'ranau'): ('my_district', 'my', 'ranau'),
         ('my_district', 'my', 'raub'): ('my_district', 'my', 'raub'),
         ('my_district', 'my', 'rembau'): ('my_district', 'my', 'rembau'),
         ('my_district', 'my', 'rompin'): ('my_district', 'my', 'rompin'),
         ('my_district', 'my', 'sabak-bernam'):
         None,
         ('my_district', 'my', 'sandakan'): ('my_district', 'my',
                                             'sandakan'),
         ('my_district', 'my', 'saratok'): ('my_district', 'my', 'saratok'),
         ('my_district', 'my', 'sarikei'): ('my_district', 'my', 'sarikei'),
         ('my_district', 'my', 'sebauh'):
         None,
         ('my_district', 'my', 'seberang-perai-selatan'):
         None,
         ('my_district', 'my', 'seberang-perai-tengah'):
         None,
         ('my_district', 'my', 'seberang-perai-utara'):
         None,
         ('my_district', 'my', 'segamat'): ('my_district', 'my', 'segamat'),
         ('my_district', 'my', 'selangau'): ('my_district', 'my',
                                             'selangau'),
         ('my_district', 'my', 'semporna'): ('my_district', 'my',
                                             'semporna'),
         ('my_district', 'my', 'sepang'): ('my_district', 'my', 'sepang'),
         ('my_district', 'my', 'seremban'): ('my_district', 'my',
                                             'seremban'),
         ('my_district', 'my', 'serian'): ('my_district', 'my', 'serian'),
         ('my_district', 'my', 'setiu'): ('my_district', 'my', 'setiu'),
         ('my_district', 'my', 'sibu'): ('my_district', 'my', 'sibu'),
         ('my_district', 'my', 'sik'): ('my_district', 'my', 'sik'),
         ('my_district', 'my', 'simunjan'): ('my_district', 'my',
                                             'simunjan'),
         ('my_district', 'my', 'sipitang'): ('my_district', 'my',
                                             'sipitang'),
         ('my_district', 'my', 'song'): ('my_district', 'my', 'song'),
         ('my_district', 'my', 'sri-aman'):
         None,
         ('my_district', 'my', 'subis'):
         None,
         ('my_district', 'my', 'tambunan'): ('my_district', 'my',
                                             'tambunan'),
         ('my_district', 'my', 'tampin'): ('my_district', 'my', 'tampin'),
         ('my_district', 'my', 'tanah-merah'):
         None,
         ('my_district', 'my', 'tangkak'):
         None,
         ('my_district', 'my', 'tanjung-manis'):
         None,
         ('my_district', 'my', 'tatau'): ('my_district', 'my', 'tatau'),
         ('my_district', 'my', 'tawau'): ('my_district', 'my', 'tawau'),
         ('my_district', 'my', 'tebedu'):
         None,
         ('my_district', 'my', 'telung-usan'):
         None,
         ('my_district', 'my', 'temerloh'): ('my_district', 'my',
                                             'temerloh'),
         ('my_district', 'my', 'tenom'): ('my_district', 'my', 'tenom'),
         ('my_district', 'my', 'timur-laut'):
         None,
         ('my_district', 'my', 'titiwangsa'):
         None,
         ('my_district', 'my', 'tongod'): ('my_district', 'my', 'tongod'),
         ('my_district', 'my', 'tuaran'): ('my_district', 'my', 'tuaran'),
         ('my_district', 'my', 'tumpat'): ('my_district', 'my', 'tumpat'),
         ('my_district', 'my', 'yan'): ('my_district', 'my', 'yan')
     },
                                         mode=MODE_STRICT)
     self.update()
Exemple #16
0
 def __init__(self):
     GithubRepo.__init__(self,
                         output_dir=get_overseas_dir() / 'lk' / 'covid19-srilankan-data',
                         github_url='https://github.com/arimacdev/covid19-srilankan-data')
     self.sdpf = StrictDataPointsFactory(mode=MODE_STRICT)
     self.update()
Exemple #17
0
 def __init__(self):
     GithubRepo.__init__(self,
                         output_dir=get_overseas_dir() / 'fr' / 'data',
                         github_url='https://github.com/opencovid19-fr/data')
     self.sdpf = StrictDataPointsFactory(mode=MODE_STRICT)
     self.update()
Exemple #18
0
 def __init__(self):
     GithubRepo.__init__(
         self,
         output_dir=get_overseas_dir() / 'us_nytimes' / 'covid-19-data',
         github_url='https://github.com/nytimes/covid-19-data')
     self.sdpf = StrictDataPointsFactory(region_mappings={
         ('us_county', 'alaska', 'fairbanks north star borough'):
         None,
         ('us_county', 'alaska', 'ketchikan gateway borough'):
         None,
         ('us_county', 'alaska', 'kenai peninsula borough'):
         None,
         ('us_county', 'missouri', 'kansas city'):
         None,
         ('us_county', 'alaska', 'juneau city and borough'):
         None,
         ('us_county', 'alaska', 'matanuska-susitna borough'):
         None,
         ('us_county', 'alaska', 'yukon-koyukuk census area'):
         None,
         ('us_county', 'alaska', 'southeast fairbanks census area'):
         None,
         ('us_county', 'alaska', 'petersburg borough'):
         None,
         ('us_county', 'alaska', 'bethel census area'):
         None,
         ('us_county', 'alaska', 'prince of wales-hyder census area'):
         None,
         ('us_county', 'alaska', 'nome census area'):
         None,
         ('us_county', 'alaska', 'kodiak island borough'):
         None,
         ('us_county', 'alaska', 'sitka city and borough'):
         None,
         ('us_county', 'puerto rico', 'anasco'):
         None,
         ('us_county', 'puerto rico', 'bayamon'):
         None,
         ('us_county', 'puerto rico', 'canovanas'):
         None,
         ('us_county', 'puerto rico', 'catano'):
         None,
         ('us_county', 'puerto rico', 'comerio'):
         None,
         ('us_county', 'puerto rico', 'guanica'):
         None,
         ('us_county', 'puerto rico', 'juana diaz'):
         None,
         ('us_county', 'puerto rico', 'las marias'):
         None,
         ('us_county', 'puerto rico', 'loiza'):
         None,
         ('us_county', 'puerto rico', 'manati'):
         None,
         ('us_county', 'puerto rico', 'mayaguez'):
         None,
         ('us_county', 'puerto rico', 'penuelas'):
         None,
         ('us_county', 'puerto rico', 'rincon'):
         None,
         ('us_county', 'puerto rico', 'rio grande'):
         None,
         ('us_county', 'puerto rico', 'san german'):
         None,
         ('us_county', 'puerto rico', 'san sebastian'):
         None,
         ('us_county', 'alaska', 'valdez-cordova census area'):
         None,
         ('us_county', 'alaska', 'northwest arctic borough'):
         None,
         ('us_county', 'alaska', 'north slope borough'):
         None,
         ('us_county', 'alaska', 'bristol bay borough'):
         None,
         ('us_county', 'alaska', 'dillingham census area'):
         None,
         ('us_county', 'alaska', 'aleutians west census area'):
         None,
         ('us_county', 'alaska', 'lake and peninsula borough'):
         None,
         ('us_county', 'alaska', 'wrangell city and borough'):
         None,
         ('us_county', 'alaska', 'aleutians east borough'):
         None,
         ('us_county', 'alaska', 'haines borough'):
         None,
         ('us_county', 'alaska', 'denali borough'):
         None,
         ('us_county', 'alaska', 'kusilvak census area'):
         None,
         ('us_county', 'alaska', 'skagway municipality'):
         None,
         ('us_county', 'missouri', 'joplin'):
         None,
         ('admin_1', 'us', 'puerto rico'):
         None,
         ('admin_1', 'us', 'virgin islands'):
         None,
         ('admin_1', 'us', 'guam'):
         None,
         ('admin_1', 'us', 'northern mariana islands'):
         None,
     },
                                         mode=MODE_STRICT)
     self.update()