monkeylearn 0.2.0
-
New functions
monkey_classify()andmonkey_extract()that:
* Accept as input both a vector and a dataframe and named column
* Always return a tibble explicitly relating each input to its classification, allowing for the removal of the MD5 hash
* Have anunnestflag to unnest the output (turn 1 row per input into 1 row per output)
* Have a.keep_allflag to retain other columns if input is a dataframe
* CoerceNULLvalues and empty vectors returned from MonkeyLearn toNAs
* Include inputs that could not be processed asNAs in the output
* Message the first 20 indices of inputs that are not sent to the API (these now includeNAandNULLvalues as well as empty strings)
* Message the currently processing batch -
Bug fixes and improvements to
monkeylearn_classify()andmonkeylearn_extract()*monkeylearn_classify()can now acceptparams -
Fix to messaging when unable to connect to MonkeyLearn API
-
Default texts per request is set to 200 now (the recommended number), rather than 20
-
Addition of message suggesting that users switch to newer functions
-
Implementation of
ratelimitr. Creation and documentation of two environment variables allowing smarter rate handling when querying the MonkeyLearn API. -
Creation of
pkgdownwebsite -
Programmatic test coverage to re-use common tests for multiple circumstances.
-
Use of a
cowsaymonkey when verbose=TRUE