View source: R/new-data-to-be-scored.R
This function is meant to replicate a function that will retrieve new data that needs to be scored. This is a batch execution, rather than an on-demand API that might be stood up by the plumber package. In practice, the return is a fixed sample of 10 reviews.
1 |
Data frame with two char columns: review and sentiment ("good"/"bad")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.