示例#1
0
def show_tables():
    tableDisplay = table()
    figureDisplay1 = plot1()
    figureDisplay2 = plot2()
    figureDisplay3 = plot3()
    top20fig = top20()
    bedsLowestCount = bedslowest()
    dateWise = datewise()
    ageWiseDate = ageWise()
    maleFemaleRatio = malefemaleratio()
    icmrdata = icmr()
    totals = total()
    positives = positive()
    icmrlabData = icmrlabs()
    return render_template('index.html',
                           returnList=tableDisplay,
                           figure1=figureDisplay1,
                           figure2=figureDisplay2,
                           figure3=figureDisplay3,
                           top20list=top20fig,
                           bedsLowest=bedsLowestCount,
                           dateWiseData=dateWise,
                           ageWiseData=ageWiseDate,
                           maleFemale=maleFemaleRatio,
                           total_data=totals,
                           icmr_data=icmrdata,
                           pos=positives,
                           icmr_lab=icmrlabData)
示例#2
0
def show_tables():
    tableDisplay = table()
    figureDisplay1 = plot1()
    figureDisplay2 = plot2()
    figureDisplay3 = plot3()
    top10fig = top10()
    top20world = top20()
    #bedsLowestCount = bedslowest()
    dateWise = ts_graph()
    ageWiseDate = ageWise()
    maleFemaleRatio = malefemaleratio()
    #icmrdata=icmr()
    totals = total()
    #positives=positive()
    return render_template('index.html',
                           returnList=tableDisplay,
                           figure1=figureDisplay1,
                           figure2=figureDisplay2,
                           figure3=figureDisplay3,
                           top10list=top10fig,
                           top20list=top20world,
                           dateWiseData=dateWise,
                           ageWiseData=ageWiseDate,
                           maleFemale=maleFemaleRatio,
                           total_data=totals)
示例#3
0
def show_tables():
    
    totalWorld1 = totalWorld()
    top20Worldfig = top20World()
    tableDisplay = table()
    top20fig = top20()
    dateWise = datewise()
    ageWiseDate = ageWise()
    totals=total()
    return render_template("index.html", total_WorldData=totalWorld1, top20Worldlist = top20Worldfig, returnList = tableDisplay, top20list=top20fig, dateWiseData=dateWise,
                    ageWiseData=ageWiseDate, total_data=totals)