api_pred | R Documentation |
A function to call the 'pxtextmining' API
api_pred(json)
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']' |
a dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.