def get_hospitals_by_bundeslander(): """ Return all Hospitals """ hospitalsAggregated = db.session.query(HospitalsPerBundesland).all() return jsonify(__as_feature_collection(hospitalsAggregated)), 200
def get_cases_by_landkreise_3daysbefore(): """ Return all Hospitals """ hospitalsAggregated = db.session.query(CasesPerLandkreis3DaysBefore).all() return jsonify(__as_feature_collection(hospitalsAggregated)), 200
def get_hospitals_by_regierungsbezirke(): """ Return all Hospitals """ hospitalsAggregated = db.session.query(HospitalsPerRegierungsbezirk).all() return jsonify(__as_feature_collection(hospitalsAggregated)), 200
def get_cases_by_regierungsbezirke_3daysbefore(): """ Return all Hospitals """ hospitalsAggregated = db.session.query( CasesPerRegierungsbezirk3DaysBefore).all() return jsonify(__as_feature_collection(hospitalsAggregated)), 200
def get_hospitals_by_landkreise(): """ Return all Hospitals """ hospitalsAggregated = db.session.query(HospitalsPerLandkreis).all() return jsonify(__as_feature_collection(hospitalsAggregated)), 200
def get_hospitals(): """ Return all Hospitals """ hospitals = db.session.query(Hospital).all() return jsonify(__as_feature_collection(hospitals)), 200
def get_cases_by_landkreise_yesterday(): """ Return all Hospitals """ hospitalsAggregated = db.session.query(CasesPerLandkreisYesterday).all() return jsonify(__as_feature_collection(hospitalsAggregated)), 200
def get_cases_by_rebundeslaender_yesterday(): """ Return all Hospitals """ hospitalsAggregated = db.session.query(CasesPerBundeslandYesterday).all() return jsonify(__as_feature_collection(hospitalsAggregated)), 200
def get_hospitals_development_bundeslaender(): """ Return all Hospitals Developments """ hospitals = db.session.query(HospitalsDevelopmentPerBundesland).all() return jsonify(__as_feature_collection(hospitals)), 200
def get_hospitals_development_regierungsbezirke(): """ Return all Hospitals Developments """ hospitals = db.session.query(HospitalsDevelopmentPerRegierungsbezirk).all() return jsonify(__as_feature_collection(hospitals)), 200
def get_hospitals_development_landkreise(): """ Return all Hospitals Developments """ hospitals = db.session.query(HospitalsDevelopmentPerLandkreis).all() return jsonify(__as_feature_collection(hospitals)), 200
def get_hospitals_current(): """ Return all Hospitals Developments """ hospitals = db.session.query(HospitalDevelopment).all() return jsonify(__as_feature_collection(hospitals)), 200