Beispiel #1
0
def get_hospitals_by_bundeslander():
    """
        Return all Hospitals
    """

    hospitalsAggregated = db.session.query(HospitalsPerBundesland).all()
    return jsonify(__as_feature_collection(hospitalsAggregated)), 200
Beispiel #2
0
def get_cases_by_landkreise_3daysbefore():
    """
        Return all Hospitals
    """

    hospitalsAggregated = db.session.query(CasesPerLandkreis3DaysBefore).all()
    return jsonify(__as_feature_collection(hospitalsAggregated)), 200
Beispiel #3
0
def get_hospitals_by_regierungsbezirke():
    """
        Return all Hospitals
    """

    hospitalsAggregated = db.session.query(HospitalsPerRegierungsbezirk).all()
    return jsonify(__as_feature_collection(hospitalsAggregated)), 200
Beispiel #4
0
def get_cases_by_regierungsbezirke_3daysbefore():
    """
        Return all Hospitals
    """
    hospitalsAggregated = db.session.query(
        CasesPerRegierungsbezirk3DaysBefore).all()
    return jsonify(__as_feature_collection(hospitalsAggregated)), 200
Beispiel #5
0
def get_hospitals_by_landkreise():
    """
        Return all Hospitals
    """
    hospitalsAggregated = db.session.query(HospitalsPerLandkreis).all()
    return jsonify(__as_feature_collection(hospitalsAggregated)), 200
Beispiel #6
0
def get_hospitals():
    """
        Return all Hospitals
    """
    hospitals = db.session.query(Hospital).all()
    return jsonify(__as_feature_collection(hospitals)), 200
Beispiel #7
0
def get_cases_by_landkreise_yesterday():
    """
        Return all Hospitals
    """
    hospitalsAggregated = db.session.query(CasesPerLandkreisYesterday).all()
    return jsonify(__as_feature_collection(hospitalsAggregated)), 200
Beispiel #8
0
def get_cases_by_rebundeslaender_yesterday():
    """
        Return all Hospitals
    """
    hospitalsAggregated = db.session.query(CasesPerBundeslandYesterday).all()
    return jsonify(__as_feature_collection(hospitalsAggregated)), 200
Beispiel #9
0
def get_hospitals_development_bundeslaender():
    """
        Return all Hospitals Developments
    """
    hospitals = db.session.query(HospitalsDevelopmentPerBundesland).all()
    return jsonify(__as_feature_collection(hospitals)), 200
Beispiel #10
0
def get_hospitals_development_regierungsbezirke():
    """
        Return all Hospitals Developments
    """
    hospitals = db.session.query(HospitalsDevelopmentPerRegierungsbezirk).all()
    return jsonify(__as_feature_collection(hospitals)), 200
Beispiel #11
0
def get_hospitals_development_landkreise():
    """
        Return all Hospitals Developments
    """
    hospitals = db.session.query(HospitalsDevelopmentPerLandkreis).all()
    return jsonify(__as_feature_collection(hospitals)), 200
Beispiel #12
0
def get_hospitals_current():
    """
        Return all Hospitals Developments
    """
    hospitals = db.session.query(HospitalDevelopment).all()
    return jsonify(__as_feature_collection(hospitals)), 200