View source: R/perspectivefunctions.R
get_perspective | R Documentation |
Queries the Google Perespective API and returns a tibble of various probability measures
get_perspective(text, api_key)
text |
A character string of text. Maximum size 1MB. |
api_key |
A Perspective API key. Required. |
df <- get_perspective("Hello, How are you?", api_key = YourAPIkeyhere)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.