Description Usage Arguments Value Examples
View source: R/Sentimental analysis.R
If the number of negative words from reviews is greater than 40 percent of total sentimental words then that product is considered as 'got BAD reviews'and vice versa
1 | GetSentiment(url, page_range)
|
url |
A string indicates URL of product |
page_range |
Numeric number indicates a certain page's numer |
Number of negative words, positive word and general sentiment
1 | GetSentiment('https://www.amazon.co.uk/find-PHRL3236-Mens-Jumpers-Off-White/dp/B004I8VJ1Y?pf_rd_p=190f0313-4dcb-4239-b2ce-39f9d6bd3b5c&pd_rd_wg=NzF31&pf_rd_r=WJ0HCRPD99CTHV8XN0K0&ref_=pd_gw_unk&pd_rd_w=yoPcr&pd_rd_r=2a39592b-aee9-47b5-a65e-862257e0f4df&th=1',1:2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.