api_pred: api_pred

api_predR Documentation

api_pred

Description

A function to call the 'pxtextmining' API

Usage

api_pred(json)

Arguments

json

JSON list of dictionaries with the following compulsory keys: 'comment_id' (string), 'comment_text' (string) and 'question_type' (any of ("what_good", "could_improve", "nonspecific"). For example, '['comment_id': '1', 'comment_text': 'Thank you', 'question_type': 'what_good', 'comment_id': '2', 'comment_text': 'Food was cold', 'question_type': 'could_improve']'

Value

a dataframe


CDU-data-science-team/experiencesdashboard documentation built on Nov. 30, 2023, 5:57 a.m.