Skip to content
Snippets Groups Projects
Commit 086be15c authored by thomaswoehlke's avatar thomaswoehlke
Browse files

* Fixed #123 split RkiBundeslaenderService into two Services, one for...

* Fixed #123 split RkiBundeslaenderService into two Services, one for bundeslaender and one for landkreise
* Fixed #128 add fields from csv to RkiLandkreiseImport
* Fixed #139 refactor RkiBundeslaenderServiceDownload to new method scheme introduced 07.02.2021
* Fixed #140 move WhoImport to RKI in: rk_service_import.py
* Fixed #125 implement RkiLandkreise
* Fixed #126 implement RkiBundeslaenderImport
parent 84d7accc
No related branches found
No related tags found
No related merge requests found
...@@ -74,15 +74,15 @@ class EcdcImport(db.Model): ...@@ -74,15 +74,15 @@ class EcdcImport(db.Model):
cls.country_territory_code, cls.country_territory_code,
cls.pop_data_2019, cls.pop_data_2019,
cls.continent_exp cls.continent_exp
).filter(
cls.continent_exp == my_continent
).group_by( ).group_by(
cls.countries_and_sterritories, cls.countries_and_sterritories,
cls.geo_id, cls.geo_id,
cls.country_territory_code, cls.country_territory_code,
cls.pop_data_2019, cls.pop_data_2019,
cls.continent_exp cls.continent_exp
).order_by(cls.countries_and_territories.asc()).distinct().all() ).order_by(cls.countries_and_territories.asc()).filter(
cls.continent_exp == my_continent
).distinct().all()
#sql = """ #sql = """
#select distinct #select distinct
# countries_and_territories, # countries_and_territories,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment