Exemple #1
0
def getSingleRadar():

    survey = request.args.get('survey')
    company = request.args.get('company')
    userid = request.args.get('userid')

    r = requests.get(
        "http://127.0.0.1:5000/chartsOne?survey={}&company={}&userid={}".
        format(survey, company, userid))
    jsonres = r.json()
    df = pd.DataFrame(jsonres)

    data = cl.radar(df)
    return data
Exemple #2
0
def getAllRadar():
    dataframe = request.args.get('dataframe')
    df = pd.read_excel(dataframe)
    data = cl.radar(df)
    return data